View Categories

Installing PC/Server backup Ubuntu

2 min read

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.

  1. 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
  5. 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.

  6. Installed alien on the server to convert rpm to deb:
    # sudo apt-get install alien
  7. Convert the rpm package to deb:
    # sudo alien snapapi26_modules-0.7.101-1.noarch.rpm
  8. Remove older version of snapapi:
    # sudo dkms status
      # sudo dkms remove -m snapapi26 -v 0.7.95 --all
  9. 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
  10. Check the status of snapapi module using the command:
    # dkms status
  11. Switch to root and start Acronis services:
    # sudo su
      # service acronis_mms start
      # service acronis_agent start
      # service acronis_schedule start
  12. Check if the agent is installed successfully by running the command:
    # acrocmd list disks
  13. If the agent 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.

For common issues with known solutions please refer to our Knowledgebase at Acronis Knowledgebase

Powered by BetterDocs