Modify the Synology Active Backup for Business Agent installation script so that it can be installed on Ubuntu-based distributions such as Linux Mint.
|
|
||
|---|---|---|
| LICENSE | ||
| prepare_abb.sh | ||
| README.md | ||
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
- Finds the install.run file in the current directory.
- Extracts the contents of the
.runinstaller into a temporary folder. - Locates the
synosnap-*.debpackage inside the extracted files. - Extracts the
.debpackage into another temporary folder. - Adjusts the
dkms_pre_installscript inside the.debpackage to support Ubuntu-based distributions. - Rebuilds the
.debpackage with the modifications. - Provides instructions for installing the modified package.
Requirements
- Linux system (tested on Ubuntu/Debian-based distributions)
bashdpkg-deb(part ofdpkg)sudoprivileges
Usage
- Place the
install.runfile in the same directory as this script. - 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.