0% found this document useful (0 votes)
124 views

Amanda

This document provides step-by-step instructions for installing and configuring Amanda Backup on a CentOS 7 server to backup a client system. The steps include: 1) Installing Amanda server packages and dependencies on the server; 2) Configuring Amanda directories, the configuration file, and disklist; 3) Testing the backup with amcheck and amdump; 4) Scheduling backups with crontab. Additional steps describe installing the Amanda client packages on the backup client system.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
124 views

Amanda

This document provides step-by-step instructions for installing and configuring Amanda Backup on a CentOS 7 server to backup a client system. The steps include: 1) Installing Amanda server packages and dependencies on the server; 2) Configuring Amanda directories, the configuration file, and disklist; 3) Testing the backup with amcheck and amdump; 4) Scheduling backups with crontab. Additional steps describe installing the Amanda client packages on the backup client system.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

In this Video, Detailed Step by Step Instructions are being done on Installing &

Configuring Amanda Backup on Centos 7 Server.

Website:

www.amanda.org

Steps to Install and Configure Amanda Backup Server & Client on Centos 7 Server are
as follows:

Setting up Amanda Backup Server on Centos 7

A. Install and Configure Amanda Backup Server


B. Set Backup Parameters
C. Verify the Configuration and Verify the Backup
D. Install and Configure the Amanda Linux Clients
for Backup

Install EPEL repository


#yum install epel-release

Step 1: Installing Amanda on Centos 7

Setting up the hostname


#hostnamectl set-hostname amanda-server
#vi /etc/hosts
ip address amanda-server amanda-server.centos.com

Update the Centos OS fully


#yum update

Install Amanda Server


#yum install amanda*

Install Add on Packages


# yum install xinetd gnuplot perl-ExtUtils-Embed

Step 2. Starting Xinetd Serviyce


#service xinetd restart
#systemctl restart xinetd.service
#service xinetd status

Verify the Amanda Installation


#amadmin --version

Step 3: Amanda Configurations Setup

Make some directories


#mkdir -p /amanda /etc/amanda
#chown amandabackup /amanda /etc/amanda

Now switch to your 'amandabackup' user


and run the following commands.
# su amandabackup
# mkdir -p /amanda/vtapes/slot{1,2,3,4}
# mkdir -p /amanda/holding
# mkdir -p /amanda/state/{curinfo,log,index}
# mkdir -p /etc/amanda/MyConfig
Editing Amanda.conf file
#vi /etc/amanda/MyConfig/amanda.conf

Add the following lines as such

org "MyConfig"
infofile "/amanda/state/curinfo"
logdir "/amanda/state/log"
indexdir "/amanda/state/index"
dumpuser "amandabackup"

tpchanger "chg-disk:/amanda/vtapes"
labelstr "MyData[0-9][0-9]"
autolabel "MyData%%" EMPTY VOLUME_ERROR
tapecycle 4
dumpcycle 3 days
amrecover_changer "changer"

tapetype "TEST-TAPE"
define tapetype TEST-TAPE {
length 100 mbytes
filemark 4 kbytes
}

define dumptype simple-gnutar-local {


auth "local"
compress none
program "GNUTAR"
}

holdingdisk hd1 {
directory "/amanda/holding"
use 50 mbytes
chunksize 1 mbyte
}

Next, we will add a 'disklist' file with a single


disk list entry (DLE). The 'disklist' file
determines which disks will be backed up by Amanda.
The file contains includefile directive or
disklist entry. General usage was to
describe a DLE as a partition, or file system.

#vi /etc/amanda/MyConfig/disklist
Type the following

localhost /etc simple-gnutar-local

Save and close the file

Step 4: Check Amanda Configuration


# amcheck MyConfig

Step 5: Run Test Backup


#amdump MyConfig
It will take some seconds but no output would be there

#echo $?
You will get "0" as output"

#amreport MyConfig

Step 6: Amanda Backup Scheduling


#crontab -e

Type the following


0 17 * * * amandabackup /usr/sbin/amcheck -m MyConfig
15 2 * * * amandabackup /usr/sbin/amdump MyConfig

Exit from User


#exit

Step 7: Amanda Backup Client Installation


#yum install amanda-client xinetd

Amanda is Configured Properly...

You might also like