Contigo1
asked on
CWRsync from Linux to Windows
Hi,
I am currently using CWrsync in windows to backup up Windows Servers. However we have recently just brought a redhat linux server and we want to continue using Rsync to backup the servers.
I have so far edited the Rysnc.Conf file on the linux machine and I have turned on and restarted the Rysnc service on the linux machine aswell as on the windows machine. I have also added the Linux server to the batch script that runs the the rsync backups on the other windows servers.
When it comes to run the Linux back i get the following error:
C:\Backup Scripts>"C:\Program Files\ICW\Bin\rsync.exe" -P -v -z -r --progress --
stats rsync://192.168.125.10/hda pps "/cygdrive/e/backup2/ivory /hdapps"
rsync: failed to connect to 192.168.125.10: No route to host (118)
rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.7
]
I am currently using CWrsync in windows to backup up Windows Servers. However we have recently just brought a redhat linux server and we want to continue using Rsync to backup the servers.
I have so far edited the Rysnc.Conf file on the linux machine and I have turned on and restarted the Rysnc service on the linux machine aswell as on the windows machine. I have also added the Linux server to the batch script that runs the the rsync backups on the other windows servers.
When it comes to run the Linux back i get the following error:
C:\Backup Scripts>"C:\Program Files\ICW\Bin\rsync.exe" -P -v -z -r --progress --
stats rsync://192.168.125.10/hda
rsync: failed to connect to 192.168.125.10: No route to host (118)
rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.7
]
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
SSH Should be installed already on the Linux machine so do I need to install it on the windows machine?
You are running the rsync program on windows and hence the rsync looks to execute ssh to open up a path to the linux box.
ASKER
Ok I will try this now.
ASKER
Open in new window
It is now:
Open in new window
This has changed the error to:
C:\Backup Scripts>"C:\Program Files\ICW\Bin\rsync.exe" -P -v -z -r --progress --
stats root@192.168.125.10:/hdapp
rsync: Failed to exec ssh: No such file or directory (2)
rsync error: error in IPC code (code 14) at pipe.c(84) [Receiver=3.0.7]
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(610) [Receive
r=3.0.7]