How to Back Up a Linux PC to a Synology NAS using Active Backup for Business

  • Post author:WunderTech
  • Post published:September 9, 2021
  • Post last modified:November 2, 2022
  • Post category:Synology
  • Reading time:6 mins read
  • Post comments:2 Comments

Today we are going to look at how to back up a Linux PC to a Synology NAS using Active Backup for Business.

If you’re using Synology’s DSM 7 (recently released), you will be able to back up your Linux PC’s to a Synology NAS using Active Backup for Business. The process is similar to how you back up Windows PC’s, though the installation and configuration is slightly different. Please keep in mind that as of the writing of this tutorial, this is a beta feature. While everything functions as expected for me, you might run into issues that are more difficult to troubleshoot.

Instructions – How to Back Up a Linux PC to a Synology NAS

1. Ensure the Active Backup for Business is installed and launch the application.

2. Select Physical Server, then Linux, then select Add Device.

how to back up a Linux PC to a Synology NAS - physical server section

3. Download the correct package (I will be using Debian as I am using Ubuntu). You will have to either do this from the Linux device, or on a different device and then transfer the file to your Linux device.

how to download the linux device package to install active backup for business

4. Navigate to the folder where the package exists and unzip it. NOTE: If you have multiple files with the name Synology, you might have to use the full name as opposed to the *.

unzip Synology*
unzipping the synology active backup file

5. Two files will extract – an install.run file and a README. We will install the application by running the install.run file using the command below.

sudo ./install.run
isntalling synology active backup on a linux device

6. After the install finishes, we will need to connect to our Synology NAS. Run the command below to connect to the instance.

sudo abb-cli -c

7. Enter the Server Address, Username and Password. If you receive a message asking you to trust the certificate, proceed if you agree. Confirm the settings and then proceed.

confirming that active backup for business is connected

8. If you’d like to see all the commands that you can run using the Active Backup client, you can run the command below. This will list everything out.

sudo abb-cli -h

9. Your device is now connected to Active Backup for Business! 

active backup for business linux connection in synology dsm

10. You can edit the task for this machine if you’d like to change the settings of this backup. This section is actually very important as you can modify the Name, Schedule, and most importantly, Retention policy. The retention policy determines how many versions of the backup should exist, so if you set it as 7 versions, you will have 7 total backups (generally 7 days worth of backups). You can then start the backup by select Back Up.

backing up a linux device using the task list

11. Your machine will now back up based on the frequency specified!

Conclusion

This tutorial showed how to back up a Linux PC to a Synology NAS using Active Backup for Business. In the YouTube video above, I showed how you can restore some of your files using the Active Backup for Business portal. What I like about Active Backup for Business is its centralized management. Being able to manage all of my machines on one device is superior to managing individual machines, though both are technically options.

Thanks for checking out the tutorial. If you have any questions, feel free to leave them in the comments!

WunderTech

WunderTech is a website that provides tutorials and guides on various NAS, server, networking, and infrastructure-related topics. WunderTech is maintained by Frank Joseph, an IT professional with 14+ years of experience in corporate IT and application management. He focuses on sharing his experience with others on his WunderTech website and YouTube page. Frank holds a Bachelor of Science in Computer Information Systems and a master of Business Administration (MBA).

This Post Has 2 Comments

  1. Martin Ehlert

    Thank you for documenting the setting up Active Backup for Business for Linux Servers.

    I feel the following limitation needs to be highlighted: Not all Linux File Formats are supported by this Synology backup agent for Linux. Currently, only these file system types are supported: ext2, ext3, ext4 and XFS.

    Support for btrfs is missing – which is the more surprising as it is the file format Synology recommends to use on it’s NAS devices in order to use features such as Snapshots and Snapshot Replication.

    Given this omission I think it should be pointed out that a ‘bare metal’ backup of a Linux Server is incomplete/unsuccessful if that server has one or more btrfs-formated partitions.

    Partitions in btrfs are ignored during the backup execution. This is then recorded in the log as a warning (for example: \home will not be backed up. Reason: unsupported file system type)

    If all partitions on the Linux Server are in btrfs, then the entire backup fails.

    The issue of lack of support for btrfs partitions has been raised with Synology, but 10 months later there has been no progress.

    1. WunderTech

      Thanks so much for this – there’s very little information on ABB for Linux, so I really appreciate you pointing this out. I will try and update the written instructions as soon as I can!

Leave a Reply