Delete old Backups
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Déjà Dup |
Fix Released
|
Medium
|
Michael Terry | ||
deja-dup (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I would like to automatically delete old backups so there need to be an option to trigger a full backup every _specified time_ to be able to remove backups older than full backup from _specified time_.
Maybe it would be better to present only an option to define how long one would be able to restore from old backups.
For example:
I backup my data every day but want to keep backups only for one month.
Therefore there should be a full backup every month but the GUI would only show, but not distinguish between, the last 30 incremental backups and the one full backup that is created at the beginning of every month. The older full backup and the incremental backups that are needed to make the incremental backup today-30 available wouldn't be shown and deleted as soon there is a new full backup.
Related branches
Changed in deja-dup: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in deja-dup: | |
status: | Fix Committed → Fix Released |
Changed in deja-dup (Ubuntu): | |
status: | New → Fix Committed |
I implemented this by adding a 'Keep Backups' option in the preferences, which defaults to 'Forever' (other options are like 'At least a month'). Based on this preference, Deja Dup may choose to delete backups past the time selected.
Full backups are triggered based on several different factors now, but one factor is half the time of your 'keep' length. This is designed to give you 2 full backups at any given time. So if we screw up one, you have *something*.