duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Duplicity-talk] KeyError: 3 on restore


From: Pascal Winkelmann
Subject: [Duplicity-talk] KeyError: 3 on restore
Date: Tue, 31 May 2016 20:10:47 +0200

Hi,

I am currently trying to restore my backup of a webdav server, but I
get an error always at the same time.

> Traceback (most recent call last):
>   File "/usr/bin/duplicity", line 1509, in <module>
>     with_tempdir(main)
>   File "/usr/bin/duplicity", line 1503, in with_tempdir
>     fn()
>   File "/usr/bin/duplicity", line 1352, in main
>     do_backup(action)
>   File "/usr/bin/duplicity", line 1437, in do_backup
>     restore(col_stats)
>   File "/usr/bin/duplicity", line 700, in restore
>     restore_get_patched_rop_iter(col_stats)):
>   File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line
> 537, in Write_ROPaths ITR( ropath.index, ropath )
>   File "/usr/lib/python2.7/dist-packages/duplicity/lazy.py", line
> 335, in __call__ last_branch.fast_process, args)
>   File "/usr/lib/python2.7/dist-packages/duplicity/robust.py", line
> 37, in check_common_error return function(*args)
>   File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line
> 590, in fast_process ropath.copy( self.base_path.new_index( index ) )
>   File "/usr/lib/python2.7/dist-packages/duplicity/path.py", line
> 426, in copy other.writefileobj(self.open("rb"))
>   File "/usr/lib/python2.7/dist-packages/duplicity/path.py", line
> 602, in writefileobj buf = fin.read(_copy_blocksize)
>   File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line
> 202, in read if not self.addtobuffer():
>   File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line
> 227, in addtobuffer self.tarinfo_list[0] = self.tar_iter.next()
>   File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line
> 334, in next self.set_tarfile()
>   File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line
> 323, in set_tarfile self.current_fp = self.fileobj_iter.next()
>   File "/usr/bin/duplicity", line 736, in get_fileobj_iter
>     backup_set.volume_name_dict[vol_num],
> KeyError: 3

I tried finding a solution online but the closest I got was an issue on
the Deja-Dup lauchpad[1], but that issue was closed for the problem not
being in Deja-Dup but in Duplicity. 
Besides the trace above I get messages like this while duplicity is
pulling the data from the webdav server.

> Backtrace of previous error: Traceback (innermost last):
>   File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line
> 344, in _retry_fatal
    return fn(self, *args)
>   File
> "/usr/lib/python2.7/dist-packages/duplicity/backends/webdavbackend.py",
> line 390, in get
    raise e
>  BadStatusLine: ''

But these do not halt the process.

I attached you a link[2](~1.8MB/40MB unzipped) the output I got when I
ran duplicity with -v9. If you need more information then let me know.

I hope you can help me solve this problem.

Kind regards
Pascal Winkelmann

[1] https://bugs.launchpad.net/ubuntu/+source/deja-dup/+bug/498933
[2] https://drive.google.com/open?id=0B83OZTHMfJu-dEJxZG5GT29tTGM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]