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
2. Grant necessary permissions for the installer:
# sudo chmod 755 Backup_Agent_for_Linux_x86_64.bin
3. Install rpm:
# sudo apt-get install rpm
4. Download latest updates:
# sudo apt-get update
6. 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.
7. Installed alien on the server to convert rpm to deb:
# sudo apt-get install alien
8. Convert the rpm package to deb:
# sudo alien snapapi26_modules-0.7.101-1.noarch.rpm
9. Remove older version of snapapi:
# sudo dkms status
# sudo dkms remove -m snapapi26 -v 0.7.95 --all
10. 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
11. Check the status of snapapi module using the command:
# dkms status
12. Switch to root and start Acronis services:
# sudo su
# service acronis_mms start
# service acronis_agent start
# service acronis_schedule start
13. Check if the agent is installed successfully by running the command:
# acrocmd list disks
When the agebt fails to automatically:
1. Register manually with the following command:/usr/lib/Acronis/BackupAndRecovery/AmsRegisterHelper register https://cloud.acronis.com/ <USERNAME> <PASSWORD>
2. Verify if the machine appears in Acronis Backup Console. If it does not then re-register the machine manually as per the following article:
https://kb.acronis.com/content/55244
For common issues with known solutions please refer to our Knowledge Base at https://kb.acronis.com/acronis-backup-cloud