60591: Acronis Backup: how to install Acronis software on multiple Linux systems using precompiled SnapAPI module

use Google Translate

Operating Systems: 

This article explains to install Acronis software on Linux systems without installing packages required for compiling SnapAPI module on every machine. Instead, it's possible to install Acronis agent on a test machine and distribute precompiled module over your systems.

Solution

On the source machine:

1. Build SnapAPI modules:

  1. Ensure your source machine has exactly same kernel version as target system and has all necessary packages installed:
    Acronis Backup 11.7
    Acronis Backup 12/12.5
  2. Install the agent (for version 11.7 see this link) and build SnapAPI on the source system:
    dkms build -m snapapi26 -v <SNAPAPI_VERSION>
    (refer to Legend at the end of the article)

2. Make an archive (tarball) with built modules:
dkms mktarball -m snapapi26 -v  <SNAPAPI_VERSION> --archive=snapapi26-<SNAPAPI_VERSION>.tar.gz

3. Copy the tarball to target system.

In case you don't have system with exact same kernel version as target machine:

1. Make sure that you have gcc (refer to links at 1a) on a source system with the same version as on target system:
Acronis Backup 11.7
Acronis Backup 12/12.5

2. Install kernel sources that 100% correspond to the kernel on a target system.

3. Build modules:
dkms build -m snapapi26 -v <SNAPAPI_VERSION> -k`uname -r` --arch `uname -m` --kernelsourcedir=<KERNEL_SOURCES_DIR>

4. Make an archive (tarball) with built modules:
dkms mktarball -m snapapi26 -v  <SNAPAPI_VERSION> --archive=snapapi26-<SNAPAPI_VERSION>.tar.gz

5. Copy the tarball to target systems.

On the target machine:

1. Install Acronis software and decline building kernel modules when prompted.

2. Install prebuilt modules from the source machine section:
dkms ldtarball --archive=<TARBALL_LOCATION>/snapapi26-<SNAPAPI_VERSION>.tar.gz
dkms install -m snapapi26 -v <SNAPAPI_VERSION>

3. Re/start acronis services (acronis_mms, acronis_agent):
/etc/init.d/acronis_mms restart

If systemd is used then MMS should be restarted using the following command:
systemctl restart acronis_mms

Make sure that software works correctly.

Legend:

<SNAPAPI_VERSION> - is a version of snapapi modules (see in /usr/src/ )

<KERNEL_SOURCES_DIR> - directory with a sources for KERNEL_VERSION

<TARBALL_LOCATION >- directory that contains tarball with pre-built modules

Tags: 

You are reporting a typo in the following text:
Simply click the "Send typo report" button to complete the report. You can also include a comment.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
17 + 3 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.