duplicity-team team mailing list archive
-
duplicity-team team
-
Mailing list archive
-
Message #03056
Re: [Question #270826]: Patching error
Question #270826 on Duplicity changed:
https://answers.launchpad.net/duplicity/+question/270826
Status: Open => Answered
edso proposed the following answer:
On 27.08.2015 11:16, luciano tolomei wrote:
> Question #270826 on Duplicity changed:
> https://answers.launchpad.net/duplicity/+question/270826
>
> luciano tolomei gave more information on the question:
> initially files where on glacier but failed to download so i downloaded
> them manually and i'm trying from local.
>
> my command is:
> duplicity --no-encryption --restore-time "2015-08-25" -v8 --file-to-restore var/lib/mysql file:///home/backup/mount/v870 /home/backup/mount/mysqlrescue
>
> output:
>
> [...]
> duplicity 0.6.24 (May 09, 2014)
> Args: /usr/bin/duplicity --no-encryption --restore-time 2015-08-25 -v8 --file-to-restore var/lib/mysql file:///home/backup/mount/v870/mysql /home/backup/mount/v870/mysqlrescue
> Linux capannori 2.6.32-042stab079.6 #1 SMP Mon Aug 26 19:47:50 MSK 2013 x86_64
> /usr/bin/python 2.7.9 (default, Mar 1 2015, 12:57:24)
> [GCC 4.9.2]
> [...]
> Chain start time: Fri Mar 20 06:25:06 2015
> Chain end time: Tue Aug 25 06:25:06 2015
> Number of contained backup sets: 114
> Total number of contained volumes: 162
> [...]
> Writing ib_logfile0 of type reg
> Writing ib_logfile1 of type reg
> Deleting /tmp/duplicity-aMzKtH-tempdir/mktemp-t4s17t-63
> Processed volume 9 of 161
> Error '3' patching ibdata1
> 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 535, in Write_ROPaths
> for ropath in rop_iter:
> File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 499, in integrate_patch_iters
> for patch_seq in collated:
> File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 379, in yield_tuples
> setrorps( overflow, elems )
> File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 368, in setrorps
> elems[i] = iter_list[i].next()
> File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 99, in filter_path_iter
> for path in path_iter:
> File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 119, in difftar2path_iter
> multivol_fileobj.close() # aborting in middle of multivol
> File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 239, in close
> if not self.addtobuffer():
> File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 222, in addtobuffer
> fp = self.tf.extractfile( self.tarinfo_list[0] )
> File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 339, in extractfile
> return self.tarfile.extractfile( tarinfo )
> File "/usr/lib/python2.7/dist-packages/duplicity/tarfile.py", line 2111, in extractfile
> self._check("r")
> File "/usr/lib/python2.7/dist-packages/duplicity/tarfile.py", line 2394, in _check
> raise IOError("%s is closed" % self.__class__.__name__)
> IOError: TarFile is closed
>
my guess would be that the backup volume is shortened. can you send a file listing w/ sizes of '/home/backup/mount/v87' ?
..ede
--
You received this question notification because you are a member of
duplicity-team, which is an answer contact for Duplicity.