Install Backup for Linux on Synology NAS (Docker)

Note that the Backup for Linux on Synology NAS was not tested enough. If you want to continue with Backup for Linux installation on Synology NAS, do it at your own risk

Requirements

  • Synology or QNAP NAS with x86/x64 CPU architecture only. NAS devices with ARM CPU are NOT supported.
  • Internet access from NAS device.
  • Whitelist NAS IP address and Docker Ubuntu container IP address in network firewall/gateway/proxy.
  • Generated Backup for Ubuntu build in MBS portal.

Install Docker and Create a Container

  1. Log in to your NAS and open Package Center

  1. Search for Docker. Click Install.

  1. Click Open when the installation is finished.

  1. Open Registry. Search for Ubuntu systemd in the search bar. Select the Ubuntu-upstart image in the list and click Download.

  1. Make sure that the "latest" tag is selected. Click Select.

  1. Navigate to Image. Click the Launch button.

  1. Specify Container Name. Click Advanced Settings button.

  1. Select Volume Tab.

Mount backup data directories to back up. They will be available in R/W mode inside the container. Select the local folder and specify the mount path. Click Apply.

File/Folder: select folder NAS folder

Mount path: mount path inside the container. Specify /NASFolderName

  1. Most Backup Agent functions/settings can be managed using Management Console. In some cases, you can manage Backup Agent via Web Access. To be able to connect to Web Access ports, you need to forward connections from NAS ports to container ports.

Go to the Port Settings tab and add the following ports.

  1. Review container settings and click Apply.

  1. Select Container tab and check that Docker container up and running.

Install CloudBerry Backup Agent for Linux

  1. Navigate to the Container page. Select the recently created container and click Details.

  1. Select Terminal tab.

  1. Run the following commands to install the required components.
apt-get update
apt-get install -y wget libglib2.0-0 dbus
  1. Open the Management Console and copy the Backup for Ubuntu build link.

  1. Download your Backup for Ubuntu build by the following command. Change generic build link by copied one in the command.
wget https://s3.amazonaws.com/cb_setups/MBS/XXXX/ubuntu14_XXXX_OnlineBackup_vXXXX.deb
  1. Install the downloaded build by the commands below. Change generic backup file name by your own.
dpkg --add-architecture amd64
dpkg -i ubuntu14_XXXXX_OnlineBackup_vXXXX_.deb

Login As a Backup User to Management Console

  1. Open the Management Console.
  2. In the Computers menu, select Remote Management.

  1. Click at "Add user account" link.

  1. Select the proper backup user in the User account field.

  1. Create a backup plan and select the mapped folder.

Edit Mounted Folders

In some cases, additional folders are required to be mounted or unnecessary ones are subject to removal. To edit mounted folders, proceed as follows:

  1. Stop the container.

  1. Click the "Edit" button to open container settings. Apply changes.

  1. Start the container.

  1. If a Backup Agent is not online in the Management Console, start the Online-backup services using the following commands:
service online-backup start
service online-backupRM start
service online-backupWA start

Contact Us

Tech questions: tech@msp360.com

Sales questions: sales@msp360.com

https://git.cloudberrylab.com/egor.m/doc-help-kb.git