Setting up rsync to mirror music library
Just threw together a quick rsync client-server setup for syncing my music library between to computers.
on one computer:
/etc/rsyncd.conf:
max connections = 2
log file = /var/log/rsync.log
timeout = 300
[music]
comment = Music Share
path = /path/to/music
read only = no
list = yes
uid = somebody
gid = somegroup
auth users = somebody
secrets file = /etc/rsyncd.secrets
On the client:
rsync --delete -azvv /path/to/local/music [email protected]::music
Also remember to check firewall settings, and run the rsync daemon as a user “somebody” that has access to write in the rsync’d folder.
And don’t forget to enable the rsync daemon in /etc/default/rsync
RSYNC_ENABLE=true
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1
Your command is hard to follow; your blog converted the code into a mailto address.