Monday, January 1st 2007

rsync

Simply the best thing around for keeping file trees up to date.

The following are random notes:

Cut&Paste shortcut for one of my LAN backups:

rsync -Cravztue ssh --progress --no-whole-file --stats --sparse --dry-run /home/rcarmo rcarmo@mini:/Volumes/Pedestal/Backups/monolith/home/carmor

Poor man’s rsync using only cp:

Assuming file contents don’t change, this will only copy new files across:

cp -npRv "/Volumes/Local" "/Volumes/Remote"

Resources:

  • rsnapshot, a filesystem snapshot utility (written in Perl) for making backups of local and remote systems.
  • A HOWTO I mirrored locally for setting up the daemon under Leopard.