1556: Creating the SNAPAPI Module in Acronis Backup Software for Linux

    Last update: 10-01-2022

    Compiling the necessary SnapApi modules for Acronis backup software for Linux


    You should have the sources of your kernel or at least kernel headers installed to let Acronis software compile the necessary modules or to be able to do this manually.


    Acronis software compiles all necessary modules (i.e. SnapAPI (for 2.4.x kernels) and snapapi26 (for 2.6.x and later kernels) during installation.

    The modules can also be compiled manually using the 'dkms' utility.

    For reference please see:

    • /usr/lib/Acronis/BackupAndRecovery/HOWTO.INSTALL - for Acronis Backup (Acronis Backup & Recovery)
    • /usr/lib/Acronis/TrueImageServer/HOWTO.INSTALL - for Acronis True Image 9.1
    • /usr/lib/Acronis/TrueImageEchoServer/HOWTO.INSTALL - for Acronis True Image Echo
    • /usr/lib/Acronis/Agent/HOWTO.INSTALL - for Acronis True Image 9.1 Enterprise Server Linux Agent and Acronis True Image Echo Enterprise Server Linux Agent

    More information

    Here are some distributions along with their required packages (all dependencies should be installed as well):

    RHEL, CentOS, Fedora Core, Scientific Linux:

    • kernel-X-[kernel version] (where X shows an edition of kernel such as smp, PAE, hugemem, etc. it shows as [kernel version]X with 'uname -r' command)
    • kernel-X-devel-[kernel version]
    • gcc (the same version the 'cat /proc/version' command shows)‏

    CentOS, RHEL, SLES, OpenSuse:

    • kernel-[kernel version]
    • kernel-source
    • gcc

    Debian and Debian based ({K,X,Ed}ubuntu, Knoppix):

    • linux-image-[kernel version]
    • linux-headers-[kernel version]
    • gcc (build-essential package for *buntu system)

    If there are any issues with compiling the module, please get Linux System Report and contact Acronis Support with reference to this article.