NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
azzkiker
Nov 01, 2013Aspirant
Rsync using SSH
Hello @ all, i want to use my newly bought Readynas RN104 to Backup some of my data from a Synology Diskstation DS2413+. To do this, i use rsync. The Readynas powers itself up, connects via rsync ...
azzkiker
Jan 08, 2014Aspirant
I re-checked the man page of rsync, see: "http://linux.die.net/man/1/rsync"
This page describes the the connection of a rsync daemon needs a connection string like this: ip-adress::path
Instead a remote-shell connection needs a connection string like this: ip-adress:/path
To get the correct connection string the rsync daemon needs, i modified the frontview javascrip source on my Netgear readynas 104.
Now it saves the connection string like i need it in the "backup_jobs.conf" file.
But my rsync connection over ssh is not working because my synology nas, i think, is asking for a password.
A connection of ssh directly via console using the command "ssh username@ip-adress" from radynas to synology nas is working flawless without any password questions.
So my configuration of RSA-keyfiles should be fine.
When sending the "rsync -avuz -e 'ssh -i keyfile' sourec_ip-adress::path //dest/path" i'm getting asked for a password. If i insert the correct password for "username" it will work.
But in automatic configured backup jobs i'm not asked for a password, the frontview has no popup-gui for this and it's also not practcable for backup-jobs. They should run without any user support.
I can add password to "backup_conf.jobs" file and it will work. But then the password is saved in cleartext, which i don't want.
In my opinion the guys from netgear should add some more configuration possibilities to the frontview gui.
Also the port could be made configurable like the people from this task wish to have:
"http://www.readynas.com/forum/viewtopic.php?f=124&t=74216"
Overall i'm not sure if the companies pay much attention on rsync implementation, because my netgear readynas 104 is not easy to configure
and also the synology doesn't offer a lot of information about rsync. It seems to me, both companies prefer the tell the customer to use their
own backup systems which are not usable with different device manufacturers.
The only solution for me is to learn more about linux and kep on trying. Which is also not bad because i improve my knowledge in using linux for future tasks.
This page describes the the connection of a rsync daemon needs a connection string like this: ip-adress::path
Instead a remote-shell connection needs a connection string like this: ip-adress:/path
To get the correct connection string the rsync daemon needs, i modified the frontview javascrip source on my Netgear readynas 104.
Now it saves the connection string like i need it in the "backup_jobs.conf" file.
But my rsync connection over ssh is not working because my synology nas, i think, is asking for a password.
A connection of ssh directly via console using the command "ssh username@ip-adress" from radynas to synology nas is working flawless without any password questions.
So my configuration of RSA-keyfiles should be fine.
When sending the "rsync -avuz -e 'ssh -i keyfile' sourec_ip-adress::path //dest/path" i'm getting asked for a password. If i insert the correct password for "username" it will work.
But in automatic configured backup jobs i'm not asked for a password, the frontview has no popup-gui for this and it's also not practcable for backup-jobs. They should run without any user support.
I can add password to "backup_conf.jobs" file and it will work. But then the password is saved in cleartext, which i don't want.
In my opinion the guys from netgear should add some more configuration possibilities to the frontview gui.
Also the port could be made configurable like the people from this task wish to have:
"http://www.readynas.com/forum/viewtopic.php?f=124&t=74216"
Overall i'm not sure if the companies pay much attention on rsync implementation, because my netgear readynas 104 is not easy to configure
and also the synology doesn't offer a lot of information about rsync. It seems to me, both companies prefer the tell the customer to use their
own backup systems which are not usable with different device manufacturers.
The only solution for me is to learn more about linux and kep on trying. Which is also not bad because i improve my knowledge in using linux for future tasks.
Related Content
NETGEAR Academy

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