Download latest EL7 RPMs from Veeam repository.

[root@openvz7 ~] # wget
[root@openvz7 ~] # wget

Install the required dependencies

[root@openvz7 ~] # yum install dkms vzkernel-headers-$(uname -r) vzkernel-devel-$(uname -r)

Install VeeamSnap and wait for the kernel module to be compiled

[root@openvz7 ~] # rpm -ivh veeamsnap-

Load veeamsnap kernel module

[root@openvz7 ~] # modprobe veeamsnap

You can verify that the module is lodaded with lsmod

[root@openvz7 ~]# lsmod | grep veeamsnap
veeamsnap             179802  0 

Install Veeam Agent

[root@openvz7 ~]# rpm -ivh veeam-

Verify that the service is running

[root@openvz7 ~]# systemctl status veeamservice
● veeamservice.service - Veeam Agent for Linux service daemon
   Loaded: loaded (/usr/lib/systemd/system/veeamservice.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2021-03-10 07:14:46 EST; 10s ago
  Process: 521861 ExecStart=/usr/sbin/veeamservice --daemonize --pidfile=${PIDFILE} (code=exited, status=0/SUCCESS)
 Main PID: 521904 (veeamservice)
    Tasks: 45
   CGroup: /system.slice/veeamservice.service
           └─521904 /usr/sbin/veeamservice --pidfile /var/run/ --daemon

Now, you can add your OpenVZ server in Veeam Backup and Replication.

Copyright 2021 Tsvetan Gerov | CC BY-SA 2.0