Install CBB for Linux on Synology NAS (Docker)
- Synology or QNAP NAS with x86/x64 CPU architecture only. NAS devices with ARM CPU is 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
- Login to your NAS and open Package Center
- Search for Docker. Click Install.
- Click Open when the installation is finished.
- Open Registry. Search for Ubuntu systemd in the search bar. Select Ubuntu-upstart image in the list and click Download button.
- Make sure that "latest" tag is selected. Click Select button.
- Navigate to Image. Click the Launch button.
- Specify Container Name. Click Advanced Settings button.
- Select Volume Tab.
Now we need to mount data folders which you want to backup. They will be available in R/W mode inside the container. Select the local folder and specify the mount path. Click Apply button.
File/Folder - select folder NAS folder
Mount path - mount path inside the container. Specify /NASFolderName
- Most of backup agent functions/settings can be managed via MBS portal. 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 Port Settings tab and add the following ports.
- Review container settings and click Apply button.
- Select Container tab and check that Docker container up and running.
Install CloudBerry Backup for Linux agent.
- Navigate to Container page. Select the recently created container and click Details button.
- Select Terminal tab.
- Run the following commands to install the required components.
apt-get update apt-get install -y wget libglib2.0-0 dbus
- Go to MBS portal and copy Backup for Ubuntu build link.
- Download your Backup for Ubuntu build by the following command. Change generic build link by copied one in the command.
- Install 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 with the backup user to MBS portal.
- Go to mspbackups.com.
- Open RMM -> Remote Management page.
- Click at "Add user account" link.
- Select proper backup user in user account field.
- Create a backup plan and select the mapped folder.
Editing mounted folders
Sometimes, additional folders need to be mounted or old one removed.
- Stop the container
- Click the "Edit" button to open container setting. Apply changes.
- Start the container.
- If the backup agent is not online in the MBS portal, start the Online-backup services by the following commands.
service online-backup start service online-backupRM start service online-backupWA start
Tech questions: email@example.com
Sales questions: firstname.lastname@example.org