[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Duplicity-talk] Duplicity errors upon attempted restoration from ba
From: |
edgar . soldin |
Subject: |
Re: [Duplicity-talk] Duplicity errors upon attempted restoration from backup |
Date: |
Thu, 03 Jan 2013 19:54:49 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
On 03.01.2013 19:38, address@hidden wrote:
> Hi all,
>
> I have been using duplicity to back up my Ubuntu 11.10 desktop PC to a
> Seagate external backup since August 2012. When I upgraded my system to
> Ubuntu 12.04, I lost my data files, and attempted to restore from backup
> using duplicity. Here's what I have tried so far;
>
> 1) Restore directly from external backup drive.
> --Did not work. Error messages to the effect of 'no privileges.'
>
> I transferred all backup files to the 1 TB hard drive, about 172 GB total.
> These are now in a directory called ~/duplicity2012.
>
> 2) Restore from System drive to alternate 500 GB hard drive.
>
> I tried restoring to the hard drive without any restrictions, and restoring
> to a directory.
> Received these error messages:
>
> 1/3/2013 – Duplicity failed to restore from backup – Errors
>
>
> Traceback (most recent call last):
>
> File "/usr/bin/duplicity", line 1403, in <module>
>
> with_tempdir(main)
>
> File "/usr/bin/duplicity", line 1396, in with_tempdir
>
> fn()
>
> File "/usr/bin/duplicity", line 1330, in main
>
> restore(col_stats)
>
> File "/usr/bin/duplicity", line 623, in restore
>
> restore_get_patched_rop_iter(col_stats)):
>
> File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 524, 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 577, in
> fast_process
>
> ropath.copy( self.base_path.new_index( index ) )
>
> File "/usr/lib/python2.7/dist-packages/duplicity/path.py", line 425, in copy
>
> other.writefileobj(self.open("rb"))
>
> File "/usr/lib/python2.7/dist-packages/duplicity/path.py", line 601, 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 659, in get_fileobj_iter
>
> backup_set.volume_name_dict[vol_num],
>
> KeyError: 1448
>
>
> Backup failure to a subdirectory on different disk;
>
> Traceback (most recent call last):
>
> File "/usr/bin/duplicity", line 1403, in <module>
>
> with_tempdir(main)
>
> File "/usr/bin/duplicity", line 1396, in with_tempdir
>
> fn()
>
> File "/usr/bin/duplicity", line 1330, in main
>
> restore(col_stats)
>
> File "/usr/bin/duplicity", line 623, in restore
>
> restore_get_patched_rop_iter(col_stats)):
>
> File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 524, 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 577, in
> fast_process
>
> ropath.copy( self.base_path.new_index( index ) )
>
> File "/usr/lib/python2.7/dist-packages/duplicity/path.py", line 425, in copy
>
> other.writefileobj(self.open("rb"))
>
> File "/usr/lib/python2.7/dist-packages/duplicity/path.py", line 601, 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 659, in get_fileobj_iter
>
> backup_set.volume_name_dict[vol_num],
>
> KeyError: 1448
>
> ==================
>
> Questions:
> 1) Will I have better luck attempting restoration thru CLI?
>
> 2) Do I need to reformat the 500 GB destination drive, prior to restoration
> attempt?
>
> Any other help or comments appreciated!
>
1&2 .. no
is it possible that there are volumes missing .. check for volumes with the
number mentioned in key error.
also.. next time please send the output of a run in debug verbosity '-v9' and
post the private strings obfuscated output to pastebin or attach it zipped to
the post.
..ede/duply.net