How to Install Veeam Agent for Linux? / Linux / CentOS / How to Install Veeam Agent for Linux?

In this article, we will look at how to install Veeam Agent for Linux on CentOS/RHEL/Rocky/Oracle Linux/Debian/Ubuntu.

You can install the Veeam agent manually. You must have python version 3.0 or newer installed on your host. On CentOS 7, you can add the ius repository:

$ sudo nano /etc/yum.repos.d/ius.repo

name = IUS for Enterprise Linux 7 - $basearch
baseurl =$basearch/
enabled = 1
repo_gpgcheck = 0
gpgcheck = 1
gpgkey =

And install python:

$ sudo yum install -y python36 python36-devel python36-pip

Now add the veeam repository:

$ sudo nano /etc/yum.repos.d/veeam.repo

Add the following configuration to the file:


Now install the agent and add your user to the veeam group:

$ sudo yum install -y veeam
$ sudo rpm -e --nodeps veeamsnap
$ sudo yum -y install kmod-veeamsnap
$ sudo usermod -a -G veeam sysops

Note. In my case, I removed the veeamsnap package because when it is installed, I got an error when performing a backup task:

Veeam - Failed to load module [veeamsnap] with parameters [zerosnapdata=1 debuglogging=0].

For RHEL-based distros,
kmod-veeamsnap should be used instead of veeamsnap.

You can also install the Veeam repository:

  • CentOS 8:
    # yum install
  • Debian/Ubuntu:
    # wget
    # apt-get install veeam-release-deb_1.0.7_amd64.deb
    # apt-get install veeam

Re-login the system and start the agent:

$ veeam

Accept the license terms.

veeam agent: accept the license agreement

The Veeam agent installer will prompt you to create a recovery image (a bootable ISO for your Linux host). In this case, you will need to install additional packages:

$ sudo yum -y install squashfs-tools genisoimage xorriso

However, you can skip this step.

Then enter your license key. If you don’t have the key, just click Finish.

assign license for veeam agent for linux

After that, you can create a Veeam backup task for your host. Press the C (Configure) button and follow the steps of the pseudographic wizard to create the job. The following modes are available

  • Entire machine (recommended) – full host backup for fast recovery
  • Volume level backup – backing up specific partitions
  • File level backup – backing up individual directories and files

veeam agent - select backup mode

The backup can be sent to local or remote storage or a network folder (requires CIFS client installed).

set backup destination on veean agent for linux

You can also install the agent on Linux remotely over the network through the Veeam Backup and Replication console.

  1. Go to Inventory -> Physical Infrastructure
  2. Create a Protection Group, set Individual computers type
  3. Add the IP address (or DNS name) of your Linux host and user credentials to the list of computers. install veeam agent on linux remotely via the Veeam Backup and Replication
  4. If you have Veeam Backup and Replication installed with a license, you can use this license for your Linux agent. To do this, go to License -> Instances and enable the option Allow unlicensed agents to consume instance.

Don’t forget to open the following ports on the firewall for access from the Veeam Backup server to the agent on Linux (

  • TCP/22
  • TCP/6162
  • TCP/2500-3300
Leave a Reply

Your email address will not be published. Required fields are marked *