Comment 8 for bug 126278

Revision history for this message
MatatTHC (matatthc) wrote :

Hi,

I had the same problem and some time. I think I found the/a bug.

In line 189 of the file upgrade_backups.py:
seenfull = 0
for e in listing:
    if seenfull < 1 and e.endswith( ".ful" ):
 seenfull += 1
    elif seenfull > 1 and e.endswith( ".inc" ):
 topurge.append( e )
This code should (as far as I see it) append all incremental backups to the list topurge which are older than the newest full backup. This does not work. The comparison operator in the elif branch has to be ">=" then it works.

If this works. Somebody should forward this to the sbackup guys. But I have no idea where.

Cheers.