Registered users
Linkedin Twitter Facebook Google+
Close

In order to improve user's experience and to enable some functionalities by tracking the user accross the website, this website uses its own cookies and from third parties, like Google Analytics and other similar activity tracking software. Read the Privacy Policy
33HOPS, IT Consultants
33HOPS ::: Proveedores de Soluciones Informáticas :: Madrid :+34 91 663 6085Avda. Castilla la Mancha, 95 - local posterior - 28700 S.S. de los Reyes - MADRID33HOPS, Sistemas de Informacion y Redes, S.L.Info

XSIBackup Datacenter running as server in (c)Synology NAS (Part I)

How to enable SSH access in your (c)Synology device

Synology SSH options (c)XSIBackup-DC (XSIBackup Datacenter) is a binary aimed at backing up huge virtual disk files. It is offered both as a free functional trial and as a licensed product.

(c)XSIBackup-DC can run in all sorts of platforms: VMWare ESXi Hypervisor, Linux and other devices, such as Synology NAS appliances that run some flavour of Linux.

Although the free version of (c)XSIBackup-DC is limited to 6 h. of use after each reboot and 60GB of size per virtual disk, this limitations applies just for client use. You may use the free version of (c)XSIBackup-DC as a fully enabled server for data transfers over IP. This also applies to any device capable of running (c)XSIBackup-DC such as Synology NAS appliances.

Before you can install (c)XSIBackup-DC to your Synology NAS you must enable SSH access to it. Just go to Control Panel in your DSM and go down to Terminal & SNMP, then on the new options window check Enable SSH Service.

Synology enable SSH access

This is enough to enable access most of the times, but if you have some experience managing SSH systems, you might find it useful to click on the Advanced button. It will offer you to choose different KEX and Ciphers to be used in your SSH connections.

The basic use is just to choose among: High, Medium and Low security profiles, but that does not offer you much control, especially since it does not differentiate among KEX algorithms and Ciphers.

Synology SSH choose ciphers

When you enter the Customize option, you will be presented a modal window where to choose the KEX algorithm, the data transfer Ciphers and the MAC algorithms. The latter is related to hashing data, we'll select all available.

The KEX algorithm will be used when negotiating a connection. It is not that important, just as long as it is secure enough so we can select all to allow the SSH layer choose the best. The reason why it's not that important is cause it will typically happen once per backup session, thus it won't affect overall speed.

The most important part of this selection screen is the Ciphers. They are used to encrypt data and depending on how complicated they are and whether there exists an additional co-processing unit that takes care of encryption or if the CPU incorporates especial instructions to decipher the data, it can create load on the CPU and slow down data transfer.

Thus, unless you do need strong security on the data transfer, you may relax this a bit and allow some lighter ciphers or even deprecated ones if you are transferring public data per instance.

The best thing to do around ciphers is choosing them all too, so that we can control from the client side which of the available ciphers at the server to choose. We have created an specific post on using custom ciphers.

The previous post was written for (c)XSIBackup-Pro, but the concepts involved are the same. In case you want strong encryption on the data transfer you can prevent deprecated ciphers like: arcfour by not selecting them in this list.

How to install and use (c)XSIBackup-DC in your (c)Synology device


Backing up Virtual Disk to Synology

Installing (c)XSIBackup-DC to your Synology NAS is very easy once you have configured root access to it over SSH. Just copy the binary to the /usr/bin folder in your Synology NAS and assign it execute permissions for the users that will make use of it. In this post we cover root usage, we will write a specific post on configuring other users than root.

Now the only thing left is to use the --add-key argument from our ESXi host to link it to the Synology device. You would issue some command like this:



Where a.b.c.d is the IP of your NAS and port is a port number in the range 1-65535, although it will typically be 22 for SSH.

You will be prompted to enter your Synology password a number of times before the process completes. Once the link process is over you will be able to backup and replicate data to any volume in your NAS appliance.

The linking process is exactly the same as in any other case, as said Synology OS is just a Linux OS for (c)XSIBackup-DC.

The path of every volume in the Synology OS File System won't be exactly the same as what you see through the DSM. To list all available volumes you should just issue a df -h command in the command line. That will output something like this:



Then choose the path in your Synology NAS to configure your backup job, per instance:



This page was las modified on 2019-10-04



Website Map
Resources & help
Index of Docs
33HOPS Forum

Fill in to download
The download link will be sent to your e-mail.
Name
Lastname
E-mail


            Read our Privacy Policy