Wiki‎ > ‎

File server backup with rsync

posted Dec 17, 2010, 8:06 PM by Dong Xu   [ updated Feb 11, 2011, 4:55 PM ]
http://www.mikerubel.org/computers/rsync_snapshots/

Rsync for Backup Purposes

1. To use rsync over ssh do: rsync -e ssh host:/path/to/source /path/to/destination
2. To use rsync with protected folders or files:
    a. Add “backup_user ALL= NOPASSWD:/usr/bin/rsync” to the sudoers file using visudo

b. Add --rsync-path="sudo rsync" to the rsync call

Future Ideas:

* Sean suggested getting two Ethernet cards and doing a direct connection between servers. (Gigabit maybe if distance isn’t too much, other wise fiber-optic. OIT would have to put in the cable.)
Comments