Hi,

I am also experiencing the same error. I did a full backup (encryped)
and wanted to check a restore today. I chose a different directory just
to see if the restored files would match the last incremental backup
that happened today.

/home/jorg is the home dir that is backed up, Downloads, temp, Trash and
Podcasts are not backed up, and I backed up to /home/jorg/backup-test

The backup destination is FTP, I used a gnome bookmark to backup the
files to (which is basically the folder "Backup" on the FTP server).

The stack trace I get is;

Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1257, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1250, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1204, in main
    restore(col_stats)
  File "/usr/bin/duplicity", line 539, in restore
    restore_get_patched_rop_iter(col_stats)):
  File "/usr/lib/python2.6/dist-packages/duplicity/patchdir.py", line 522, in 
Write_ROPaths
    ITR( ropath.index, ropath )
  File "/usr/lib/python2.6/dist-packages/duplicity/lazy.py", line 335, in 
__call__
    last_branch.fast_process, args)
  File "/usr/lib/python2.6/dist-packages/duplicity/robust.py", line 37, in 
check_common_error
    return function(*args)
  File "/usr/lib/python2.6/dist-packages/duplicity/patchdir.py", line 575, in 
fast_process
    ropath.copy( self.base_path.new_index( index ) )
  File "/usr/lib/python2.6/dist-packages/duplicity/path.py", line 416, in copy
    other.writefileobj(self.open("rb"))
  File "/usr/lib/python2.6/dist-packages/duplicity/path.py", line 591, in 
writefileobj
    buf = fin.read(_copy_blocksize)
  File "/usr/lib/python2.6/dist-packages/duplicity/patchdir.py", line 200, in 
read
    if not self.addtobuffer():
  File "/usr/lib/python2.6/dist-packages/duplicity/patchdir.py", line 225, in 
addtobuffer
    self.tarinfo_list[0] = self.tar_iter.next()
  File "/usr/lib/python2.6/dist-packages/duplicity/patchdir.py", line 332, in 
next
    self.set_tarfile()
  File "/usr/lib/python2.6/dist-packages/duplicity/patchdir.py", line 321, in 
set_tarfile
    self.current_fp = self.fileobj_iter.next()
  File "/usr/bin/duplicity", line 575, in get_fileobj_iter
    backup_set.volume_name_dict[vol_num],
KeyError: 3

-- 
Crash when restoring data KeyError
https://bugs.launchpad.net/bugs/498933
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to