Tracking when connection drops during synchronisation

Reuben Pearse Reuben.Pearse at presence-systems.com
Wed Mar 3 11:40:59 GMT 2004


Hi all,

I am running a nightly rsync to pick up changes to mail files on a
remote server using a scheduled BASH script. The transfer works over an
ADSL line. Occasionally the connection drops during the night. A few
questions:

1. How can I get rsync to report connection reset errors?
2. Once a connection has dropped does rsync re-try the sync? Is there a
timeout on this?
3. What's the best way handle rsync errors in BASH?

My current rsync command is:
rsync -av hostname::MailBoxes /mailboxreplica

Thanks in advance

Reuben
reuben.pearse at presence-systems.com


More information about the rsync mailing list