← Back to team overview

duplicity-team team mailing list archive

[Question #141176]: Resuming a failed backup with Assertion errors

 

Question #141176 on Duplicity changed:
https://answers.launchpad.net/duplicity/+question/141176

Description changed to:
My first incremental backup failed roughly 60GB into the upload. This
was due to my router dying on me, thus no internet connection. Here is
the log of that full backup, including the connection failure errors:

 root@myserver:~$ sudo /usr/local/scr/duplicity2s3
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Thu Dec 16 19:37:21 2010
exit^[Upload 's3+http://myserver/duplicity-inc.20101217T013721Z.to.20101217T020338Z.vol504.difftar.gpg' failed (attempt #1, reason: error: [Errno 32] Broken pipe)
Upload 's3+http://myserver/duplicity-inc.20101217T013721Z.to.20101217T020338Z.vol989.difftar.gpg' failed (attempt #1, reason: error: [Errno 32] Broken pipe)
Upload 's3+http://myserver/duplicity-inc.20101217T013721Z.to.20101217T020338Z.vol1351.difftar.gpg' failed (attempt #1, reason: error: [Errno 32] Broken pipe)
Upload 's3+http://myserver/duplicity-inc.20101217T013721Z.to.20101217T020338Z.vol1351.difftar.gpg' failed (attempt #2, reason: error: [Errno 32] Broken pipe)
sudUpload 's3+http://myserver/duplicity-inc.20101217T013721Z.to.20101217T020338Z.vol1651.difftar.gpg' failed (attempt #1, reason: gaierror: [Errno -3] Temporary failure in name resolution)
sUpload 's3+http://myserver/duplicity-inc.20101217T013721Z.to.20101217T020338Z.vol1768.difftar.gpg' failed (attempt #1, reason: gaierror: [Errno -3] Temporary failure in name resolution)
Upload 's3+http://myserver/duplicity-inc.20101217T013721Z.to.20101217T020338Z.vol1768.difftar.gpg' failed (attempt #2, reason: gaierror: [Errno -3] Temporary failure in name resolution)
Upload 's3+http://myserver/duplicity-inc.20101217T013721Z.to.20101217T020338Z.vol1768.difftar.gpg' failed (attempt #3, reason: gaierror: [Errno -3] Temporary failure in name resolution)
Upload 's3+http://myserver/duplicity-inc.20101217T013721Z.to.20101217T020338Z.vol1768.difftar.gpg' failed (attempt #4, reason: gaierror: [Errno -3] Temporary failure in n
ame resolution)
Upload 's3+http://myserver/duplicity-inc.20101217T013721Z.to.20101217T020338Z.vol1768.difftar.gpg' failed (attempt #5, reason: gaierror: [Errno -3] Temporary failure in n
ame resolution)
Giving up trying to upload s3+http://myserver/duplicity-inc.20101217T013721Z.to.20101217T020338Z.vol1768.difftar.gpg after 5 attempts
BackendException: Error uploading s3+http://myserver/duplicity-inc.20101217T013721Z.to.20101217T020338Z.vol1768.difftar.gpg

Now, when I try to resume the upload, I get:

root@myserver:~$ /usr/local/scr/duplicity2s3 
Local and Remote metadata are synchronized, no sync needed.
Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1239, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1232, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1137, in main
    globals.archive_dir).set_values()
  File "/usr/lib/python2.6/dist-packages/duplicity/collections.py", line 681, in set_values
    self.get_backup_chains(partials + backend_filename_list)
  File "/usr/lib/python2.6/dist-packages/duplicity/collections.py", line 804, in get_backup_chains
    map(add_to_sets, filename_list)
  File "/usr/lib/python2.6/dist-packages/duplicity/collections.py", line 794, in add_to_sets
    if set.add_filename(filename):
  File "/usr/lib/python2.6/dist-packages/duplicity/collections.py", line 89, in add_filename
    self.set_manifest(filename)
  File "/usr/lib/python2.6/dist-packages/duplicity/collections.py", line 118, in set_manifest
    remote_filename)
AssertionError: ('duplicity-full.20101217T013721Z.manifest.gpg', 'duplicity-full.20101217T013721Z.manifest.gpg')

Is there any way to fix this and resume the backup?

-- 
You received this question notification because you are a member of
duplicity-team, which is an answer contact for Duplicity.