Merge pull request #3488 from MichaelEischer/rebuild-broken-index

Fix `rebuild-index` for damaged index
This commit is contained in:
Alexander Neumann
2021-09-07 17:00:23 +02:00
committed by GitHub
3 changed files with 81 additions and 3 deletions

View File

@@ -0,0 +1,7 @@
Bugfix: rebuild-index failed if an index file was damaged
The `rebuild-index` command failed with an error if an index file was damaged
or truncated. This has been fixed. A (slow) workaround is to use
`rebuild-index --read-all-packs` or to manually delete the damaged index.
https://github.com/restic/restic/pull/3488