[ale] rsync comparisons

Pat Regan thehead at patshead.com
Fri Apr 2 21:10:32 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/02/10 00:53, Robert Coggins wrote:
> Well, I have the sync running within a respectable amount of time.  The
> first way I was running the rsync was taking over an hour:
> 
> rsync -a --delete --exclude=afolder /path/a /path/b
> where /path/a is an nfs mount on a SAN and /path/b is an nfs mount on a
> server

In this case rsync has to transfer entire files around since they are
both on the local file system, at least as far as rsync is concerned.

> But now with the following I am down to about 5 minutes:
> 
> rsync -a -e ssh --delete --exclude=afolder /path/a server:/real/path/b
> 

In this case an rsync instance is running on each machine.  The rsync
instances compute checksums and decide which individual blocks need to
be transfered.  This means you get to take advantage of the fast disks
on each end point and only use the slow network to transfer the deltas.

Pat
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAku2lYgACgkQ5xI+FcVJCrGuVgCgrZzKlcbtK3H8uyoAbMm7Cljd
MaoAn2BSSkQHyFxt1sh66VA5ALI3Bq8N
=CySd
-----END PGP SIGNATURE-----


More information about the Ale mailing list