mirror of
https://github.com/octoleo/restic.git
synced 2024-11-14 01:04:05 +00:00
84dcc3c396
We've reworked calens[1] a bit, the changelog/releases file is not needed any more. Insteady, the release date is stored in the dir name which contains the changelog entries. [1] https://github.com/restic/calens
24 lines
1.2 KiB
Plaintext
24 lines
1.2 KiB
Plaintext
Enhancement: Add local metadata cache
|
|
|
|
We've added a local cache for metadata so that restic doesn't need to load
|
|
all metadata (snapshots, indexes, ...) from the repo each time it starts. By
|
|
default the cache is active, but there's a new global option `--no-cache`
|
|
that can be used to disable the cache. By deafult, the cache a standard
|
|
cache folder for the OS, which can be overridden with `--cache-dir`. The
|
|
cache will automatically populate, indexes and snapshots are saved as they
|
|
are loaded. Cache directories for repos that haven't been used recently can
|
|
automatically be removed by restic with the `--cleanup-cache` option.
|
|
|
|
A related change was to by default create pack files in the repo that contain
|
|
either data or metadata, not both mixed together. This allows easy caching of
|
|
only the metadata files. The next run of `restic prune` will untangle mixed
|
|
files automatically.
|
|
|
|
https://github.com/restic/restic/pull/1040
|
|
https://github.com/restic/restic/issues/29
|
|
https://github.com/restic/restic/issues/738
|
|
https://github.com/restic/restic/issues/282
|
|
https://github.com/restic/restic/pull/1287
|
|
https://github.com/restic/restic/pull/1436
|
|
https://github.com/restic/restic/pull/1265
|