[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] 1.1.11: Cannot create a valid backup with cygwi
From: |
Ralph Lehmann |
Subject: |
Re: [rdiff-backup-users] 1.1.11: Cannot create a valid backup with cygwin |
Date: |
Sat, 07 Jul 2007 11:54:29 +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 |
Andrew Ferguson schrieb:
> Ralph Lehmann wrote:
>> Hello all! :-)
>>
>> If I try to create a backup on Cygwin and verify its correctness, the
>> following happens:
>> While the backup process, all seems to be fine but a check of the
>> destination directory fails:
>>
>> cd /test
>> rm -rf bar
>> rdiff-backup -v9 --force -b foo/ bar/ (see attached backup.log)
>> -----------------------------------------------
>> $ rdiff-backup --check-destination-dir bar/
>> Fatal Error: Bad rdiff-backup-data dir on destination side
>>
>> The rdiff-backup data directory
>> bar/rdiff-backup-data
>> exists, but we cannot find a valid current_mirror marker. You can
>
> Ok, this error should now be fixed in CVS.
Not really:-/
--------------------------------
$ rdiff-backup --check-destination-dir /test/bar/
Exception ''NoneType' object has no attribute 'sub'' raised of class
'<type 'exceptions.AttributeError'>':
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
277, in take_action
elif action == "check-destination-dir": CheckDest(rps[0])
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line
781, in CheckDest
need_check = checkdest_need_check(dest_rp)
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line
798, in checkdest_need_check
curmir_incs = restore.get_inclist(curmirroot)
File "/usr/lib/python2.5/site-packages/rdiff_backup/restore.py", line
43, in get_inclist
basename = FilenameMapping.unquote(basename)
File
"/usr/lib/python2.5/site-packages/rdiff_backup/FilenameMapping.py", line
104, in unquote
return unquoting_regexp.sub(unquote_single, path)
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
277, in take_action
elif action == "check-destination-dir": CheckDest(rps[0])
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line
781, in CheckDest
need_check = checkdest_need_check(dest_rp)
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line
798, in checkdest_need_check
curmir_incs = restore.get_inclist(curmirroot)
File "/usr/lib/python2.5/site-packages/rdiff_backup/restore.py", line
43, in get_inclist
basename = FilenameMapping.unquote(basename)
File
"/usr/lib/python2.5/site-packages/rdiff_backup/FilenameMapping.py", line
104, in unquote
return unquoting_regexp.sub(unquote_single, path)
AttributeError: 'NoneType' object has no attribute 'sub'
------------------------------------------------------------
But recovery itself works now. Thank you! :-)
ciao Ralph