When will the ‘–timeout=30’ be eliminated? Or, if it cannot be eliminated, then increase it to 600 (10 minutes) or 1200 (20 minutes).
Reading the rsync man page shows:
This option allows you to set a maximum IO timeout in seconds. If no data is transferred for the specified time then rsync will exit. The default is 0, which means no timeout.
So, if you have a large number of files, it is certainly likely that the command will fail. That’s because rsync builds a list of files before it transfers and if that building takes longer than TIMEOUT, no data transfers and rsync gives up.
Seems like an easy fix…