rdiff-backup-users
[Top][All Lists]
Advanced

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

[rdiff-backup-users] rdiff-backup for windows has a problem with root di


From: ahd71
Subject: [rdiff-backup-users] rdiff-backup for windows has a problem with root directory
Date: Sun, 17 Aug 2008 14:30:19 -0400

Hi,

rdiff-backup-1.2.0-win32.exe has a problem when specifying the root directory 
on a windows host making it hard to backup a number of folders directly in the 
root with one single rdiff-backup command and some include/exclude options.

This syntax works fine as it not directly specifies the root directory:
rdiff-backup-1.2.0-win32.exe --no-hard-links c:\dir1 host:://path

But if I specify the root directory it doesn't work:
rdiff-backup-1.2.0-win32.exe --no-hard-links c:\ host:://path

rdiff-backup terminates with the following errormessage:

Exception 'Unexpected end to file description c&#58;\' raised of class '<class 
'rdif
f_backup.SetConnections.SetConnectionsException'>'&#58;
&nbsp; File "rdiff_backup\Main.pyc", line 302, in error_check_Main
&nbsp; File "rdiff_backup\Main.pyc", line 317, in Main
&nbsp; File "rdiff_backup\SetConnections.pyc", line 59, in get_cmd_pairs
&nbsp; File "rdiff_backup\SetConnections.pyc", line 107, in parse_file_desc
&nbsp; File "rdiff_backup\SetConnections.pyc", line 98, in check_len

Traceback &#40;most recent call last&#41;&#58;
&nbsp; File "rdiff-backup", line 23, in <module>
&nbsp; File "rdiff_backup\Main.pyc", line 302, in error_check_Main
&nbsp; File "rdiff_backup\Main.pyc", line 317, in Main
&nbsp; File "rdiff_backup\SetConnections.pyc", line 59, in get_cmd_pairs
&nbsp; File "rdiff_backup\SetConnections.pyc", line 107, in parse_file_desc
&nbsp; File "rdiff_backup\SetConnections.pyc", line 98, in check_len
rdiff_backup.SetConnections.SetConnectionsException&#58; Unexpected end to file 
description c&#58;\


If i change the syntax slightly it does work to specify the root directory! 
Please note the dot after c:\

rdiff-backup-1.2.0-win32.exe --no-hard-links c:\. host:://path

The workaround with the dot in 'c:\.' would be fine but when using include and 
exclude statements I can't get it to work as it results in the following 
errormessage:

Fatal Error&#58; Fatal Error&#58; The file specification
&nbsp; &nbsp; ''c&#58;\dir1'
cannot match any files in the base directory
&nbsp; &nbsp; 'c&#58;\.'


It would be nice if someone with insight in the code could either provide a 
workaround or a code improvement. 

Thanks / ahd71

+----------------------------------------------------------------------
|This was sent by address@hidden via Backup Central.
|Forward SPAM to address@hidden
+----------------------------------------------------------------------






reply via email to

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