NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

NickHark1's avatar
NickHark1
Aspirant
Mar 15, 2013

Can I Rsync over the net?

I took my readynas NV+ to a remote private location and changed the backup from my LAN address to my DYNDNS account. It ran fine.

I am backing up videos and music from my home theater system.

Is there any reason to secure this backup with VPN or SSH?

7 Replies

Replies have been turned off for this discussion
  • de niro wrote:
    Please check this link and install addon to get Rsync over SSH feature for your Sparc unit
    viewtopic.php?f=47&t=29688


    Thanks for the response, but I am not sure whether Rsync over SSH will work.

    I will back up big files, video, probably up to 10 gigs per day and SSH on my NV+ will probably be way too slow. The Ultra plus from which I would backup could work but the NV+ on the receiving end probably would be too weak to do the job.

    So, my question remains, what is the risk of doing it unencrypted?
  • StephenB's avatar
    StephenB
    Guru - Experienced User
    The risk is that someone else could intercept the data (both the files themselves and the log on credentials). Potentially allowing them to create their own rsync job to take all the data off your unit.

    It might be worth benchmarking rsync over ssh. It will be slow, but it still might be higher than your internet uplink speed.
  • I also thought a lot about how to best do offsite backups over the internet. Rsync definitely seems to be the best solution for that. However, it quits upon network errors and cannot deal with changing IP addresses.

    Therefore I wrote a simple backup script, that keeps rsync in a loop and recalls it until the backup job is completed. Upon completion the script either sends an email or displays a growl notification on my Mac's desktop. Each backup job is stored in a small configuration file which is fed to the script. It is possible to set backup intervals, split up big backup tasks into smaller folder jobs and also to create a backup history by transferring the backup into a dated folder upon each run.

    By adding the backup jobs to cron, they run in the background according to a predefined schedule without needing any further user attention.

    I would like to share this script, which I called Space Machine :D, on my blog: http://goo.gl/d3VKd

    I hope this is helpful for people here and I would very much appreciate feedback from some experts and testers!
  • I wouldn't worry about SSH CPU load. I've been using SSH on an older NAS from a competitor and it was in now way limiting. rsync is a much higher CPU load. I have a reasonably fast cable internet connection with 0.5 MB/s upload and the NAS reached this maximum speed over SSH/rsync.

    Under no circumstance I would transfer unencrypted data over the internet (think of the postcard metaphor).

    Maybe the backup script I wrote is useful for you guys. The script recalls rsync (over SSH) as long as the backup job is unfinished. Upon completion the script either sends an email or displays a growl notification on my Mac's desktop. Each backup job is stored in a small configuration file which is fed to the script. It is possible to set backup intervals, split up big backup tasks into smaller folder jobs and also to create a backup history by transferring the backup into a dated folder upon each run.

    By adding the backup jobs to cron, they run in the background according to a predefined schedule without needing any further user attention.

    I would like to share this script, which I called Space Machine :) , on my blog: http://goo.gl/d3VKd

    I hope this is helpful for people here and I would very much appreciate your feedback to further develop the script!
  • I'll give it a try.

    I installed the add-on "EnableRootSSH_1.0-x86.bin" on my Ultra 4 Plus; and the "EnableRootSSH_1.0.bin" on the NV+. I have read the various how-tos and I am wondering if I can do what I want to:

    I want to set up back up my NV+ (remote destination) that will rsync over SSH with the Ultra 4 plus (remote source). I see that I have the appropriate configuration on the Ultra 4 Plus "Tunnel Rsync over SSH" etc, but I don't see that on the NV+.

    My NV+ log says I have "successfully enabled SSH access." Note I did not install "FreeDuo_1.7.bin" by super-poussin at the link mentioned earlier because it crapped out on my only attempt.

    Do I need to install something else on the NV+ to be able to pull data from the source Ultra 4 Plus over SSH?

    Its obvious that I'm learning as I go along, pardon my dumbness.

    Update: I installed super-poussin's Free Duo and it installed correctly according to the log. In Services >> Installed add-ons it says that it is running but I can see no evidence that it is running, eg when I try to create a new backup job there is no checkbox to tunnel etc.

    Update: The rsync stuff appeared overnight, so it looks like I am good to go. I will create parallel backup jobs so that when I take the NV+ offsite, I can run the SSH jobs and disable the vanilla LAN jobs. I hope....
  • I am now not sure whether I want to enable root access to my NV+ by enabling port 22 on my WNDR3700 Router. Why would unencrypted Rsync be bette than allowing bad guys to get control of my NAS? Or is there some way I can turn the port on when the NAS needs it and then off? Or?

NETGEAR Academy

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

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More