[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] 1.11 on windows/cygwin - unable to perform a point
From: |
Ralph Lehmann |
Subject: |
[rdiff-backup-users] 1.11 on windows/cygwin - unable to perform a point in time recovery |
Date: |
Thu, 21 Jun 2007 14:13:37 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.12) Gecko/20070509 Thunderbird/1.5.0.12 Mnenhy/0.7.5.0 |
Hi,
I'm on testing 1.11 on two Vmware-machines with Cygwin 1.5.24-2
and Windows XP SP2.
If I try to recover some files with
$ rdiff-backup --force -r 2007-06-21T10:59:00 \
192.168.242.135::/tmp/test/tiffs/ \
/test/recover/tiffs/
the recovery works as expected and I get back my picture in the version
from 10:59.
Recovery with
rdiff-backup --force -r now 192.168.242.135::/tmp/test/ \
/test/recover/
works fine too an recovers the newest version.
But recovery with
$ rdiff-backup --force -r 2007-06-21T10:58:00 \
192.168.242.135::/tmp/test/tiffs/ \
/test/recover/tiffs/
fails and rdiff-backup prints out:
----------------------------------
Exception 'basis_file must be a (true) file' raised of class '<type
'exceptions.TypeError'>':
File "/usr/lib/python2.5/site-packages/rdiff_backup/robust.py", line
32, in check_common_error
try: return function(*args)
File "/usr/lib/python2.5/site-packages/rdiff_backup/restore.py", line
465, in get_fp
Rdiff.write_patched_fp(current_fp, delta_fp, new_fp)
File "/usr/lib/python2.5/site-packages/rdiff_backup/Rdiff.py", line
73, in write_patched_fp
rpath.copyfileobj(librsync.PatchedFile(basis_fp, delta_fp), out_fp)
File "/usr/lib/python2.5/site-packages/rdiff_backup/librsync.py", line
156, in __init__
raise TypeError("basis_file must be a (true) file")
Exception 'basis_file must be a (true) file' raised of class '<type
'exceptions.TypeError'>':
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line
299, in error_check_Main
try: Main(arglist)
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line
319, in Main
take_action(rps)
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line
285, in take_action
elif action == "restore-as-of": Restore(rps[0], rps[1], 1)
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line
497, in Restore
inc_rpath, dest_rp, time)
File "/usr/lib/python2.5/site-packages/rdiff_backup/restore.py", line
37, in Restore
TargetS.patch(target, diff_iter)
File "/usr/lib/python2.5/site-packages/rdiff_backup/restore.py", line
290, in patch
ITR(diff.index, diff)
File "/usr/lib/python2.5/site-packages/rdiff_backup/rorpiter.py", line
281, in __call__
last_branch.fast_process(*args)
File "/usr/lib/python2.5/site-packages/rdiff_backup/restore.py", line
606, in fast_process
self.patch_to_temp(rp, diff_rorp, tf)
File "/usr/lib/python2.5/site-packages/rdiff_backup/restore.py", line
629, in patch_to_temp
copy_report = rpath.copy(diff_rorp, new)
File "/usr/lib/python2.5/site-packages/rdiff_backup/rpath.py", line
101, in copy
if rpin.isreg(): return copy_reg_file(rpin, rpout, compress)
File "/usr/lib/python2.5/site-packages/rdiff_backup/rpath.py", line
128, in copy_reg_file
return rpout.write_from_fileobj(rpin.open("rb"), compress = compress)
File "/usr/lib/python2.5/site-packages/rdiff_backup/rpath.py", line
1053, in write_from_fileobj
copyfileobj(fp, outfp)
File "/usr/lib/python2.5/site-packages/rdiff_backup/rpath.py", line
58, in copyfileobj
inbuf = inputfp.read(blocksize)
File "/usr/lib/python2.5/site-packages/rdiff_backup/rpath.py", line
1269, in read
def read(self, length = -1): return self.file.read(length)
File "/usr/lib/python2.5/site-packages/rdiff_backup/iterfile.py", line
118, in read
if not self.addtobuffer(): break
File "/usr/lib/python2.5/site-packages/rdiff_backup/iterfile.py", line
133, in addtobuffer
type, data = self.iwf._get()
File "/usr/lib/python2.5/site-packages/rdiff_backup/iterfile.py", line
414, in _get
if not self.buf: self.buf += self.file.read()
File "/usr/lib/python2.5/site-packages/rdiff_backup/connection.py",
line 516, in read
return self.connection.VirtualFile.readfromid(self.id, length)
File "/usr/lib/python2.5/site-packages/rdiff_backup/connection.py",
line 448, in __call__
return apply(self.connection.reval, (self.name,) + args)
File "/usr/lib/python2.5/site-packages/rdiff_backup/connection.py",
line 370, in reval
if isinstance(result, Exception): raise result
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in <module>
rdiff_backup.Main.error_check_Main(sys.argv[1:])
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line
299, in error_check_Main
try: Main(arglist)
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line
319, in Main
take_action(rps)
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line
285, in take_action
elif action == "restore-as-of": Restore(rps[0], rps[1], 1)
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line
497, in Restore
inc_rpath, dest_rp, time)
File "/usr/lib/python2.5/site-packages/rdiff_backup/restore.py", line
37, in Restore
TargetS.patch(target, diff_iter)
File "/usr/lib/python2.5/site-packages/rdiff_backup/restore.py", line
290, in patch
ITR(diff.index, diff)
File "/usr/lib/python2.5/site-packages/rdiff_backup/rorpiter.py", line
281, in __call__
last_branch.fast_process(*args)
File "/usr/lib/python2.5/site-packages/rdiff_backup/restore.py", line
606, in fast_process
self.patch_to_temp(rp, diff_rorp, tf)
File "/usr/lib/python2.5/site-packages/rdiff_backup/restore.py", line
629, in patch_to_temp
copy_report = rpath.copy(diff_rorp, new)
File "/usr/lib/python2.5/site-packages/rdiff_backup/rpath.py", line
101, in copy
if rpin.isreg(): return copy_reg_file(rpin, rpout, compress)
File "/usr/lib/python2.5/site-packages/rdiff_backup/rpath.py", line
128, in copy_reg_file
return rpout.write_from_fileobj(rpin.open("rb"), compress = compress)
File "/usr/lib/python2.5/site-packages/rdiff_backup/rpath.py", line
1053, in write_from_fileobj
copyfileobj(fp, outfp)
File "/usr/lib/python2.5/site-packages/rdiff_backup/rpath.py", line
58, in copyfileobj
inbuf = inputfp.read(blocksize)
File "/usr/lib/python2.5/site-packages/rdiff_backup/rpath.py", line
1269, in read
def read(self, length = -1): return self.file.read(length)
File "/usr/lib/python2.5/site-packages/rdiff_backup/iterfile.py", line
118, in read
if not self.addtobuffer(): break
File "/usr/lib/python2.5/site-packages/rdiff_backup/iterfile.py", line
133, in addtobuffer
type, data = self.iwf._get()
File "/usr/lib/python2.5/site-packages/rdiff_backup/iterfile.py", line
414, in _get
if not self.buf: self.buf += self.file.read()
File "/usr/lib/python2.5/site-packages/rdiff_backup/connection.py",
line 516, in read
return self.connection.VirtualFile.readfromid(self.id, length)
File "/usr/lib/python2.5/site-packages/rdiff_backup/connection.py",
line 448, in __call__
return apply(self.connection.reval, (self.name,) + args)
File "/usr/lib/python2.5/site-packages/rdiff_backup/connection.py",
line 370, in reval
if isinstance(result, Exception): raise result
TypeError: basis_file must be a (true) file
Fatal Error: Lost connection to the remote system
-----------------------------------
What happens here? Thanks in advance for any help!
ciao Ralph
- [rdiff-backup-users] 1.11 on windows/cygwin - unable to perform a point in time recovery,
Ralph Lehmann <=