Rsync over ssh from Linux to Windows 2000 hangs

5 posts / 0 new
Last post
itefix
Offline
Last seen: 5 hours 20 min ago
Joined: 01.05.2008 - 21:33
Rsync over ssh from Linux to Windows 2000 hangs

I have the following setup.  I have a master backup server that runs linux.  I use rsync over ssh to connect to my other linux servers and pull back all the files I want backed up.  This works great.  I would like to do the same thing with this one windows server that I have.  I have installed all of the most recent versions of cwrsyncsrv on this windows 2000 server and every time the process hangs.  I have two drives that I am trying to backup.  On drive c, it gets through and receives a list of files, but hangs after approxiamately 28,000 files.  On the d drive, it makes it through receiving the file list (53,490), but hangs after copying over 872 sub-folders.  The only exception I had to this was when I tried installing v2.01, which got further on drive c.  In that case, it received the full list (46,606), but then hung after transferring 789 sub-folders.

The linux server I am pulling the files over to has plenty of disk space and uses the following versions:

ssh -V
OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090701f
rsync --version
rsync  version 2.5.7  protocol version 26

I am using the ssh keys to connect without a password and using the following command (I have the OpenSSH sshd service started on the Windows Server):

/usr/bin/rsync -avv --recursive --delete-after --update --progress --exclude="Temporary Internet Files/" --exclude="System Volume Information/" --rsh=ssh svcwrsync@servername:/cygdrive/c /backup/servername/

I'm not sure what I'm missing, if it's a bug or a configuration error???

Any help would be appreciated,

Kevin

itefix
Offline
Last seen: 5 hours 20 min ago
Joined: 01.05.2008 - 21:33
Re: Rsync over ssh from Linux to Windows 2000 hangs

/usr/bin/rsync -avv --recursive --delete-after --update --progress --exclude="Temporary Internet Files/" --exclude="System Volume Information/" --rsh=ssh svcwrsync@servername:/cygdrive/c /backup/servername/
Built-in rsync ssh on cygwin is known to be error-prone, due to a bug related to sockets. Setting up external ssh-tunnels is recommended, as mentioned in FAQ How can I secure connections between rsync clients and cwRsync servers ? . You may also use rsync daemon directly, if your servers are in a secure network.

itefix
Offline
Last seen: 5 hours 20 min ago
Joined: 01.05.2008 - 21:33
Re: Rsync over ssh from Linux to Windows 2000 hangs

Thank you for the reply.  So I'm confused.  In all of the versions of cwRsyncServer that I have installed, I have yet to see any "Secure Channel Wizard".  Is this a seperate install?  I need to tunnel this through SSH since the network is not secure.  I also need the Windows side to be the server - I can't push the files, only pull them from the Windows server.

Thanks for any light you can put on the subject,

Kevin

itefix
Offline
Last seen: 5 hours 20 min ago
Joined: 01.05.2008 - 21:33
Re: Rsync over ssh from Linux to Windows 2000 hangs

Hi, run the cwrsync setup again, and you will notice that theres an additional option to select the secure connection wizard which is not selected by default. =]

itefix
Offline
Last seen: 5 hours 20 min ago
Joined: 01.05.2008 - 21:33
Re: Rsync over ssh from Linux to Windows 2000 hangs

Thank you for the reply.  So I'm confused.  In all of the versions of cwRsyncServer that I have installed, I have yet to see any "Secure Channel Wizard".  Is this a seperate install?  I need to tunnel this through SSH since the network is not secure.  I also need the Windows side to be the server - I can't push the files, only pull them from the Windows server.

Thanks for any light you can put on the subject,

Kevin

Secure Channel Wizard is a part of cwRsync client installation. It helps user to create a batch file to run rsync commands via a secure channel to cwRsync servers. It's a windows-to-cwRsyncServer solution.

For Linux/Unix-to-cwRsyncServer, I have developed a bash script and related FAQ is updated. Please visit the FAQ and check if it solves your problem.

Rgrds Tev

Topic locked

Release news