[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] Status of native Windows port?
From: |
Alastair D'Silva |
Subject: |
Re: [rdiff-backup-users] Status of native Windows port? |
Date: |
Tue, 29 Jul 2008 16:43:11 +1000 |
On Mon, 2008-07-28 at 19:58 -0400, Andrew Ferguson wrote:
> Thanks for the instructions Josh.
>
> I have posted a Win32 self-contained executable. Direct link:
> http://savannah.nongnu.org/download/rdiff-backup/rdiff-backup-1.2.0-win32.exe
>
> Anyone is welcome to add Josh's script to the wiki. I'll try to put
> together some consolidated information on the website.
I am currently testing this executable, however, I am having trouble
with the connection to the remote machine.
D:\>\\backup\backup\programs\rdiff-backup-1.2.0-win32.exe -v 10
--remote-schema "h:\programs\plink.exe -i h:\programs\backup.ppk -x -a
-T %%s rdiff-backup --server" D:
address@hidden::/backup/nightly/data/ssa33/Microsoft_Windows_XP_Version_5_1_2600/D
Tue Jul 29 16:06:01 2008 Using rdiff-backup version 1.2.0
Tue Jul 29 16:06:01 2008 Exception 'not all arguments converted during
string formatting' raised of class '<type 'exceptions.TypeError'>':
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 68, in get_cmd_pairs
File "rdiff_backup\SetConnections.pyc", line 84, in desc2cmd_pairs
File "rdiff_backup\SetConnections.pyc", line 122, in fill_schema
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 68, in get_cmd_pairs
File "rdiff_backup\SetConnections.pyc", line 84, in desc2cmd_pairs
File "rdiff_backup\SetConnections.pyc", line 122, in fill_schema
TypeError: not all arguments converted during string formatting
If I instead drop the remote schema parameter, and create a wrapper
script called 'ssh.bat' containing:
h:\programs\plink -i h:\programs\backup.ppk -x -a -T %*
I get the following:
D:\>\\backup\backup\programs\rdiff-backup-1.2.0-win32.exe -v 10 D:
address@hidden::/backup/nightly/data/ssa33/Microsoft_Windows_XP_Version_5_1_2600/D
Tue Jul 29 16:07:51 2008 Using rdiff-backup version 1.2.0
Tue Jul 29 16:07:51 2008 Executing ssh -C address@hidden rdiff-backup
--server
Tue Jul 29 16:07:51 2008 Exception '[Error 2] The system cannot find
the file specified' raised of class '<type 'exceptions.WindowsError'>':
File "rdiff_backup\Main.pyc", line 302, in error_check_Main
File "rdiff_backup\Main.pyc", line 319, in Main
File "rdiff_backup\SetConnections.pyc", line 76, in cmdpair2rp
File "rdiff_backup\SetConnections.pyc", line 139, in init_connection
File "subprocess.pyc", line 594, in __init__
File "subprocess.pyc", line 816, in _execute_child
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 319, in Main
File "rdiff_backup\SetConnections.pyc", line 76, in cmdpair2rp
File "rdiff_backup\SetConnections.pyc", line 139, in init_connection
File "subprocess.pyc", line 594, in __init__
File "subprocess.pyc", line 816, in _execute_child
WindowsError: [Error 2] The system cannot find the file specified
So, my question is, what is the recommended way to run the Win32 Native
rdiff-backup against a remote server?
PS. I do have the cygwin version of rdiff-backup working using volume
shadow copies under Windows XP & 2003, if anyone is interested. The
trick is to use the "dosdev" command to allocate a drive letter to the
snapshot, then run rdiff-backup against the new drive.
- Re: [rdiff-backup-users] Status of native Windows port?, (continued)