How to run CubeBackup on a Synology NAS to backup Microsoft 365 data.
As a Microsoft 365 backup solution, CubeBackup is designed to run on Windows and Linux systems, and is not available on the Synology Package Center. However, If you'd like to deploy CubeBackup on a Synology NAS, you can install Docker and use our Docker image.
If you are using a NAS from other vendors, you can use this article as a reference.
NOTE:
CubeBackup is an x86 application and can only run directly on an x86-based NAS. If your NAS is using an ARM CPU, please consider running CubeBackup on a Windows or Linux computer using your NAS as the storage device.
Installation instructions
Experienced Docker users can easily pull the CubeBackup image cubebackup/cube365 to a local repository, start the CubeBackup container, and follow the step-by-step setup guide to complete the initial configuration.
For users who are not familiar with Docker, please follow the instructions below to create a containerized CubeBackup instance to backup your Microsoft 365 data.
Before you start, please install Docker in the Package Center first. Open Docker from the Main Menu in the Synology web console.
Select Registry from the left panel and type
CubeBackup365
in the search box. Right-click on the cubebackup/cube365 entry and select Download this image.When prompted to choose a tag for the image, select latest from the dropdown list and click Select.
In the left panel, switch to Image and check the download progress of the CubeBackup image. It may take a few moments to complete.
When it has finished downloading, double-click on the image or click the Launch button at the top of the page.
In the Create Container dialog, leave the Network option as default to use the bridge network, and click Next.
In the General Settings section, enter a Container Name (e.g. CubeBackup) and check the Enable auto-restart button. Click Next.
NOTE: We recommend that you do not select the Enable resource limitation option. If resource limitation is necessary, please ensure that CubeBackup is given at least 2048 MB of Memory on your NAS server.
In the Port Settings section, modify the mapped Local Port to
8080
in front of Container Port80
and click Next.In the Volume section, you will need to create and bind mount the following four directories to your NAS server:
- Click the Add Folder button and select the storage path of your backup data (e.g. backupData/cubebackupData). Enter
/cubebackup_data
in the Mount path field. - Repeat the same operation and select a storage path for the index data (e.g. backupData/cubebackupIndex), the log file (e.g. backupData/cube/log), and the storage configuration file of CubeBackup (e.g. backupData/cube/data) separately. Enter
/cubebackup_index
,/opt/cubebackup365/log
,/opt/cubebackup365/data
in the corresponding Mount path fields.
- Click the Add Folder button and select the storage path of your backup data (e.g. backupData/cubebackupData). Enter
Click Next and check the settings of your CubeBackup container. Check the option to Run this container after the wizard is finished, and click Done to launch the docker container for CubeBackup.
In the left panel, switch to Container, select the CubeBackup container and click Settings > Create shortcut on desktop > Web page. Then add port
:8080
to the end of your NAS URL.Now you can open the CubeBackup setup wizard by clicking the shortcut on the desktop, or by opening the URL <your_nas_ip>:8080 directly in the browser. You can go through the setup wizard following the step-by-step instructions.
If you changed port 80 to a different port in Step 8, please add the port number to the end of the URL (e.g. <your_nas_ip>:8081).
Manage the CubeBackup container on Synology
You can open the CubeBackup web console on the NAS desktop by using the shortcut created in the previous steps. Alternatively, you can use another computer on the same network to open the URL <your_nas_ip>:8080 directly in a browser.
We strongly recommend that you make a copy of the encryption key file and store it in a separate safe location. You can either find it at /opt/cubebackup365/data/keys.json inside the docker container or from the mounted directory on the NAS (e.g. backupData/cube/data/keys.json).
Please note that if the key file is lost, your encrypted backup data will be completely unrecoverable. CubeBackup Inc. does not have access to any key files and will be unable to help you!
More information about best practices for managing a CubeBackup instance can be found here: Best practices for Microsoft 365 admins in CubeBackup.