Category Archives: rsync

set up rsync daemon

start_rsyncd.sh /usr/bin/rsync –daemon –config=rsyncd.conf rsyncd.conf (server runs on port 9873) pid file=/home/vic/opt/rsync/pidlog file=/home/vic/opt/rsync/loglock file=/home/vic/rsync/lockport=9873address=192.168.1.100timeout=600 [data]path=/home/vic/tmpuse chroot=falseread only=notransfer logging=yesmax connections=1 rsync client testrsync -v foo rsync://192.168.1.100:9873/data Advertisements

Posted in rsync | Leave a comment

The power of rsync with hardlink

rsync -aHvz -e ssh /var/src /var/src-hardlinksremote_id@192.168.1.1:/home/users/foo/ The above would copy the directory “src” and “src-hardlinks” (which holds all the hardlinks) recursively to 1921.68.1.1’s folder.

Posted in rsync | Leave a comment