Rsync Notes, manual and rsync server setup ------------------------------------------ 2005-10-18 Manual rsync: (from source (foo) machine to destination (foo2) machine) rsync -avze ssh /source/path/ foo2:/destination/path/ Rsync server: 1. as root on the source machine (foo), edit /etc/xinetd.d/rsync disable = no 2. service xinetd restart 3. edit /etc/rsyncd.conf (may need to create) [mydata] path = /source/path/ comment = my data read only = true max connections = 5 gid = nobody 4. goto destination machine (foo2) connect and test with: rsync rsync://foo/mydata/ should see a listing of the source top level dir 5. command to do the mirror: rsync -avz rsync://foo/mydata/ /destination/path/ 6. create the cron job NOTE! Make sure you turn off the cron job if you are going to empty your source data! For the cron job or if you plan on maintaining a full mirror, you will need to add --delete rsync -avz --delete rsync://foo/mydata/ /destination/path/ If IO error, check permissions, for example, lost+found chmod 755