duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] A duplicity restore question


From: Eliot Moss
Subject: Re: [Duplicity-talk] A duplicity restore question
Date: Fri, 18 Nov 2011 08:58:51 -0500
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0

On 11/18/2011 8:10 AM, SanskritFritz wrote:

On Thu, Nov 17, 2011 at 11:24 PM, Eliot Moss <address@hidden 
<mailto:address@hidden>> wrote:


    I would have thought that having the difftar files pertaining to
    the file(s) I am trying to restore would be enough, but when I try
    to run the restore, duplicity dies deep in the perl code.

Maybe trying the --ignore-errors option is worth a shot?

Sounded reasonable to me; I got the same behavior. I include it below
in case someone can explain it further:

duplicity restore --ignore-errors --file-to-restore church/st-johns-ashfield/liturgy/2011-11-13-P28AR.doc file:///home/Eliot/.duplicity/staging/Eliot ./restored-file
Running in 'ignore errors' mode due to --ignore-errors; please re-consider if 
this was not intended
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Sat Sep  3 15:05:42 2011
Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1347, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1330, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1264, in main
    restore(col_stats)
  File "/usr/bin/duplicity", line 591, in restore
    restore_get_patched_rop_iter(col_stats)):
  File "/usr/lib/python2.6/site-packages/duplicity/patchdir.py", line 522, in 
Write_ROPaths
    for ropath in rop_iter:
  File "/usr/lib/python2.6/site-packages/duplicity/patchdir.py", line 494, in 
integrate_patch_iters
    for patch_seq in collated:
  File "/usr/lib/python2.6/site-packages/duplicity/patchdir.py", line 379, in 
yield_tuples
    setrorps( overflow, elems )
  File "/usr/lib/python2.6/site-packages/duplicity/patchdir.py", line 368, in 
setrorps
    elems[i] = iter_list[i].next()
  File "/usr/lib/python2.6/site-packages/duplicity/patchdir.py", line 99, in 
filter_path_iter
    for path in path_iter:
  File "/usr/lib/python2.6/site-packages/duplicity/patchdir.py", line 112, in 
difftar2path_iter
    tarinfo_list = [tar_iter.next()]
  File "/usr/lib/python2.6/site-packages/duplicity/patchdir.py", line 329, in 
next
    self.set_tarfile()
  File "/usr/lib/python2.6/site-packages/duplicity/patchdir.py", line 323, in 
set_tarfile
    self.current_fp = self.fileobj_iter.next()
  File "/usr/bin/duplicity", line 627, in get_fileobj_iter
    backup_set.volume_name_dict[vol_num],
KeyError: 24

Regards -- Eliot



reply via email to

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