Modify the Synology Active Backup for Business Agent installation script so that it can be installed on Ubuntu-based distributions such as Linux Mint.
Find a file
2025-12-02 17:00:33 +00:00
LICENSE Initial commit 2025-12-02 16:50:44 +00:00
prepare_abb.sh prepare_abb.sh aktualisiert 2025-12-02 16:59:12 +00:00
README.md README.md aktualisiert 2025-12-02 17:00:33 +00:00

Automatic ABB Installation Script

This script automates the installation process of Synology Active Backup for Business (ABB) Linux Agent by modifying the provided .run installer to work on certain Linux distributions (e.g., Ubuntu derivatives) that are not officially supported.


What the Script Does

  1. Finds the install.run file in the current directory.
  2. Extracts the contents of the .run installer into a temporary folder.
  3. Locates the synosnap-*.deb package inside the extracted files.
  4. Extracts the .deb package into another temporary folder.
  5. Adjusts the dkms_pre_install script inside the .deb package to support Ubuntu-based distributions.
  6. Rebuilds the .deb package with the modifications.
  7. Provides instructions for installing the modified package.

Requirements

  • Linux system (tested on Ubuntu/Debian-based distributions)
  • bash
  • dpkg-deb (part of dpkg)
  • sudo privileges

Usage

  1. Place the install.run file in the same directory as this script.
  2. Make the script executable:
chmod +x install_abb.sh
Run the script:

bash
Code kopieren
./install_abb.sh
Follow the instructions displayed after the script finishes:

bash
Code kopieren
sudo dpkg -r synology-active-backup-business-linux-service
sudo dpkg -r synosnap
Reboot your system.

Run the original installer script:

bash
Code kopieren
./install.sh
Notes
The script creates temporary folders (install_temp and deb_temp) for extraction. These folders will be removed and recreated each time the script runs.

The original .run installer and .deb packages are not deleted. Only a modified .deb package is created in the same directory.

Disclaimer
Use this script at your own risk. The script modifies packages provided by Synology and may void official support. Always back up important data before proceeding.