← Back to team overview

duplicity-team team mailing list archive

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

 

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

    Status: Open => Answered

Kenneth Loafman proposed the following answer:
Move the local cache from ~/.cache/duplicity to ~/.cache/duplicity-save and
restart the incremental.

If that works, remove ~/.cache/duplicity-save completely.  You won't need it
again.

If that does not work, use -v9 in the duplicity command and save the log.
Please post the first 200 lines and the last 200 lines of the run.  Munge
any personal information, but be very careful not to modify the format of
the logging.

...Ken

On Wed, Jan 12, 2011 at 9:30 AM, vergueishon <
question141176@xxxxxxxxxxxxxxxxxxxxx> wrote:

> 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 backup, including all (including the final) 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.gpgafter 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.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~duplicity-team<https://launchpad.net/%7Eduplicity-team>
> Post to     : duplicity-team@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~duplicity-team<https://launchpad.net/%7Eduplicity-team>
> More help   : https://help.launchpad.net/ListHelp
>

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