NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
pointer2null
Mar 15, 2015Aspirant
rsync from linux to readynas (duo)
I've had a readynas duo sat in the cupboard for a few years and have decided to put it to use as a secondary backup device. The problem is I cannot seem to get rsync to connect. I've searched googl...
pointer2null
Mar 20, 2015Aspirant
Just got back to working on this - can only cope with the Readynas in small doses due to it's utter cr@pness.
Have given up completely on the rsync, but a NFS mount seems to work well enough. Not too sure about how secure it is, but the readynas is on a private network so will do for now.
Thanks for all your help :)
Have given up completely on the rsync, but a NFS mount seems to work well enough. Not too sure about how secure it is, but the readynas is on a private network so will do for now.
Thanks for all your help :)
Harmen
Sep 18, 2015Initiate
Found your post trying to do the same, here is how it works:
On NAS enable rsync on de share, I use the media share. Enable password en create a user and password for rsync.
On linux host use the rsync command:
rsync -rv /path/to/local/files rsync://username@ip-addres-nas:873/media
This will promt for the password for the user. If you use -rnv in stead og -rv you can check if it works without syncing (dry-run).
To use it in a script use the --password-file option. Create a file with only the password of the rsync user in it. Make this file only readable to de user that starts the script.
> chmod 700 password
In your script use:
/usr/bin/rsync -r /path/to/local/files rsync://username@ip-addres-nas:873/media --password-file=/path/to/password
Related Content
- Aug 23, 2020Retired_Member
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!