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

    Status: Open => Answered

edso proposed the following answer:
On 23.11.2015 21:17, igobyjames wrote:
> New question #275294 on Duplicity:
> https://answers.launchpad.net/duplicity/+question/275294
> 
> I have two servers running CentOS 7 x64. They originally had Duplicity 0.6.24 
> from the CentOS repository and, as part of the debugging effort, have 
> subsequently been upgraded to 0.7.5 from source.  I removed the Duplicity 
> files from the Python directory during this process.
> 
> Each server has a separate keypair - both parts are on the server. They both 
> back up to the same FTP repository. There are several full backups and about 
> 20 incremental backups between them. They run Python 2.7.5, librsync 1.0.0, 
> gpg 2.0.22 and libgcrypt 1.5.3.
> 
> All of the backups complete successfully and I get a normal list when I run 
> collection-status. When I try to restore from any of the checkpoints that I 
> tried, the files are downloaded to the server and I get the following error:
> 
> No orphaned or incomplete backup sets found.
> Releasing lockfile <lockfile.linklockfile.LinkLockFile instance at 0x13b1cb0>
> Removing still remembered temporary file 
> /tmp/duplicity-_VNILP-tempdir/mkstemp-YFJYw3-1
> Removing still remembered temporary file 
> /tmp/duplicity-_VNILP-tempdir/mkstemp-6n0KHQ-2
> Traceback (most recent call last):
>   File "/usr/bin/duplicity", line 1525, in <module>
>     with_tempdir(main)
>   File "/usr/bin/duplicity", line 1519, in with_tempdir
>     fn()
>   File "/usr/bin/duplicity", line 1373, in main
>     do_backup(action)
>   File "/usr/bin/duplicity", line 1450, in do_backup
>     restore(col_stats)
>   File "/usr/bin/duplicity", line 718, in restore
>     restore_get_patched_rop_iter(col_stats)):
>   File "/usr/lib64/python2.7/site-packages/duplicity/patchdir.py", line 560, 
> in Write_ROPaths
>     for ropath in rop_iter:
>   File "/usr/lib64/python2.7/site-packages/duplicity/patchdir.py", line 523, 
> in integrate_patch_iters
>     for patch_seq in collated:
>   File "/usr/lib64/python2.7/site-packages/duplicity/patchdir.py", line 389, 
> in yield_tuples
>     setrorps(overflow, elems)
>   File "/usr/lib64/python2.7/site-packages/duplicity/patchdir.py", line 378, 
> in setrorps
>     elems[i] = iter_list[i].next()
>   File "/usr/lib64/python2.7/site-packages/duplicity/patchdir.py", line 121, 
> in difftar2path_iter
>     tarinfo_list = [tar_iter.next()]
>   File "/usr/lib64/python2.7/site-packages/duplicity/patchdir.py", line 339, 
> in next
>     self.set_tarfile()
>   File "/usr/lib64/python2.7/site-packages/duplicity/patchdir.py", line 333, 
> in set_tarfile
>     self.current_fp = self.fileobj_iter.next()
>   File "/usr/bin/duplicity", line 754, in get_fileobj_iter
>     backup_set.volume_name_dict[vol_num],
> KeyError: 1
> 
> I searched for the error and found some very old bugs that had subsequently 
> been squashed. I would be grateful for any assistance restoring a backup.
> 

looks like duplicity is missing a volume. can you a file listing of your
backend folder?

..ede/duply.net

-- 
You received this question notification because your team duplicity-team
is an answer contact for Duplicity.

_______________________________________________
Mailing list: https://launchpad.net/~duplicity-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~duplicity-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to