Installing Veeam Agent for Linux in Offline Mode
If a computer where you want to install Veeam Agent for Linux has no connection to the internet, for example, for security reasons, you can install Veeam Agent in the offline mode. In this scenario, you do not need to download and install the Veeam software repository installation package ( veeam-release ). Instead, you need to download all Veeam Agent packages from the Veeam software repository and install them on the target computer.
To install Veeam Agent for Linux:
- On a computer that is connected to the internet, download Veeam Agent packages intended for your Linux distribution from the Veeam software repository .
- Veeam Agent for Linux packages in the Debian format reside in the following folders of the Veeam software repository:
- /backup/linux/agent/dpkg/debian/public/pool/veeam/v/veeam/
- /backup/linux/agent/dpkg/debian/public/pool/veeam/v/veeamsnap/
- /backup/linux/agent/dpkg/debian/public/pool/veeam/b/blksnap/
- /backup/linux/agent/dpkg/debian/public//pool/veeam/v/veeam-nosnap/
- For RPM packages, the Veeam Agent directory has the following structure: Package format > Distribution > Version > Architecture .
For example, Veeam Agent packages for 64-bit RHEL 8 reside in the /rpm/el/8/x86_64/ folder of the Veeam software repository, and packages for 64-bit SLES 15 SP3 reside in the /rpm/sles/SLE_15_SP3/x86_64/ folder.
- Save Veeam Agent packages to a directory that can be accessed from the computer where you want to install the product, for example, a directory on a local drive or USB drive, or a network shared folder.
- On the computer where you want to install Veeam Agent , navigate to the directory where you have saved the packages and install Veeam Agent :
- Installing Veeam Agent for Linux in CentOS 7 / RHEL
- Installing Veeam Agent for Linux in Oracle Linux
- Installing Veeam Agent for Linux in Fedora
- Installing Veeam Agent for Linux in SLES
- Installing Veeam Agent for Linux in openSUSE
- Installing Veeam Agent for Linux in Debian / Ubuntu
TIP
You can also set up a local mirror of the Veeam software repository in your internal network and add this repository to the list of software sources on a computer where you want to install the product. These operations may differ depending on the Linux distribution and package manager that you use. To learn more, refer to the documentation of your Linux distribution.
After you add a local repository to the list of software sources on a computer, you will be able to install and upgrade Veeam Agent in a regular way. To learn more, see Installing Veeam Agent for Linux and Upgrading Veeam Agent for Linux .
To install Veeam Agent for Linux, use the following commands:
rpm -i <. >/kmod-veeamsnap-6.0.2.1168-2.6.32_131.0.15.el6.i386.rpm
rpm -i <. >/veeam-6.0.2.1168-1.el6.i386.rpm
rpm -i <. >/kmod-veeamsnap-6.0.2.1168-2.6.32_131.0.15.el6.x86_64.rpm
rpm -i <. >/veeam-6.0.2.1168-1.el6.x86_64.rpm
rpm -i <. >/kmod-veeamsnap-6.0.2.1168-1.el7.x86_64.rpm
rpm -i <. >/veeam-6.0.2.1168-1.el7.x86_64.rpm
rpm -i <. >/kmod-veeamsnap-6.0.2.1168-1.el8.x86_64.rpm
rpm -i <. >/veeam-6.0.2.1168-1.el8.x86_64.rpm
rpm -i <. >/kmod-blksnap-6.0.2.1168-1.el9.x86_64.rpm
rpm -i <. >/veeam-6.0.2.1168-1.el9.x86_64.rpm
<. >— path to a directory where you have saved Veeam Agent packages.
NOTE
The pre-built veeamsnap binaries require kernel 2.6.32-131.0.15 or later for RHEL 6 (excluding 2.6.32-279.el6.i686) and kernel 3.10.0-123 or later for CentOS / RHEL 7.0 – 7.7 to operate.
To install Veeam Agent for Linux, use the following commands:
rpm -i <. >/veeamsnap-6.0.2.1168-1.noarch.rpm
rpm -i <. >/veeam-6.0.2.1168-1.el6.i386.rpm
rpm -i <. >/veeamsnap-6.0.2.1168-1.noarch.rpm
rpm -i <. >/veeam-6.0.2.1168-1.el6.x86_64.rpm
rpm -i <. >/veeamsnap-6.0.2.1168-1.noarch.rpm
rpm -i <. >/veeam-6.0.2.1168-1.el7.x86_64.rpm
rpm -i <. >/veeamsnap-6.0.2.1168-1.noarch.rpm
rpm -i <. >/veeam-6.0.2.1168-1.el8.x86_64.rpm
rpm -i <. >/blksnap-6.0.2.1168-1.noarch.rpm
rpm -i <. >/veeam-6.0.2.1168-1.el9.x86_64.rpm
<. >— path to a directory where you have saved Veeam Agent packages.
To install Veeam Agent for Linux, use the following commands:
rpm -i <. >/blksnap-6.0.2.1168-1.noarch.rpm
rpm -i <. >/veeam-6.0.2.1168-1.fc34.x86_64.rpm
<. >— path to a directory where you have saved Veeam Agent packages.
To install Veeam Agent for Linux, use the following commands:
zypper in <. >/veeamsnap-kmp-default-6.0.2.1168_k4.12.14_94.41-sles12.4.x86_64.rpm
zypper in <. >/veeam-6.0.2.1168-1.sle12.x86_64.rpm
zypper in <. >/veeamsnap-kmp-default-6.0.2.1168_k4.12.14_120-sles12.5.x86_64.rpm
zypper in <. >/veeam-6.0.2.1168-1.sle12.x86_64.rpm
zypper in <. >/veeamsnap-kmp-default-6.0.2.1168_k4.12.14_195-sles15.1.x86_64.rpm
zypper in <. >/veeam-6.0.2.1168-1.sle15.x86_64.rpm
For SLES 15 SP2 with default kernel
zypper in <. >/veeamsnap-kmp-default-6.0.2.1168_k5.3.18_22-sles15.2.x86_64.rpm
zypper in <. >/veeam-6.0.2.1168-1.sle15.x86_64.rpm
For SLES 15 SP2 with preemptive kernel
zypper in <. >/veeamsnap-kmp-preempt-6.0.2.1168_k5.3.18_22-sles15.2.x86_64.rpm
zypper in <. >/veeam-6.0.2.1168-1.sle15.x86_64.rpm
For SLES 15 SP3 with default kernel
zypper in <. >/blksnap-kmp-default-6.0.2.1168_k5.3.18_57-sles15.3.x86_64.rpm
zypper in <. >/veeam-6.0.2.1168-1.sle15.x86_64.rpm
For SLES 15 SP3 with preemptive kernel
zypper in <. >/blksnap-kmp-preempt-6.0.2.1168_k5.3.18_57-sles15.3.x86_64.rpm
zypper in <. >/veeam-6.0.2.1168-1.sle15.x86_64.rpm
zypper in <. >/blksnap-kmp-default-6.0.2.1168_k5.14.21_150400.22-sles15.4.x86_64.rpm
zypper in <. >/veeam-6.0.2.1168-1.sle15.x86_64.rpm
<. >— path to a directory where you have saved Veeam Agent packages.
To install Veeam Agent for Linux, use the following commands:
zypper in <. >/blksnap-6.0.2.1168-1.sle.noarch.rpm
zypper in <. >/veeam-6.0.2.1168-1.suse.x86_64.rpm
For openSUSE Leap 15.3 with default kernel
zypper in <. >/blksnap-kmp-default-6.0.2.1168_k5.3.18_59.10-opensuse_leap15.3.x86_64.rpm
zypper in <. >/veeam-6.0.2.1168-1.sle15.x86_64.rpm
For openSUSE Leap 15.3 with preemptive kernel
zypper in <. >/blksnap-kmp-preempt-6.0.2.1168_k5.3.18_59.10-opensuse_leap15.3.x86_64.rpm
zypper in <. >/veeam-6.0.2.1168-1.sle15.x86_64.rpm
zypper in <. >/blksnap-kmp-default-6.0.2.1168_k5.14.21_150400.22-opensuse_leap15.4.x86_64.rpm
zypper in <. >/veeam-6.0.2.1168-1.sle15.x86_64.rpm
<. >— path to a directory where you have saved Veeam Agent packages.
To install Veeam Agent for Linux, use the following commands:
For Debian 10 / Ubuntu 16.04, 18.04, 20.04 (kernel 5.4)
dpkg -i <. >/veeamsnap_6.0.2.1168_all.deb
dpkg -i <. >/veeam_6.0.2.1168_amd64.deb
For Debian 11 / Ubuntu 22.04 and 22.10
dpkg -i <. >/blksnap_6.0.2.1168_all.deb
dpkg -i <. >/veeam_6.0.2.1168_amd64.deb
<. >— path to a directory where you have saved Veeam Agent packages.
Deploying Veeam Agent for Linux
To deploy Veeam Agent for Linux using setup files generated by Veeam Backup & Replication, perform the following operations:
TIP
You can also find detailed instructions on the Veeam Agent deployment in the readme.txt file that is available among the setup files generated by Veeam Backup & Replication .
To install Veeam Agent for Linux and all the required components, do the following:
Keep in mind that you must use Veeam Agent setup files that are generated by Veeam Backup & Replication after the protection group for pre-installed Veeam Agents is created. To learn more, see Specifying Packages .
- Navigate to the directory where you have saved setup files and install Veeam Agent . This procedure is similar to the installation of the Veeam Agent for Linux in the offline mode. For details, see the Installing Veeam Agent for Linux in Offline Mode section in the Veeam Agent for Linux User Guide.
Keep in mind that if you use the APT package manager and the installation command reports that some dependencies for package not installed, run the following command instead:
After that, repeat the Veeam Agent installation procedure.
To configure Veeam Agent for Linux, you must apply connection settings from the configuration file that you obtained when the protection group for pre-installed Veeam Agents was created. To do this, run the following command from the directory where Veeam Agent setup files are located:
veeamconfig mode setVBRsettings —cfg .xml
where is a name of the protection group for pre-installed Veeam Agents. Alternatively, you can specify the full path to the configuration file passed with the — cfg option.
Consider that the connection between Veeam Backup & Replication and Veeam Agent is not persistent. Veeam Agent synchronizes with Veeam Backup & Replication every 6 hours. After you apply new backup policy settings in the Veeam Backup & Replication console, Veeam Agent will get these settings during the next synchronization.
To synchronize Veeam Agent immediately, run the following command on the Veeam Agent computer:
Installing Veeam Agent for Linux
TIP
If the computer where you want to install Veeam Agent for Linux is not connected to the internet, you can download and install Veeam Agent for Linux packages manually.
- Navigate to the directory where you have saved the veeam-release package and install the package with the following commands:
For CentOS 7 / RHEL / Oracle Linux / Fedora
rpm -ivh ./veeam-release* && yum check-update
zypper in ./veeam-release* && zypper refresh
dpkg -i ./veeam-release* && apt-get update
For CentOS 7 / RHEL / Fedora / Oracle Linux
NOTE
[For CentOS 7 / RHEL 6 — 8] If the dkms package is already installed in the OS, you can install Veeam Agent with one of the following commands:
With this command, the veeamsnap kernel module will be installed from the source RPM package using dkms .
With this command, the non-DKMS version of the veeamsnap kernel module will be installed from the pre-built kmod-veeamsnap binary package.
For openSUSE Leap 15.3 and 15.4 with default kernel
zypper in veeamsnap-kmp-default
zypper in veeam
For openSUSE Leap 15.3 and 15.4 with preemptive kernel
zypper in blksnap-kmp-preempt
zypper in veeam
For SLES 12 SP4 — SP5, 15 SP1 — SP2 with default kernel
zypper in veeamsnap-kmp-default
zypper in veeam
For SLES 12 SP4 — SP5, 15 SP1 — SP2 with preemptive kernel
zypper in veeamsnap-kmp-preempt
zypper in veeam
For SLES 15 SP3 — SP4 with default kernel
zypper in blksnap-kmp-default
zypper in veeam
For SLES 15 SP3 — SP4 with preemptive kernel
zypper in blksnap-kmp-preempt
zypper in veeam
For Debian 10 / Ubuntu 16.04, 18.04 and 20.04 (kernel 5.4)
For Debian 11 / Ubuntu 22.04 and 22.10
apt-get install blksnap veeam
The following dependency packages may require special handling in case you see installation errors:
- The dkms package is not present in default repositories for some Linux distributions. You should obtain it from third-party repositories:
- EPEL repository (for CentOS / RHEL / Oracle Linux / Fedora)
- Packman repository (for openSUSE). To learn more , see Installing dkms in openSUSE .
For SLES, the dkms package is not available in the Packman repository. You must use the package intended for openSUSE. To learn more, see this Veeam KB article .
- Extended kernels, such as kernel-pae , kernel-uek and other, require appropriate kernel-devel packages to be installed, for example, kernel-pae-devel , kernel-uek-devel , and so on.
Version of the kernel-devel package must match your current kernel version. To check your current kernel version, run the uname -r command.
[For RHEL and derivatives] If the yum package manager installs packages that do not match your current kernel version, you should either update your system or fetch older versions of the required packages from the CentOS Vault repository .
In openSUSE systems, while installing the dkms package, you may see an error similar to the following:
Problem: nothing provides kernel-devel needed by dkms-2.2.0.3-14.1.noarch
Solution 1: do not install dkms-2.2.0.3-14.1.noarch
Solution 2: break dkms-2.2.0.3-14.1.noarch by ignoring some of its dependencies
To install the dkms package, do the following:
- Make sure that you have an appropriate kernel-devel package installed and its version matches your kernel version. For example:
root@localhost:~> rpm -qa | grep kernel-default
kernel-default-devel-3.0.101-91.1
kernel-default-3.0.101-91.1
zypper -n install —force dkms