rsync debian/ubuntu with qnap

Setup rsync demon on debian/ubuntu for syncing qnap

sudo aptitude install rsync

copy /usr/share/doc/rsync/examples/rsyncd.conf /etc/rsyncd.conf
vim /etc/rsyncd.conf

Edit the default example:

[qnap-nas] #define unique rsync id
comment = qnap backup
path = /media/localstorage #define the share where qnap backup will be stored
read only = no
#create a user with access rights to path above
uid = user
gid = group

Restart rsync:

sudo /etc/init.d/rsync start

Test with:

rsync localhost::qnap-nas

Setup rsync deamon on qnap and point to share on debian/ubuntu host.

Leave a Reply

Your email address will not be published. Required fields are marked *