Delete old Backups

Bug #325005 reported by libertarian
36
This bug affects 3 people
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

Michael Terry (mterry)
Changed in deja-dup:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Michael Terry (mterry) wrote :

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*.

Changed in deja-dup:
assignee: nobody → Michael Terry (mterry)
milestone: none → 11
status: Confirmed → Fix Committed
Michael Terry (mterry)
Changed in deja-dup:
status: Fix Committed → Fix Released
Changed in deja-dup (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package deja-dup - 11.1-0ubuntu1

---------------
deja-dup (11.1-0ubuntu1) lucid; urgency=low

  * New upstream release
    - Fixes some restore issues (LP: #483631 and LP: #481582)
    - Can delete old backups (LP: #325005)
    - Can cleanly handle changed hostnames (LP: #454591)
  * Drop 01_lpi.patch: It doesn't make sense to include launchpad
    integration for a non-main app (no translation page). Plus, deja-dup
    already has such links for its own upstream LP page.
  * debian/control: Update dependencies
 -- Michael Terry <email address hidden> Sun, 22 Nov 2009 09:39:39 -0600

Changed in deja-dup (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
JohnL (jwillar) wrote :

I do not beleive this is fixed or that it has noe become un-fixed. I'm still carring 3 months of Backups when I only specified 1 month.

Revision history for this message
Fabio Marzocca (thesaltydog) wrote :

Me too (as JohnL). I need to free up useless disk space. Why DejaDup doesn't delete old backups when it makes a new one?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.