I try to use the following batch-script:
set CYGWIN=tty binmode nontsec
set TERM=ansi
set PATH=C:\rsync;%PATH%
set HOME=C:\rsync
set RSYNC_RSH=/cygdrive/c/rsync/ssh.exe
set USERNAME=backup
rsync --progress --verbose --stats --delete -a -e 'ssh -i identity'
/cygdrive/c/Test /cygdrive/c/Test2
XXXMyServerIPXXX:/home/backup/tmp >> log.txt
My C:\rsync - Directory
cygcrypto-0.9.8.dll
cygminires.dll
cygpopt-0.dll
cygwin1.dll # 1005.21.0.0
cygz.dll
identity
log.txt
rsync.exe # 2.6.6
ssh.exe
rsyncGo.bat # my Batch-Script
Do you have any ideas, why during the execution of the batch rsync crashes?