Merge pull request #2231 from cdhowie/issue-2224

find command: don't abort on tree load errors
This commit is contained in:
Alexander Neumann
2019-04-14 19:31:06 +02:00
2 changed files with 20 additions and 3 deletions

View File

@@ -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