[Bug 407280] [NEW] too many incremental backups are deleted
Johannes
nokir at freenet.de
Fri Jul 31 09:13:48 UTC 2009
Public bug reported:
Binary package hint: sbackup
I do my backups daily, with an full backup every month. I'm using
logarithmic purging and want sbackup to keep all my backups from last
week. But when a full backup is done today, all previous backups are
deleted, even those from yesterday. This may be fixed by changing the
lines 191 and 193 of /usr/sbin/upgrade_backups.py:
current:
191 if seenfull < 1 and e.endswith( ".ful" ):
192 seenfull += 1
193 elif seenfull >= 1 and e.endswith( ".inc" ):
changed:
191 if seenfull < 2 and e.endswith( ".ful" ):
192 seenfull += 1
193 elif seenfull >= 2 and e.endswith( ".inc" ):
That way only incremental backups that are older than the second last
full backup are deleted.
I'm using sbackup 0.10.5ubuntu2 on Jaunty.
** Affects: sbackup (Ubuntu)
Importance: Undecided
Status: New
--
too many incremental backups are deleted
https://bugs.launchpad.net/bugs/407280
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list