should delete old backups, then create new / not enough space on media
Bug #913827 reported by
LAZA
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sbackup |
Opinion
|
Wishlist
|
Unassigned |
Bug Description
I often get this hint:
INFO: Die Bearbeitung des Sicherungsprofils ist fehlgeschlagen. Fehler: Für die geplante Sicherung ist nicht genügend freier Speicher im Zielverzeichnis verfügbar (frei: 156702 MiB 868 KiB, benötigt: 218058 MiB 262 KiB 78)
My time plan:
Full backup: every sunday at 23 o'clock.
Simple delete: all backups older than 20 days.
But there would be enough space if the old backups would first cleaned up/deleted and then the new backup started...
Shure should there than also an information retrieval if:
complete backup all x days
is higher than
delete old backups
Xubuntu 11.04
sbackup 0.11.4
To post a comment you must log in.
Thank you for using sbackup and for taking the time reporting this bug.
The order of backup creation and removal of existing snapshots was choosen by intent:
1. make a new backup
2. in case of success remove old snapshots
Reason for this is, that you don't want to end with *no* backup at all in case of errors. Image following situation: all snapshots were removed (since they are older than the specified threshold). The subsequent backup fails for whatever reason. You'd have lost all of your backups now and this is not acceptable.
I set this issue to Opinion and please feel free to add comments or elaborate on your usecase or possible solutions from user's perspective. There is room for improvements here but simply change the order of backup creation and removal is not the right solution, I think.
Thank you so much for your help.