Beitrag von Florin Gruber, Juni 2025
News

How to: Synology NAS Backup via Docker Container

This blog article describes how to set up a Synology NAS backup using Docker container within minutes.

1. Generating a Token

To register the Docker container on the NAS later with the backup management portal (portal.backup.ch), we first need a registration token. Log in with your Backup ONE account at www.backup.ch/login and generate a new token as follows. From the "All Devices" view, click on "Add" (top right) and click "Generate" at the bottom to obtain a new registration token. Save this for later use.

2. Preparing the Synology NAS

  1. Open the "Package Center" and search for "docker" to install Docker:
  2. Open Docker and search for "backup_agent" in the registry. Select "acronisdocker/backup_agent" and start the download by clicking "Download".
  3. Launch the container from the downloaded images
  4. Check the box "Execute container with high priority". Then click "Next" and complete the container launch by clicking "Apply".
  5. Open the "Details" of the container in "Container" and switch to the "Terminal" tab.
  6. Click on the small arrow next to "Create" and select the option "Start with command"
  7. Enter the following command in the input field:
    /bin/bash /register_mms.sh -o register -a https://portal.backup.ch --token TOKEN -t cloud 

    and replace TOKEN with the activation token generated earlier. For example:

    /bin/bash /register_mms.sh -o register -a https://portal.backup.ch --token 5316-95D9-4D4A -t cloud 

    Complete the input by clicking "OK"

  8. The Synology NAS will appear in the device overview in the Backup Portal within a few minutes

3. Setting up the NAS Backup in the Web Portal

  1. Select the newly added NAS and choose "Backup". Create a new backup plan with "Files and Folders" as the backup source.
  2. Under "Items for backup", select "Network folders" and define the folders of your NAS to be backed up. The folders to be backed up must be shared on the NAS. Please provide the username and password of a user who has access to the shared folders of the NAS if prompted.
  3. Confirm your selection by clicking "OK" and complete the creation of the backup plan. Define the other backup options as desired and start the first backup of your Synology NAS

4. Done - Your Synology NAS backup is now set up and will run automatically at your chosen times.

If you have questions about the setup or general questions about backing up NAS devices, our Support team is happy to help.