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. Thanks, Joost
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.Seems like a pretty simple shell script, to me. -justinb -- Justin Banks Constant Data, Inc. http://www.constantdata.com
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