[Top][All Lists]
[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:\' 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 address@hidden via Backup Central.
|Forward SPAM to address@hidden
+----------------------------------------------------------------------
- [rdiff-backup-users] rdiff-backup for windows has a problem with root directory,
ahd71 <=