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 authored and GitHub committed 2021-07-30 10:33:02 +02:00
commit 92f293cd0b
2 files changed
+77 -13

No files matched your search

+13
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