I need help using rsync over ssh on Windows. I have installed cwrsync server with openssh on a Windows XP machine. I then installed cwrsync client on a Windows SBS 2003 machine.
I would like to backup C:\backup\ on the SBS2003 server over ssh to C:\remote_backup on the XP machine.
I have setup the system as described in this document :
http://www.smallnetbuilder.com/content/view/30171/77/1/1/I can connect to the remote XP machine using ssh, but when I try to run the following rsync command via command prompt on the Windows SBS 2003 server I get an error.
rsync -avzr -e "C:\Progra~1\cwRsync\bin\s
sh.exe -i /cygdrive/c/Docume~1/Admin
istrator/s
sh/open_ss
h_key -p 1443" administrator@localhost:"/
cygdrive/c
/backup/" "/cygdrive/c/remote_backup
"
rsync: on remote machine: --iconv=.: unknown option
rsync error: syntax or usage error (code 1) at main.c(1318) [server=2.6.9]
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(609) [receive
r=3.0.0pre10]
I know too little about rsync to get this working. Please help.
Start Free Trial