nssbackup-team team mailing list archive
-
nssbackup-team team
-
Mailing list archive
-
Message #00059
[Bug 71698] Re: Old backups are not deleted when using ssh-target
I see MatatTHC's change made it into 0.10.5. I have the same problem
with it like Christopher has: The incremental backups from last week
also get purged. The following change makes sbackup to purge
logarithmically as expected:
In upgrade_backups.py, line 189 ff.:
seenfull = 0
for e in listing:
e.endswith( ".ful" ):
seenfull += 1
elif seenfull > 1 and e.endswith( ".inc" ):
topurge.append( e )
The seenfull counter should be incremented on every '.ful'. After seeing
the _second_ full backup in the directory listing, following .inc's are
to purge (two weeks old). Incrementals from last week are held. I
patched the version 0.10.4 that way and all worked as expected.
** Attachment added: "keep hands off of last weeks incrementals (log purg)"
http://launchpadlibrarian.net/15966745/sbackup_0.10.5.diff
--
Old backups are not deleted when using ssh-target
https://bugs.launchpad.net/bugs/71698
You received this bug notification because you are a member of NSsbackup
team, which is subscribed to sbackup in ubuntu.