Refer to the steps below on how to install Veeam Agent for Linux 3.0 on CentOS 7.5 & ubuntu 18.04 in our lab to test the functionality in our lab enviroment
Veeam Agent for Linux 3.0 is just released on 22 Jan, 2019, and CentOS / RHEL 7.6 is supported now
A. Preparation of ubuntu 18.04
Most of the prerequisite of Veeam Agent for Linux had been installed in ubuntu 18.04, and you can just download veeam-release-deb_1.0.5_amd64.deb from Veeam Portal and upload it to /tmp
- Start the installation of Veeam Agent for Linux
#Switch to root and install
su -
#Import the deb file
dpkg -i /tmp/veeam-release* && apt-get update
#Install veeam
apt-get install veeam
Optional Steps – You can verify the version installed with commands below
#Verify version installed
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04 LTS
Release: 18.04
Codename: bionic
#List software installed
sudo apt list --installed
#Verify Kernel version installed - Kernel Header is installed by default
apt search linux-headers-$(uname -r)
Sorting... Done
Full Text Search... Done
linux-headers-4.15.0-43-generic/bionic-updates,bionic-security,now 4.15.0-43.46 amd64 [installed,automatic]
Linux kernel headers for version 4.15.0 on 64 bit x86 SMP
B. Preparation of CentOS 7.5
Disabled the upgrade of CentOS 7.5 to latest version as Veeam Agent for Linux 2.0 can support up to CentOS 7.5 for now. In addtional to that,
#Verify version installed
cat /etc/centos-release
CentOS Linux release 7.5.1804 (Core)
#Disabled CentOS 7.5 to upgrade to latest version
vi /etc/yum.conf
exclude=centos-release*
#Update to latest
yum update
#verify kernel-devel is installed, else install it
yum list installed | grep kernel*
#Around 74MB for kernel-devel
yum install kernel-devel
#Add extra repositories - Optional Steps
yum install epel-release
- Download veeam-release-el7-1.0.5-1.x86_64.rpm from Veeam Portal and upload it to /tmp in CentOS 7.5 Server
- install veeam package
rpm -ivh /tmp/veeam-release* && yum check-update
- Install veeam backup agent if CentOS is connected to Internet
yum install veeam
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.netonboard.com
* epel: epel.mirror.angkasa.id
* extras: centos.netonboard.com
* updates: centos.netonboard.com
Resolving Dependencies
--> Running transaction check
---> Package veeam.x86_64 0:3.0.0.865-1.el7 will be installed
--> Processing Dependency: veeamsnap = 3.0.0.865 for package: veeam-3.0.0.865-1.el7.x86_64
--> Processing Dependency: fuse-libs for package: veeam-3.0.0.865-1.el7.x86_64
--> Running transaction check
---> Package fuse-libs.x86_64 0:2.9.2-11.el7 will be installed
---> Package kmod-veeamsnap.x86_64 0:3.0.0.865-1.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==========================================================================================================================================================================================
Package Arch Version Repository Size
==========================================================================================================================================================================================
Installing:
veeam x86_64 3.0.0.865-1.el7 veeam 40 M
Installing for dependencies:
fuse-libs x86_64 2.9.2-11.el7 base 93 k
kmod-veeamsnap x86_64 3.0.0.865-1.el7 veeam 104 k
Transaction Summary
==========================================================================================================================================================================================
Install 1 Package (+2 Dependent packages)
Total download size: 40 M
Installed size: 104 M
Is this ok [y/d/N]:
- Veeam Agent for Linux can be easily upgraded to the latest version with
yum update veeam
Veeam Agent for Linux is installed successfully in CentOS 7.5.
Recovery Media for Bare Metal Restore
Prepare the Recovery Media for Bare Matel Restore in the event the Physical Server is having problem
- Download Veeam Recovery Media
#Download
curl http://repository.veeam.com/backup/linux/agent/veeam-recovery-media/x64/veeam-recovery-media-2.0.1.665.iso --output /tmp/veeam-recovery-media-2.0.1.665.iso
- Create the Reovery Media (ISO file) by injecting customize drivers required by the Physical Server
yum install genisoimage curl
#Creating Custom Recovery Media
veeamconfig config patchiso --input /tmp/veeam-recovery-media-2.0.1.665.iso --output /tmp/veeam-recovery-media-VM-RHEL76.iso
Creating custom Veeam Recovery Media...
Custom Veeam Recovery Media has been created successfully
Burn the ISO file to CD / DVD and keep it safely for Disaster Recovery purpose.
Veeam Agent for Linux Control Panel
Refer to Free Edition of Veeam Agent for Linux for features comparison between FREE vs Paid version and We are going to use the FREE version in this lab.
- Start Veem Agent for Linux Control Panel
veeam
- Accept the License Agreement
- Click Next to continue as we had created the Recovery Media
- Select Server and leave the File Location empty as we are going to use the FREE version
- Press C to create the first backup job
- Enter Job Name
- Select Entire Machine (Recommended)
- Select Veeam Backup & Replication – Veeam Repository 9.5U4 or later is required
- Enter the IP Address of Veeam Backup Server / Repository with valid credential
- Select the Repository configured and specify the Restore Points to keep
- Click Next to continue
- Modify the backup schedule
- Start the Backup Job
- Backup Job is completed successfully
- Verify the Backup Job is created in Veeam Backup Manager Server and the Backup File is in the Veeam Repository