On Wed, July 8, 2009 11:55, Jim Klimov wrote:

> My typical runs between Unix hosts look like:
>
> solaris# cd /pool/dumpstore/databases
> solaris# while ! rsync -vaP --stats --exclude='*.bak' --exclude='temp'
> --partial --append  source:/DUMP/snapshots/mysql . ; do sleep 5; echo
> "===== `date`: RETRY"; done; date

If possible, also try to use rsync 3.x if you're going to go down that
route. In previous versiosn it was necessary to traverse the entire file
system to get a file list before starting a transfer.

Starting with 3.0.0 (and when talking to another 3.x), it will send
incremental updates so bits start moving quicker:

>  ENHANCEMENTS:
>
>  - A new incremental-recursion algorithm is now used when rsync is talking
>    to another 3.x version.  This starts the transfer going more quickly
>    (before all the files have been found), and requires much less memory.
>    See the --recursive option in the manpage for some restrictions.

http://www.samba.org/ftp/rsync/src/rsync-3.0.0-NEWS


_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to