On Fri, Dec 07, 2001 at 03:16:17PM -0600, Chao,Eisen R. wrote: > Hi All: > > I am going thru the documentation and I noticed that there is some talk > about > returning error codes. Some Q:s > > * If rsync encounters a network error, does it do retries ? > Can you control the # of retries ?
No, rsync doesn't do any retries itself. It relies on TCP to provide it with a reliable pipe. > * Do the rsync client & server stop running upon encountering an error ? > Can you tell rsync to stop upon the first error encountered ? They will stop after the first error returned from TCP. > * If the remote rsync encounters an error that is local, say a disk I/O > error, > does this error get eventually sent back to the client ? If so, can you > encapsulate rsync inside of a shell script to react different ways > depending > upon the returned result code from the remote copy of rsync ? I'm not too sure about that, I think people have complained that it isn't very good at passing error codes back. - Dave Dykstra