Offer command to remove old incremental backups from target

Bug #542482 reported by Olivier Berger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Duplicity
Fix Released
Medium
Unassigned
0.6
Fix Released
Medium
Unassigned
Debian
Fix Released
Unknown

Bug Description

Duplicity should offer a command which would allow to simply remove incremental backups on the target backup space, of backup chains whose full backups are older than a certain date.

It would be most useful, when one wants to periodically make full backups (with --full-if-older-than), and keep those old regular full backups, but not all of their subsequent incrementals, and only keep incrementals for a few recent full backups.

Thanks in advance.

(See discussion at http://lists.gnu.org/archive/html/duplicity-talk/2010-03/msg00062.html for more details on my need, maybe.)

Revision history for this message
Olivier Berger (olivierberger) wrote :

See my proposed patches in :
lp:~olivierberger/+junk/dupl-542482

Changed in duplicity:
assignee: nobody → Olivier Berger (olivierberger)
status: New → In Progress
Revision history for this message
Olivier Berger (olivierberger) wrote :

Asked for code review on the duplicity-talk list.

Hopefully someone can review my code and eventually merge to the main bzr branch.

Revision history for this message
Olivier Berger (olivierberger) wrote :
Changed in debian:
status: Unknown → Confirmed
Revision history for this message
Olivier Berger (olivierberger) wrote :

FYI, I have committed a fix to the previous changes on my branch, as I had broken remove-older-than :-(

Should now be better

Changed in duplicity:
milestone: none → 0.6.10
importance: Undecided → Medium
Revision history for this message
Olivier Berger (olivierberger) wrote :

I guess it would be great if anyone could test this over 0.6.9 to be able to include it in 0.6.10.

Changed in duplicity:
status: In Progress → Fix Committed
Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote :

Merged in lp:~olivierberger/+junk/dupl-542482. Please test.

Changed in duplicity:
status: Fix Committed → Fix Released
assignee: Olivier Berger (olivierberger) → nobody
Changed in debian:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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