-
Notifications
You must be signed in to change notification settings - Fork 77
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
Delete not deletable known-broken backups #890
Comments
Hello, The log you pasted seems to indicate that the problem is not old backups, it's a new backup that failed in phase2 because the client has some very long path that is exceeding some limit on the server side. For interrupted backups like that, you should probably be looking at the working_dir_recovery_method option.
If I have something like this from 'burp -a l', where 4 has been interrupted, and you have 'working_dir_recovery_method=delete', it will be deleted the next time the client tries to backup, and a new 4 will be created. You can also try 'burp -a delete -b 4' to do it immediately.
If you really do want to delete old, complete backups, then this page describes what makes a backup deletable: https://burp.grke.org/docs/retention.html
If the backup you want to delete does not meet those conditions, you would need to delete the intervening deletable backups until the one that you want to remove meets the conditions. |
Thanks for your detailed answer. We always use
As I understand your idea I should just sequentially delete all backups, this is almost equivalent to starting backups afresh for this box. Perhaps burp would benefit from option of making some particular backup deletable (for recovery or cleaning purposes). |
Well, I deleted everything (except 1 and 9) and started new backup. It's failed with
Before backup start there was no
It says |
Hello, It seems like that very long path is causing problems. I would try: If the manifest is gzipped, you will need to gunzip it first: When you edit the manifest, each file entry will look something like this, with 4 lines. The entry starts with a line beginning with 't' and ends with a line beginning with 'x':
Directories have 2 lines, like this, starting with an 'r' line, ending with a 'd' line:
|
We got few backups failed, but they are not marked 'deletable'. I guess they could stay in retention process as reliable monthly/weekly backups. It would be a pity to have valid backups discarded, but to keep known failed backups.
How would you suggest to delete them?
Maybe you could add means to forcefully delete backups or to mark backups as broken so they are deleted when backups are rotated.
ps. JFYI failure is like this:
pps. This backup also quite slow, we have few users who report they consistently cannot backup, because burp performing very very slowly on their box.
The text was updated successfully, but these errors were encountered: