Merge pull request #3427 from MichaelEischer/find-packs-from-index

find: List missing pack files based on the index
This commit is contained in:
Alexander Neumann
2021-07-30 10:33:02 +02:00
committed by GitHub
2 changed files with 77 additions and 13 deletions

View File

@@ -0,0 +1,13 @@
Enhancement: `find --pack` fallback to index if data file is missing
When investigating a repository with missing data files, it might be useful
to determine affected snapshots before running `rebuild-index`.
`restic find --pack pack-id` previously returned no data as it required
accessing the data file. Now, if the necessary data is still available in the
repository index, it gets retrieved from there.
The command now also supports looking up multiple pack files in a single `find`
run.
https://github.com/restic/restic/pull/3427
https://forum.restic.net/t/missing-packs-not-found/2600