rsync over ssh - lot of files - problem

2 posts / 0 new
Last post
itefix
Offline
Last seen: 7 hours 47 min ago
Joined: 01.05.2008 - 21:33
rsync over ssh - lot of files - problem

I have some problems to run a backup with rsync via a ssh-tunnel.
The machines i try to backup are windows 2000 workstations and servers - all with an up-to-date patchlevel.

The machine collecting the backups is a debian 3.1. I have no problems running a rsync-backup in a linux-linux-configuration.

I use cwRsync 2.0.2 with openSSH-Server and certificate-based-authentication.

Everything works as expected, except when i try to backup a lot of files. Then the rsync-process stops suddenly - no error-message - nothing happens for a long time - have waited for more than an hour ...

The command to start the process:
rsync --no-whole-file -vvv -e ssh SvcwRsync@1.2.3.4:/ /space/backup/test

The command allowed in the authorized_keys-file:
rsync --server --sender -r . /cygdrive/c/backup_test

The directory contains more than 15000 files.

Anyone, any idea ?

Thanks in advance.

itefix
Offline
Last seen: 7 hours 47 min ago
Joined: 01.05.2008 - 21:33
Re: rsync over ssh - lot of files - problem

Using built-in rsync-ssh on cygwin is error-prone. Many people including me have experienced bad results with that.

That is the reason why rsync-ssh is not a recommended/supported alternative with cwRsync.

I recommend to establish secure channels separately. Secure Channel Wrapper/Wizard in cwrsync distribution can be helpful.

Topic locked