restic check and restic repair packs: treat missing packfiles the same as damaged and truncated packfiles (#21845)

Co-authored-by: Michael Eischer <michael.eischer@fau.de>
This commit is contained in:
Winfried Plappert
2026-06-28 12:09:42 +02:00
committed by GitHub
co-authored by Michael Eischer
parent e4056e70a8
commit 75de8b54e6
11 changed files with 122 additions and 21 deletions
+7
View File
@@ -0,0 +1,7 @@
Enhancement: `restic repair packs` can handle missing packfiles
Missing and damaged packfiles previously required separate approaches to fix a repository.
Now, both cases can be handled by the `repair packs` command, which is now able to handle
missing packfiles by removing them from the repository index.
https://github.com/restic/restic/pull/21845