AGIX Discussion Security HowTo's

Backup With Veeam on Redhat/CentOS 6 & 7

This is a short HowTo for configuring scheduled backups with Veeam on Redhat and CentOS 6 and 7. You will need to sign-up with Veeam for a free account to download the client.

Veeam for Linux is free. What that means is that you can download it and configure backups without cost. So why pay? If you want to have a Veeam server where everything is centrally controlled, you’d need to pay. But if you simply want to backup to NFS (for example), then you’re in luck. The free version will do.

When you download the client (having created a free Veeam account and logged in) you will have to select the suitable version. In this example, I’ve gone with Redhat version 7.

Tip: You can download the Linux Veeam client from “https://www.veeam.com/linux-backup-free.html”.

Install Veeam:

rpm -ihv veeam-release-el7-1.0-1.x86_64.rpm
yum clean all
yum install veeam

Create the repo:

veeamconfig repository create --name FileLevelRepo-`hostname` --location /mnt/efs

Create the backup job:

veeamconfig job create filelevel --name FileLevelBackup-`hostname` --reponame FileLevelRepo-`hostname` --includedirs /etc,/var/log,/var/www

Get the Job ID:

veeamconfig job list

Create the schedule:

# Where 'job_id' is the job ID from the command 'veeamconfig job list'.
veeamconfig schedule set --jobid job_id --daily --at 22:00

Verify the schedule:

# Where 'job_id' is the job ID from the command 'veeamconfig job list'.
veeamconfig schedule show --jobId job_id

Optionally you can manually start the backup process (to prove it works) using the following:

# Where 'job_id' is the job ID from the command 'veeamconfig job list'.
veeamconfig job start --id job_id

Similar Posts:

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.