Clarification on Rsync timeout

Martin Schröder martin at oneiros.de
Wed Nov 30 16:45:03 GMT 2005


On 2005-11-30 21:22:07 +0530, Balamurugan wrote:
> While running rsync with the following command, it shows the following output.
> 
> # rsync -vrt --timeout=1 --files-from=- /tmp/rsync_source/ /tmp/rsync_dest/
> building file list ... io timeout after 2 seconds -- exiting
> rsync error: timeout in data send/receive (code 30) at io.c(183)
> 
> Can I know the reason for timeout only after 2 seconds?

--timeout=1 :-)

Try --timeout=30, and remember: --timeout is the maximum time for
"building file list" etc., not the network timeout.

Best
    Martin
-- 
                    http://www.tm.oneiros.de


More information about the rsync mailing list