Using rsync to synchronize

James Moe jimoe at sohnen-moe.com
Wed Apr 4 14:14:25 MDT 2012


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

Hello,
  I have been using rsync to backup our primary data stores. It works
fine. Here are the options I use for doing that:

rsync --recursive --links --times --dirs --stats --delete \
  --itemize-changes --quiet --exclude-from=exclude-filename \
  /data-store1/ /data-store2/

  Recently I have had the need to actually synchronize the files
between two data stores. That is, whichever data store has the newest
timestamp updates the other data store.
  What are some recommended ways for using rsync to synchronize two
data stores?

- -- 
James Moe
moe dot james at sohnen-moe dot com
520.743.3936
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk98q6EACgkQzTcr8Prq0ZNH7wCfSViELxA6i+2VvmTeRrUrTZsF
5iUAnjYxsQOdRoQ1k8YQP/fhhkcWbymV
=Bf6Z
-----END PGP SIGNATURE-----


More information about the rsync mailing list