New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Traceback when attempting to delete a corrupted .checkpoint archive #1975
Comments
Yes, looks like an outdated cache together with a corrupted archive can make --force useless, because the cache sync tries to access the archives, among them the corrupted one, before --force does it's magic. |
Any idea how to manually clean this up, besides wiping the repo and starting over? |
This script should do the trick. |
Nice, thanks. I'm using the binary client, so I'll guess I'll need to pip install Borg on the impacted machine for this will work, but this is much appreciated. |
Keep in 1.0, due to "being able to fix a corrupted repo". |
borg delete --force --force to delete severely corrupted archives, fixes #1975
borgbackup#1975 (cherry picked from commit 4d81b18)
After upgrading to 1.0.9, I noticed the daily backup on one of the machines failed. I'm not sure 1.0.9 is the culprit here however, it may have just let me know about the corrupted archive since it looks like it rebuilt the indexes.
When attempting the delete the corrupted archive, I receive the following traceback, even when using --force. Any ideas?
💰 there is a bounty for this
The text was updated successfully, but these errors were encountered: