Table of Contents
For Ubuntu or .deb based Linux distros OnlineBackup #
Please find the steps followed by me to install Acronis Agent for Linux on Ubuntu 16.04 LTS.
- You can download the Acronis Agent for Linux installer directly using the following command:
# sudo wget https://backups.hostafrica.co.za/download/u/baas/4.0/12.5.15300/Backup_Agent_for_Linux_x86_64.bin
- Grant necessary permissions for the installer:
# sudo chmod 755 Backup_Agent_for_Linux_x86_64.bin
- Install rpm:
# sudo apt-get install rpm
- Download latest updates:
# sudo apt-get update
- Launch the installer as root:
# sudo ./Backup_Agent_for_Linux_x86_64.bin
The installer installs old snapapi version 0.7.95. We will have the new version embedded with the installer in the upcoming new release, early next month.
As a workaround, I had to manually install the latest snapapi drivers. But will be fixed in the upcoming build and the installation should work fine without issues.
Copy the provided “snapapi26_modules-0.7.101-1.noarch.rpm” to the Ubuntu server using WinSCP.
- Installed alien on the server to convert rpm to deb:
# sudo apt-get install alien
- Convert the rpm package to deb:
# sudo alien snapapi26_modules-0.7.101-1.noarch.rpm
- Remove older version of snapapi:
# sudo dkms status # sudo dkms remove -m snapapi26 -v 0.7.95 --all
- Install and compile new version of snapapi -v 0.7.101:
# sudo dpkg -i snapapi26-modules_0.7.101-2_all.deb # sudo dkms ldtarball --archive /usr/lib/Acronis/kernel_modules/snapapi26-0.7.101-all.tar.gz # sudo dkms {add,build} -m snapapi26 -v 0.7.101 --no-clean-kernel # sudo dkms {build,install} -m snapapi26 -v 0.7.101 --no-clean-kernel
- Check the status of snapapi module using the command:
# dkms status
- Switch to root and start Acronis services:
# sudo su # service acronis_mms start # service acronis_agent start # service acronis_schedule start
- Check if the agent is installed successfully by running the command:
# acrocmd list disks
- If the agent fails to automatically:
- Register manually with the following command:
/usr/lib/Acronis/BackupAndRecovery/AmsRegisterHelper register https://cloud.acronis.com/ <USERNAME> <PASSWORD>
- Verify if the machine appears in Acronis Backup Console. If it does not then re-register the machine manually.
- Register manually with the following command:
For common issues with known solutions please refer to our Knowledgebase at Acronis Knowledgebase