I have been having rsync try five times to connect. I have been getting exit codes of 11 indicating a file I/O error. When I try using robocopy I get an error 59 when I copy a set of files to the same target.
The thing is that robocopy succeeds where rsync fails, and when I looked in the robocopy logs I noticed right after it got the error that it did a retry 30 seconds later. I need to use rsync so I am wondering how to set up rsync to do a retry for say a network error 30 seconds later. This only happens say 5 times during a transfer of over 200K of files with varying sizes. When I look at the rsync logs immediately after code 11 it immediately requests the list of files from the source to get and it exits with that same exit code of 11 indicating to me it failed.
Command-line
rsync -rtlzv -e "ssh -i c:/RsyncKeys/wa-ecy-gov-test-rsync-key -o ConnectTimeout=140 -o ConnectionAttempts=18" --quiet --stats --exclude-from='rsyncfilter.txt' --force --delete [email protected]: //sdceco/Apps/RSTUDIO/RpackagesNew --timeout=320 --log-file=c:/rsynclogs/rsync11-05-2020.log
Many thanks for any advice!