Backing up to PC using RSync

Rsync by default seems to be installed, but not running.  This is how I start the rsync daemon (needs to be done on reboot).

Log in via ssh/putty and paste in the following code:

killall rsync

cat > /etc/rsyncd.conf << 'EOF'
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
log file = /var/log/rsync.log


[Music]
path = /mnt/HD/HD_a2/Music
uid = root
gid = root
read only = no
list = yes
auth users = root
secrets file = /etc/rsyncd.secrets
hosts allow = 192.168.1.0/24

EOF

cat > /etc/rsyncd.secrets << 'EOF'
root:root

EOF

chmod 600 /etc/rsyncd.secrets
/usr/sbin/rsync --daemon -4

Hope this helps others…

(you might need to change the IP address mask, this allows anyone from 192.168.1.x to connect  and the share(s) ).

login: root

password root

If anyone knows how to make this persist a reboot and or a firmware upgrade, I would be keen to hear it!

Hello, I have not tried this, lets see if another user can help you out on this mater with information and tips.