-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
find command: don't abort on tree load errors
- Loading branch information
Showing
2 changed files
with
20 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Bugfix: Don't abort the find command when a tree can't be loaded | ||
|
||
Change the find command so that missing trees don't result in a crash. | ||
Instead, the error is logged to the debug log, and the tree ID is displayed | ||
along with the snapshot it belongs to. This makes it possible to recover | ||
repositories that are missing trees by forgetting the snapshots they are used | ||
in. | ||
|
||
https://github.com/restic/restic/issues/2224 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters