Here's my script for making sure the sync happens:
until $RSYNC -v -aruogt --delete --exclude Administration
127.0.0.1::cardinal /net/data/Cardinal ; do : ; done > /var/log/sync
Last night it transfered some 50 MB with one failure and reconnect.
I use ssh to port forward; thus the connection to localhost.
--Yan
Martin Pool wrote:
> rsync will not automatically try to recover, although your TCP stack
> will of course retransmit for a certain time. However, because rsync
> always tries to bring the two directories into synchronization, you
> can just retry the transfer either by hand or by a script until it
> completes.
>