Dejadup restore failure Fedora 15

Asked by Fredrik Svanström

Hi!

I'm trying to restore my backup and it fails with:

Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1311, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1304, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1238, in main
    restore(col_stats)
  File "/usr/bin/duplicity", line 569, in restore
    restore_get_patched_rop_iter(col_stats)):
  File "/usr/lib64/python2.7/site-packages/duplicity/patchdir.py", line 521, in Write_ROPaths
    for ropath in rop_iter:
  File "/usr/lib64/python2.7/site-packages/duplicity/patchdir.py", line 493, in integrate_patch_iters
    for patch_seq in collated:
  File "/usr/lib64/python2.7/site-packages/duplicity/patchdir.py", line 378, in yield_tuples
    setrorps( overflow, elems )
  File "/usr/lib64/python2.7/site-packages/duplicity/patchdir.py", line 367, in setrorps
    elems[i] = iter_list[i].next()
  File "/usr/lib64/python2.7/site-packages/duplicity/patchdir.py", line 112, in difftar2path_iter
    tarinfo_list = [tar_iter.next()]
  File "/usr/lib64/python2.7/site-packages/duplicity/patchdir.py", line 328, in next
    self.set_tarfile()
  File "/usr/lib64/python2.7/site-packages/duplicity/patchdir.py", line 322, in set_tarfile
    self.current_fp = self.fileobj_iter.next()
  File "/usr/bin/duplicity", line 605, in get_fileobj_iter
    backup_set.volume_name_dict[vol_num],
KeyError: 1

What gives?

/Fredrik

Question information

Language:
English Edit question
Status:
Answered
For:
Déjà Dup Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Fredrik Svanström (fredria) said :
#1

Wierd, looking at my vol files, i'm missing ALOT of them...

Revision history for this message
Michael Terry (mterry) said :
#2

This is bug 498933. The manifest file (*.manifest or *.manifest.gpg) in the backup location can tell you which files spanned the missing volumes. You can restore any files that don't span the gaps.

There is code in 0.6.16 to try and detect gaps as they happen instead of upon restoration. But no true fix yet, because we can't reproduce it or tell why it's happening.

Revision history for this message
Michael Terry (mterry) said :
#3

(I meant duplicity 0.6.16)

Can you help with this problem?

Provide an answer of your own, or ask Fredrik Svanström for more information if necessary.

To post a message you must log in.