Duplicity crashes when verifying
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Done a backup on my server, it's mostly photos. First I just did a full backup of some folder, then added the rest with incremental. After completion I tried a verify on my pictures folder just to check that it worked. After a long time I get this error:
# duplicity verify --file-to-restore pub/pictures dpbx:/// /pub/pictures
Duplicity 0.6 series is being deprecated:
See http://
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Tue Apr 14 21:34:46 2015
GnuPG passphrase:
Traceback (most recent call last):
File "/usr/local/
with_
File "/usr/local/
fn()
File "/usr/local/
do_
File "/usr/local/
verify(
File "/usr/local/
for backup_ropath, current_path in collated:
File "/usr/local/
relem1 = riter1.next()
File "/usr/local/
for patch_seq in collated:
File "/usr/local/
setrorps( overflow, elems )
File "/usr/local/
elems[i] = iter_list[i].next()
File "/usr/local/
for path in path_iter:
File "/usr/local/
multivol_
File "/usr/local/
if not self.addtobuffer():
File "/usr/local/
self.
File "/usr/local/
self.
File "/usr/local/
self.current_fp = self.fileobj_
File "/usr/local/
backup_
KeyError: 636
Duplicity 0.6.25
Python 2.7.3
Ubuntu Server 12.04.5 x86_64
Filesystem: ext4 on mdraid
Duplicity just crashed for me on the seemingly equivalent line in version 2.7.10. This is with Python 2.7.10 in Ubuntu Desktop 15.10. In my case this happened after making an initial full backup without any subsequent incremental backups.
Mattias, did this problem continue for you?
Here are the two invocations I ran and their associated output:
# duplicity --full- if-older- than 2W --exclude- other-filesyste ms --exclude= "$home_ source" $root_source $root_target nSizeChange 5788143896 (5.39 GB) ------- ------- ------- ------- ------- -------
<snip some lines>
--------------[ Backup Statistics ]--------------
StartTime 1451684678.34 (Fri Jan 1 16:44:38 2016)
EndTime 1451707485.17 (Fri Jan 1 23:04:45 2016)
ElapsedTime 22806.83 (6 hours 20 minutes 6.83 seconds)
SourceFiles 450744
SourceFileSize 11054488128 (10.3 GB)
NewFiles 450744
NewFileSize 11051545499 (10.3 GB)
DeletedFiles 0
ChangedFiles 0
ChangedFileSize 0 (0 bytes)
ChangedDeltaSize 0 (0 bytes)
DeltaEntries 450744
RawDeltaSize 10805130919 (10.1 GB)
TotalDestinatio
Errors 0
-------
# duplicity verify $root_target $root_source cache/duplicity /2b0a3987b2b7b2 bac8c5f83e77ca0 f11/duplicity- full-signatures .20160101T21443 8Z.sigtar. gz (not authoritative at backend). duplicity" , line 1519, in <module> tempdir( main) duplicity" , line 1513, in with_tempdir duplicity" , line 1370, in main backup( action) duplicity" , line 1449, in do_backup col_stats) duplicity" , line 852, in verify python2. 7/dist- packages/ duplicity/ diffdir. py", line 276, in collate2iters python2. 7/dist- packages/ duplicity/ patchdir. py", line 516, in integrate_ patch_iters python2. 7/dist- packages/ duplicity/ patchdir. py", line 388, in yield_tuples overflow, elems) python2. 7/dist- packages/ duplicity/ patchdir. py", line 377, in setrorps python2. 7/dist- packages/ duplicity/ patchdir. py", line 127, in difftar2path_iter fileobj. close() # aborting in middle of multivol python2. 7/dist- packages/ duplicity/ patchdir. py", line 248, in close python2. 7/dist- packages/ duplicity/ patchdir. py", line 236, in addtobuffer tarinfo_ list[0] = self.tar_ iter.next( ) python2. 7/dist- packages/ duplicity/ patchdir. py", line 343, in next set_tarfile( ) python2. 7/dist- packages/ duplicity/ patchdir. py", line 332, in set_tarfile iter.next( ) duplicity" , line 751, in get_fileobj_iter set.volume_ name_dict[ vol_num] ,
Synchronizing remote metadata to local cache...
Deleting local /root/.
Last full backup date: Fri Jan 1 16:44:38 2016
Traceback (most recent call last):
File "/usr/bin/
with_
File "/usr/bin/
fn()
File "/usr/bin/
do_
File "/usr/bin/
verify(
File "/usr/bin/
for backup_ropath, current_path in collated:
File "/usr/lib/
relem1 = riter1.next()
File "/usr/lib/
for patch_seq in collated:
File "/usr/lib/
setrorps(
File "/usr/lib/
elems[i] = iter_list[i].next()
File "/usr/lib/
multivol_
File "/usr/lib/
if not self.addtobuffer():
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.current_fp = self.fileobj_
File "/usr/bin/
backup_
KeyError: 4