We’ve just merged PR #1040 which adds a local metadata cache! I’d really like to get your feedback on it.
In order to use the cache, you just need to build restic from the master branch (install Go (>=1.8), check out the repo, run go run build.go
) and run this version of restic on a repo. The index and snapshot files will be cached automatically, so you should see a much better startup time the second time you run it.
Historically, the files below data/
in the repo may contain data, metadata or both. We’ve since changed the behavior so that new files will either just contain data, or metadata, but not both at the same time. For the cache to be most effective, the repo needs to be cleaned up of those mixed files. The next run of restic prune
will do that for you.
Let us know how it goes!