× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Re: How to backup from remote to local

McRob1
Luminary

How to backup from remote to local

I am looking for help on the best method to do scheduled weekly backups from a local NAS to a remote NAS.

Both NAS's are running OS 6.6.1

Local NAS is ReadyNAS Pro 6

Remote NAS is ReadyNAS 516

 

Both NAS's are connected to readycloud.

 

I am assuming the best method is to schedule backup jobs to run on the local NAS and send the files to the remote NAS.

One Backup job for each share.

I assume the best protocol is Rsync over remote SSH.

Both NAS's Have Rsync protocall set to read/write for each share.

What entry do I put in the host field.

 

I would like to schedule the jobs to run weekly during low use times to reduce network traffic.

 

Any help would be appreciated.

Model: ReadyNASRNDP6310|ReadyNAS Pro 6,RN51600|ReadyNAS 516 6-Bay
Message 1 of 18
crazy_toy
NETGEAR Expert

Re: How to backup from remote to local

Hi , McRob1

How to setup backup job please see below :

you can fill IP in host filed

 QQ截图20170220180916.png

Message 2 of 18
StephenB
Guru

Re: How to backup from remote to local

Note that the above method does not use ReadyCloud - it assumes that both ReadyNAS are on the same network.

Message 3 of 18
StephenB
Guru

Re: How to backup from remote to local


@StephenB wrote:

Note that the above method does not use ReadyCloud - it assumes that both ReadyNAS are on the same network.


Just to amplify this - a method you could use is here: http://kb.netgear.com/29929/ReadyNAS-OS-6-Setting-up-a-backup-job-with-rsync-over-SSH?cid=wmt_netgea...

 

I think you can also set up ZeroTier on both NAS and back up using the ZeroTier IP addresses - perhaps @Sandshark can chime in on that.

Message 4 of 18
Sandshark
Sensei

Re: How to backup from remote to local

ZeroTier is an excellent solution to this.  Do a search on it and you'll find a posting from me on it.

 

With it, you get an encrypted VPN that parallels your standard IP address.  I have my NASes all in the 192.168.0.30 to 192.168.0.40 range on my local network and their ZeroTier equivalents are 192.162.192.30 to 168.192.192.40.  I can address them as 192.168.0.xxx on the local network or 192.168.192.xxx via ZeroTier. I can actually use the ZeroTier address anywhere -- local or remote -- with any device that has ZeroTier installed.  Advantages over ReadyCloud are that you use the same user name everywhere (so access the same home folder) and it can do NAS-to-NAS functions as well as PC, tablet, phone, etc, to NAS just like you were on the same network.  Well, you are on the same ZeroTier network. 

 

A lot like with ReadyCloud, there is a cloud based server that assigns ZeroTier IP addresses, but you have control over it for your devices.  You allow or disallow them and assign their ZeroTier addresses.  The traffic doesn't all go through that server, though -- it just provides the routing information.  If there is something you need to do via ReadyCloud that you can't via ZeroTier, the two co-exist just fine, too.

Message 5 of 18
McRob1
Luminary

Re: How to backup from remote to local

StephenB

 

I tried to seup the backup job following the link you provided.  The instructions just didn't explain what you enter in the host field or the share field.

 

I want to run a backup job on a NAS that pushes the data to a remote NAS at a offsite location. I want the backup job to select the entire share and send it to a remote share as a folder.  This is similar to how Rsync does it's backups.  This way I can create one share on the remote destination NAS that has a separate folder for each share as a backup of all the data.  I can create a separate scheduled backup job for each share that I need to backup.

 

The procedure provided does not explain why when you enable SSH on a NAS you get a warning that Netgear will not support this. 

 

I think I will look into ZeroTier now.

 

Thanks for the info. 

Model: ReadyNASRNDP6310|ReadyNAS Pro 6,RN51661D|ReadyNAS 516 6-Bay
Message 6 of 18
TeknoJnky
Hero

Re: How to backup from remote to local

on os 6, why not use replicate ?

Message 7 of 18
McRob1
Luminary

Re: How to backup from remote to local

The remote NAS will not be turned on except to receive the backup data once a week.  Also I don't want to backup everything on the NAS.  I don't think that replicate will do that.

Model: RN51661D|ReadyNAS 516 6-Bay
Message 8 of 18
TeknoJnky
Hero

Re: How to backup from remote to local

you can select a specific folder or folders to backup from and the destination folder on receiving nas.

 

But if you are going to keep the backup device powered down when not in use, your best bet is to have the destination device pull (run the backup on the destination). 

 

I don't think you can auto power off, but whoever monitors it can see when the backup light stops flashing and shut it down then.

 

Message 9 of 18
StephenB
Guru

Re: How to backup from remote to local


@McRob1 wrote:

StephenB

 

I tried to seup the backup job following the link you provided.  The instructions just didn't explain what you enter in the host field or the share field.

 


The screen shots I posted here show how to set up a "pull" backup job (running on the backup NAS).  https://community.netgear.com/t5/Backing-up-to-your-ReadyNAS/Documentation-for-Replicate-specificall...

 

You'd need to change the source from "remote: rsync server" to "remote: rsync over remote ssh".  And of course you'd need to have the certificates installed per the "rsync over ssh" kb article.

 


@McRob1 wrote:

The procedure provided does not explain why when you enable SSH on a NAS you get a warning that Netgear will not support this. 

 

 


Using rsync over ssh won't create any support implications for you.  You can see that here: http://kb.netgear.com/30068/ReadyNAS-OS-6-SSH-access-support-and-configuration-guides?cid=wmt_netgea...

 

"Support may be denied if it is determined that actions taken through SSH have contributed to problems encountered on the ReadyNAS. "  Simple use of rsync over ssh won't "contribute to problems".


@McRob1 wrote:

I think I will look into ZeroTier now.

 

 It is worth looking at, especially if you also want to access the backup NAS remotely for other purposes.  You could also invest in VPN routers that join the two networks.

Message 10 of 18
McRob1
Luminary

Re: How to backup from remote to local

StephenB

 

I have read over your links and post.

I would like to set up a "pull" backup job running on a NAS located on site.  I think you call it the backup NAS.

Can you help with what certificates I need to install on each NAS.

The link you provided really does not explain what they are setting up.  Unless you really know what your doing it's easy to get lost.

My guess is that you start with the remote NAS and do the following:

 

Enabling SSH access for root using password authentication.

  1. Go to System > Settings > Services.
  2. Click on SSH.
  3. When prompted with the support warning, click Yes if you are sure you want to proceed.
  4. Select Enable SSH and Enable password authentication.
  5. Click Apply.
  6. You can now connect to the ReadyNAS through SSH as the root user.

Note: The root password is the same as the admin password. To change the root password, change the admin password via the admin page. Please ensure you use a strong password.

 

Then on the local or backup NAS you setup the following using the public key you got from enabling SSH on the remote NAS.

 

Enabling SSH access for local users using a public/private key pair (local user mode only).

  1. Go to System > Settings > Services.
  2. Click on SSH.
  3. When prompted with the support warning, click Yes if you are sure you want to proceed.
  4. Select Enable SSH. Enable password authentication should be de-selected.
  5. Click Apply.
  6. Go to Accounts > Users.
  7. Click on a user and select Settings.
  8. Select SSH
  9. Click Import Public Key.
  10. Browse to the public key for the key pair and then click Upload.
  11. Enable Allow shell access.
  12. Deselect the RSYNC ONLY checkbox
  13. Click Apply.
  14. You can now connect to the ReadyNAS through SSH as that user with the private key from the key pair.
  15. For more detailed instructions on generating and using public/private key pairs with ReadyNAS

 

None of this helps me to setup a backup job on the local NAS to pull the data from the remote NAS.

I still have no idea what you enter where.

 

It's kind of like a giant puzzle with pieces all over and most of the pieces don't even belong to the puzzle your building.

Somehow I get to try and figure out which pieces actually fit the puzzle I'm trying to build.

Oh and did I mention I have to do it with my eyes closed because I have no idea what most of the terms mean.

 

I wish there was a single and clear example I could follow for my situation.

 

Thanks

Model: ReadyNASRNDP6310|ReadyNAS Pro 6,RN51600|ReadyNAS 516 6-Bay
Message 11 of 18
McRob1
Luminary

Re: How to backup from remote to local

I tried replicate and I was able to create a backup job and actually backup the system when the units were both local.

I will be moving one of the NAS's to a remote location this week and will test it again.

 

To make replicate work I had to add it to compatibility mode in Internet Explorer, otherwise I could not see any of the shares under each NAS.

 

It does do scheduled backups and you can backup only specific shares.  The files that are created on the backup NAS are somewhat criptic but you can navigate down thru the odd file structure to find individual files that were stored there.

 

At least with OS version 6 and later there is no software license required for replicate.  All the NAS's have to be at OS 6 or later to make it work.

 

This may be the only solution that I can make work.

 

I hope the remote test works.

Model: ReadyNASRNDP6310|ReadyNAS Pro 6,RN51600|ReadyNAS 516 6-Bay
Message 12 of 18
McRob1
Luminary

Re: How to backup from remote to local

I moved the ReadyNAS Pro 6 to a remote location and I am not able to get replicate to work.  All the backup jobs fail.

It worked fine when the NAS was local.

 

I tried to get help from Netgear level 2 support people and I was denied because the remote NAS has OS 6.6.1 running on it that I upgraded from OS 4.

 

Does anyone have any ideas on how to backup a remote NAS to a local NAS.

 

I am back to step one.

 

 

 

Model: ReadyNASRNDP6310|ReadyNAS Pro 6,RN51661D|ReadyNAS 516 6-Bay
Message 13 of 18
StephenB
Guru

Re: How to backup from remote to local

Replicate should work, since it's using Netgear's Remote VPN technology.  So this is a puzzle.

 

It could be time to try out ZeroTier.

Message 14 of 18
McRob1
Luminary

Re: How to backup from remote to local

I ended up deleting all my backup jobs in Replicate and on the local NAS that I am backing up the data to.

 

I recreated the jobs to backup one share at a time in replicate. 

So far it has backed up two shares without any problems.  There was a relatively small amount of data on these two shares.

 

I will continue to add backup jobs in replicate for each share on the remote NAS.

 

Maybe the data got corrupted somehow in the original replicate backup job.

 

I am still hopefull it will work.

 

 

 

 

Message 15 of 18
StephenB
Guru

Re: How to backup from remote to local


@McRob1 wrote:

 

 

I am still hopefull it will work.

  


Since its connecting now, it should.

Message 16 of 18
TeknoJnky
Hero

Re: How to backup from remote to local

rather than the job being corrupted, I would have expected a simple connection error on one of the devices.

 

when you log in to the replicate portal, it should be able to show the status of each configured nas, if it can pull that info, then the replicate vpn network should be working.

 

Depending on your environment, it may have taken some time to reconnect past a firewall or something.

 

Anyway, since it seems as if your re-created jobs are working, you should be ok.

 

If have any job failures in the future, you may want to check the device statuses in the replicate portal to make sure that they both have connection to the replicate network.

Message 17 of 18
McRob1
Luminary

Re: How to backup from remote to local

I have tried to run replicate jobs with more data stored in the share.

 

The 3rd job I ran failed.  It actually killed the internet connection.

It took about 5 minutes for the Motorola Modem SB6141 to recover and go back on line.

 

Is it possible that the modem is causing replicate to have issues?

Model: ReadyNASRNDP6310|ReadyNAS Pro 6
Message 18 of 18
Top Contributors
Discussion stats
  • 17 replies
  • 12736 views
  • 0 kudos
  • 5 in conversation
Announcements