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:\' raised of class '<class 'rdif f_backup.SetConnections.SetConnectionsException'>': File "rdiff_backup\Main.pyc", line 302, in error_check_Main File "rdiff_backup\Main.pyc", line 317, in Main File "rdiff_backup\SetConnections.pyc", line 59, in get_cmd_pairs File "rdiff_backup\SetConnections.pyc", line 107, in parse_file_desc File "rdiff_backup\SetConnections.pyc", line 98, in check_len Traceback (most recent call last): File "rdiff-backup", line 23, in <module> File "rdiff_backup\Main.pyc", line 302, in error_check_Main File "rdiff_backup\Main.pyc", line 317, in Main File "rdiff_backup\SetConnections.pyc", line 59, in get_cmd_pairs File "rdiff_backup\SetConnections.pyc", line 107, in parse_file_desc File "rdiff_backup\SetConnections.pyc", line 98, in check_len rdiff_backup.SetConnections.SetConnectionsException: Unexpected end to file description c:\ 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: Fatal Error: The file specification ''c:\dir1' cannot match any files in the base directory 'c:\.' 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 [EMAIL PROTECTED] via Backup Central. |Forward SPAM to [EMAIL PROTECTED] +---------------------------------------------------------------------- _______________________________________________ rdiff-backup-users mailing list at [email protected] http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
