mirror of
https://github.com/restic/restic.git
synced 2026-11-13 14:42:03 +00:00
Merge pull request #3772 from MichaelEischer/fix-mixed-index
rebuild-index: correctly rebuild index for mixed packs
This commit is contained in:
4 files changed
+72
-14
No files matched your search
@@ -0,0 +1,13 @@
|
||||
Bugfix: Correctly rebuild index for legacy repositories
|
||||
|
||||
After running `rebuild-index` on a legacy repository containing mixed pack
|
||||
files, that is pack files with store both metadata and file data, `check`
|
||||
printed warnings like `pack 12345678 contained in several indexes: ...`. The
|
||||
warning is not critical. It has been fixed by properly handling mixed pack
|
||||
files while rebuilding the index.
|
||||
|
||||
Running `prune` for such legacy repositories will also fix the warning by
|
||||
reorganizing the pack files which cause the warning.
|
||||
|
||||
https://github.com/restic/restic/pull/3772
|
||||
https://forum.restic.net/t/help-in-recovery-a-corrupted-repository/5044/13
|
||||
Reference in new issue
Block a user