Install Veeam Agent for Linux 4.0

Содержание

In this page, you can find an explanation of how to install and use Veeam Agent for Linux 4.0.

Table of contents

Prerequisites:

The computer on which you plan to install Veeam Agent for for Linux 4.0 must satisfy system requirements.

To install Veeam Agent for Linux software packages, you must use the root account or any user account that has super user root privileges on the computer where you plan to install the product.

Veeam Agent for Linux software packages have the following dependencies:

lvm2 — required by the veeamconfig package to support operations with LVM volumes.

dkms — required by the veeamsnap package for building the kernel module for Veeam Agent for Linux Driver.

These dependencies do not apply to CentOS, RHEL and SLES distributions. For these distributions, there is no need to build the veeamsnap kernel module with DKMS. Instead, you can install it from a pre-built binary package provided by Veeam. To learn more, see Installing Veeam Agent for Linux.

To install Veeam Agent for Linux, you need:

Download the Veeam software repository installation package (veeam-release) from the Veeam Download page, and save the downloaded package on the computer where you plan to install the product.

Navigate to the directory where you have saved the veeam-release package and install the package with the following commands:

For CentOS / RHEL / Oracle Linux / Fedora

For openSUSE / SLES

For Debian / Ubuntu

Install Veeam Agent for Linux packages from the Veeam software repository. To install Veeam Agent for Linux, you can use a package manager of your choice that works with software packages in your Linux distribution. For example, use the following commands:

For CentOS / RHEL / Fedora

For Oracle Linux

For openSUSE Tumbleweed

For openSUSE Leap 15.1

For SLES with Default kernel

For SLES with Trace kernel

For SLES with Xen kernel

For SLES with PAE kernel

For Debian / Ubuntu

Managing Package Dependencies

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 / SLES).

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.

Installing dkms in openSUSE / SLES

In openSUSE / SLES systems, while installing the dkms package, you may see an error similar to the following:

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:

Install the dkms package ignoring dependencies:

Make sure that you have allowed unsupported modules. To learn more, see this SUSE webpage.

Upgrading Veeam Agent for Linux

For Veeam Agent for Linux, upgrade to newer supported versions. You can start the upgrade process when the new version becomes available.

During the upgrade process, configuration and backup files that were created with the previous version of Veeam Agent are not impacted in any way.

Before starting the upgrade process, make sure that there are no jobs running on the Veeam Agent computer.

Upgrading Veeam Agent for Linux in CentOS / RHEL

To upgrade Veeam Agent for Linux, use the following commands:

or

With these commands, a pre-built veeamsnap binary package will be installed in your system. To stay on the DKMS version of the veeamsnap kernel module, use the following command for upgrade:

Upgrading Veeam Agent for Linux in Fedora / Oracle Linux

To upgrade Veeam Agent for Linux, use the following command:

Upgrading Veeam Agent for Linux in openSUSE

To upgrade Veeam Agent for Linux, use the following commands:

For openSUSE Tumbleweed

For openSUSE Leap 15.1

With these commands, a pre-built veeamsnap binary package will be installed in your system. The –force key is required to properly replace the missing link to .ko in case of update from the DKMS version of the veeamsnap kernel module to a pre-built binary. To stay on the DKMS version, use the following command for upgrade:

Upgrading Veeam Agent for Linux in SLES 11 SP4

To upgrade Veeam Agent for Linux, use the following commands:

For Default kernel

For Xen kernel

For Trace kernel

For PAE kernel

With these commands, a pre-built veeamsnap binary package will be installed in your system. The –force key is required to properly replace the missing link to .ko in case of update from the DKMS version of the veeamsnap module to a pre-built binary. To stay on the DKMS version, use the following command for upgrade:

Upgrading Veeam Agent for Linux in SLES 12 SP1 – SLES 15 SP1

Download the Veeam software repository installation package (veeam-release) from the Veeam Download page, and save the downloaded package on the computer where you plan to install the product.

Install the Veeam software repository installation package with the following command:

Upgrade Veeam Agent for Linux with the following commands:

For Default kernel

For Xen kernel

With these commands, a pre-built veeamsnap binary package will be installed in your system. The –force key is required to properly replace the missing link to .ko in case of update from the DKMS version of the veeamsnap module to a pre-built binary. To stay on the DKMS version, use the following command for upgrade:

Upgrading Veeam Agent for Linux in Debian / Ubuntu

To upgrade Veeam Agent for Linux, use the following commands:

Granting Permissions to Users

When you install Veeam Agent for Linux, the product program files are placed to the folders on the system volume. For full access to Veeam Agent files, super user (root) privileges are required. Rights to execute product files and run commands are also granted to users that belong to the veeam group.

The veeam group is automatically created by Veeam Agent at the process of the product installation. So that regular users can work with Veeam Agent without having to obtain the root privileges, you can add the necessary users to this group. Users in the veeam group will be able to execute Veeam Agent commands, perform backup and restore tasks under regular user account.

To add a user to the veeam group, in most of Linux distributions you can use the following command:

where:

For example:

Consider the following:

To add a user to the veeam group, you must have super user (root) privileges in the Linux OS.

After the user is added to the veeam group, the user must re-login to the Linux OS.

Add only trusted users to the veeam group. Veeam Agent for Linux daemon runs and executes commands and scripts with the super user privileges. Thus, users who belong to this group can potentially escalate their privileges through the creative use of pre-freeze/post-thaw or pre-job/post-job scripts.

To check whether the user who is currently logged in to the Linux OS is added to the veeam group, you can use the following command:

For example:

Installing Product License

At the License step of the initial setup wizard, install the license. You can choose to install the license immediately or postpone this operation.

If you choose to install the license, you can immediately browse for the license key on your computer and complete the license installation process.

If you choose to postpone the license installation process, you will be able to install a license later at any time you need.

Until you install a license, Veeam Agent for Linux will operate in the Free edition. To learn more, see Product Editions.

To install a license:

In the File location field, specify a path to the license key:

Select the Browse option with the Tab key and press Enter.

In the Choose license file location window, select the necessary directory and press Enter.

Repeat the step ‘a’ until a path to the directory in which the license key resides appears in the Current directory field.

In the directory where the license key resides, select the license key and press Enter.

In the Choose agent edition to use on this computer section, select the product edition in which Veeam Agent will operate and press Enter to install the license and finish working with the initial setup wizard.

Consider the following:

If you do not want to install a license, to finish working with the initial setup wizard, switch to the Finish button with the Tab key and press Enter. You can view information about the installed license (expiration date, status of the license, current edition of the product and so on) in the Veeam Agent control panel or using the Veeam Agent command line interface. To learn more, see Viewing License.

Configuring Advanced Settings

HTTP Proxy Settings

If you want to use Veeam Agent for Linux to back up your data to a Veeam Cloud Connect repository, it might be required that you specify HTTP proxy settings for Veeam Agent.

Veeam Agent computer needs access to CRLs (Certificate Revocation Lists) of the CA (Certification Authority) who issued a certificate to the Veeam Cloud Connect service provider. In case it is not possible to establish a direct connection to CRLs, you must configure an HTTP proxy and specify settings to connect to the proxy in Veeam Agent.

To specify settings for an HTTP proxy, uncomment and edit the following lines in the [cloudconnect] section of the /etc/veeam/veeam.ini configuration file:

where:

— password of the account used to connect to the HTTP proxy.

If the proxy does not require authentication, you do not need to specify the account name and password. Keep in mind that only the basic authentication method is supported for connection to a proxy.

For example:

Uninstalling Veeam Agent for Linux

To uninstall Veeam Agent for Linux, you need to remove the veeam and veeamsnap packages. For this operation, you can use any package manager that works with software packages in your Linux distribution.


Источник: docs.ventuscloud.eu