← Back to team overview

nssbackup-team team mailing list archive

[Bug 632605] Re: Incremental backups fail but not full backups

 

The fix is to handle the error (gio.Error) on closing the stream.
An exception on closing a stream for reading should not lead to a failing application. Even more if the error say that the connection is closed. So my suggestion is to catch the error and log but do not fail.
Here is some code that works for me:

import sys

...

try:
    fd.close()
except:
    LogFactory.getLogger().warn("error on closing the snarfile header after reading: " + sys.exc_info()[1])

With this fix I can now create incremental backups.

-- 
Incremental backups fail but not full backups
https://bugs.launchpad.net/bugs/632605
You received this bug notification because you are a member of Simple
Backup Maintainers, which is subscribed to nssbackup.



References