rsync retry after connection failure

Joost van den Broek joost at seat-ibiza.nl
Sun Oct 31 14:23:47 GMT 2004


On Sunday 31 October 2004 12:24, Joost van den Broek wrote:
> I was wondering if there's a way to get rsync reconnect every specified
> secs/mins when a connection can't be established at the time rsync is
> initiated. That would mean that no remote (WAN) backups will ever fail
> again on me, because it just will retry untill the remote side will be
> available.

I just found out that rsync sets the ERRORLEVEL variable to it's error code. 
Very handy! Now I got this feature request scripted, so there's no need to 
include this in the rsync source or whatever. Thanks for the reply's.

Joost


More information about the rsync mailing list