NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
beaumonr
Sep 18, 2024Aspirant
Enabling SSH access on Readynas Ultra 2
Hi, I've got two old Readynas ultra 2's which I am replacing with 2 new Synology DS224's mainly due to age and the declining support. In order to migrate the data I want to run some Rsynch routin...
- Sep 18, 2024
Note I instructed you to log in as root with the NAS admin password.
beaumonr
Sep 18, 2024Aspirant
Hi,
I've checked the Rsynch config on the Synology, edited the Rsynch account and then checked the share destination settings so that the Rsynch account has full read write access to it. I can't see any other settings or permissions here.
When I create the back up job on the Readynas, using the Synology share above as the destination and specifying the server by IP address and the Rsynch account and password, I can't get the "test connection" to work says it always fails.
not getting any other useful information. both on the same network, can see each other. I'm at a loss for next step
thanks
Rob
StephenB
Sep 18, 2024Guru - Experienced User
beaumonr wrote:
When I create the back up job on the Readynas, using the Synology share above as the destination and specifying the server by IP address and the Rsynch account and password, I can't get the "test connection" to work says it always fails.
Have you tried running the job anyway? It's been a while since I used 4.2.x firmware, but my recollection is that sometimes test connection failed but the backup job still worked.
FWIW, another option is to use SMB.
- SandsharkSep 19, 2024Sensei
I'm not familiar with Synology, but I wonder if it's not a case of properly specifying the share name. For example, on a ReadyNAS, you specify the backup share as just Backup in the GUI, not data/Backup, but from SSH, you have to specify data/Backup. Maybe the same, maybe different, on a Synology.
- StephenBSep 19, 2024Guru - Experienced User
Sandshark wrote:
I'm not familiar with Synology, but I wonder if it's not a case of properly specifying the share name.
I mentioned this possiblity (using the correct destination path) above, and it is certainly something to look at.
Another thing I recall is that often it is better to use the IP address as the remote destination and not the host name.
But I have seen "test connection" fail when it shouldn't have. It is easy to try, and shouldn't do any harm.
- beaumonrSep 19, 2024Aspirant
hi, yes thanks I'm aware of that, but tried all manner of permutations just in case. I have managed to run a small test job from one machine as per my answer above but sods law I'm getting a failure which I can't seem to overcome on the machine I need to back up.
---------------------------------------------------
--------------------------------------------------------------------------------
INCREMENTAL Backup started. Thu Sep 19 18:44:56 CEST 2024Job: 002
Protocol: rsync
Source: [test]/
Destination: 192.168.1.45::test
Error: auth failed on module test
rsync error: error starting client-server protocol (code 5) at main.c(1534) [sender=3.0.9]
Backup failed. Thu Sep 19 18:44:56 CEST 2024.Reason for failure:
Error encountered copying data from source path /test/ ==> 192.168.1.45::test due to unknown reason. Please see log.-----------------------------------------------------------
- beaumonrSep 19, 2024Aspirant
---------------------------------------------------------------
Have you tried running the job anyway? It's been a while since I used 4.2.x firmware, but my recollection is that sometimes test connection failed but the backup job still worked.
FWIW, another option is to use SMB.
----------------------------------------------------------------
Oooooh yes ... wonderful, now why didn't I think of that. brilliant thanks.
So I have two identical Readynas Ultras which I've used for 8 years as main and back up, the project is to migrate everything from them to a pair of DS224s in an identical set up. Main and Backup.
I tried all your brilliant advice on my Readynas backup box and got the above rsync connection to work with a small test job to the new Synology main box.. So tried exactly the same on the main Readynas server but its failing with this error.
I've been through all the permissions on the shares, have both instances of frontview to each box on my screen side by side but on the box I want to back up from I can't seem to get round this error.
if you have any more wisdom it would be greatly appreciated.
cheers
Rob
--------------------------------------------------------
--------------------------------------------------------------------------------
INCREMENTAL Backup started. Thu Sep 19 18:44:56 CEST 2024Job: 002
Protocol: rsync
Source: [test]/
Destination: 192.168.1.45::test
Error: auth failed on module test
rsync error: error starting client-server protocol (code 5) at main.c(1534) [sender=3.0.9]
Backup failed. Thu Sep 19 18:44:56 CEST 2024.Reason for failure:
Error encountered copying data from source path /test/ ==> 192.168.1.45::test due to unknown reason. Please see log.------------------------------------------------------------------------
- StephenBSep 19, 2024Guru - Experienced User
beaumonr wrote:
---------------------------------------------------------------
Have you tried running the job anyway? It's been a while since I used 4.2.x firmware, but my recollection is that sometimes test connection failed but the backup job still worked.
FWIW, another option is to use SMB.
----------------------------------------------------------------
Oooooh yes ... wonderful, now why didn't I think of that. brilliant thanks.
So I have two identical Readynas Ultras which I've used for 8 years as main and back up, the project is to migrate everything from them to a pair of DS224s in an identical set up. Main and Backup.
I tried all your brilliant advice on my Readynas backup box and got the above rsync connection to work with a small test job to the new Synology main box.. So tried exactly the same on the main Readynas server but its failing with this error.
I've been through all the permissions on the shares, have both instances of frontview to each box on my screen side by side but on the box I want to back up from I can't seem to get round this error.
if you have any more wisdom it would be greatly appreciated.
cheers
Rob
--------------------------------------------------------
--------------------------------------------------------------------------------
INCREMENTAL Backup started. Thu Sep 19 18:44:56 CEST 2024Job: 002
Protocol: rsync
Source: [test]/
Destination: 192.168.1.45::test
Error: auth failed on module test
rsync error: error starting client-server protocol (code 5) at main.c(1534) [sender=3.0.9]
Backup failed. Thu Sep 19 18:44:56 CEST 2024.Reason for failure:
Error encountered copying data from source path /test/ ==> 192.168.1.45::test due to unknown reason. Please see log.------------------------------------------------------------------------
Is rsync enabled on the test share?
- beaumonrSep 20, 2024Aspirant
Hi,
I've given up on the rsync, so switched to SMB and after faffing around with settings on the synology I finally got it to work. The old Readynas has now done a full back up of the most important data to the new server. I still can't quite believe how fiddly it is. ah well. Thats the trouble with doing these things on an ad hoc basis, it feels like your inventing the wheel every time. Once you know its easy...
I'm happy that although the journey was painful I resulted in getting SSH access to my old netgears. so I can now have a play around with them. Thanks again Stephen I really don't know how I would have found that out without your help, I recall you have helped me a number of times over the Netgears life for which I am very grateful.
Now the pressures off and we have new live servers I would like to discover what the rsync issue was .... just because I don't want to be beaten. 😉
cheers
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!