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@184.108.40.206:/ /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.
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.