NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
automatican
Sep 24, 2017Aspirant
BorgBackup on ReadyNas 516
I have been researching for quite a while to find a way to create an offsite backup solution for my ReadyNas 516 that will: -Maintain version history -Send only block-level incremental changes (...
Sandshark
Sep 24, 2017Sensei
You can use ZeroTier to add a parallel network connection where your local and remote machines are on the same VPN, then use the same solution you use locally. Unlike some other VPN solutions, it does not interfere with the normal network access (which is why I refer to it as "parallel"). Google and a search of this forum are good resources for ZeroTier. In case you don't locate the right message pointing to the ReadtNAS App, it's here: https://github.com/NAStools/zerotierone/releases. It's a bit of an old version, but still works. If you prefer a newer version and don't need a GUI, you can do a normal Linux install per the ZeroTier site using SSH.
- automaticanSep 25, 2017AspirantThanks for the reply. I think you are suggesting that I can incremental rsync the data to a remote machine over a ZeroTier network VPN type solution
I don't think this will meet the needs list which is to encrypt the data on-site and then transfer the encrypted data to the remote machines. I am not just looking for an encrypted transport. The reason I need an encrypted data solution is that the remote machines cannot be completely trusted. Hence the desired to use BorgBackup, which encrypts the data on-site, on-the-fly and then sends over an SSH tunnel which is also encrypted. Getting all of this to work would be doable for me if I knew that Borg could be installed and would work on the 516. It seems to have a fast enough processor.
However it seems you might be saying I can install an application with apt-get on the 516 via SSH. If this is the case, any reason that an application like Borg couldn't be installed and used like this, and any concerns in even trying to do so? Don't want to ruin the 516, or void the warranty if I can help it...
Thanks- Dewdman42Sep 25, 2017Virtuoso
Yes borg will work on your readynas. I have been running it on mine. I believe you need python installed to use it, but there might be a binary form of it out there that will work. You will need SSH access to your readynas. Install python and pip then check out this page
https://borgbackup.readthedocs.io/en/stable/installation.html#pip-installation
I used the git method to install it...but don't bother with the virtualenv stuff, which basically comes down to
git clone https://github.com/borgbackup/borg.git pip install sphinx # optional, to build the docs cd borg pip install -r requirements.d/development.txt pip install -r requirements.d/fuse.txt # optional, for FUSE support pip install -e .
You can also just install python and pip and then run this:
sudo pip install borgbackup
or this if you want to be able to mount the backup archives:
sudo pip install borgbackup[fuse]
The above may not be the very latest version of borg, use the git method to get the latest version and also to get the docs.
- SandsharkSep 25, 2017Sensei
Yes, if you want the result on the host to remain encrypted and the standard NAS encryption won't do the job (and it sounds like it won't), then ZeroTier will not meet your needs alone. But you may still want to consider it as your transport system.
Via SSH, apt-get works fine on the ReadyNAS. Be sure to do an apt-get update before doing anything else. One problem, however, can be that it will typically install things in the (rather limited in size) OS partition while apps specifically for the ReadyNAS will install them to data/apps in the main partition. Likewise, logs and such will also probably go to the OS partition. This can lead to filling the OS partition, which can cause a variety of problems.
You should not need "sudo" since you will already be logged on as root.
You may also want to look into increasing the memory on the NAS to improve encryption speed.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!