
Amanda- an open-source backup and recovery solution that stores all your important, encrypted and compressed backups on local storage and remote file servers. Amanda is designed to back up a large amount of data on servers and workstations running on multiple versions of Linux/ Unix and Windows.
Review this user guide to install Amanda backup server and Amanda backup client.
1. STEPS TO INSTALL AMANDA BACKUP SERVER ON CENTOS 7
1.1 INSTALL AMANDA BACKUP SERVER
- Run through Dependencies for Amanda backup server and ensure all the dependencies are installed before proceeding.
- Login/ssh into the server as user with admin privileges
- To download the install package using ‘wget https://www.zmanda.com/downloads/community/Amanda/3.5.1/Redhat_Enterprise_7.0/amanda-backup_server-3.5.1-1.rhel7.x86_64.rpm’
- Run the install package by using the command ‘rpm -ivh amanda-backup_server-3.5.1-1.rhel7.x86_64.rpm’
- Reload the xinetd service by running ‘service xinetd reload’
- Logout of the server
2 STEPS TO INSTALL AMANDA BACKUP CLIENT ON CENTOS 7
2.1 INSTALL AMANDA BACKUP CLIENT
- Run through Dependencies for Amanda backup client and ensure all the dependencies are installed before proceeding.
- Login/ssh into the client as user with admin privileges
- To download the install package using ‘wget https://www.zmanda.com/downloads/community/Amanda/3.5.1/Redhat_Enterprise_7.0/amanda-backup_client-3.5.1-1.rhel7.x86_64.rpm’
- Run the install package by using the command ‘rpm -ivh amanda-backup_client-3.5.1-1.rhel7.x86_64.rpm’
- Run command ‘vi /etc/xinetd.d/amandaclient’ and paste the following contents:
# default: on
#
# description: Amanda services for Amanda server and client.
#
service amanda
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = amandabackup
group = disk
groups = yes
server = /usr/lib/amanda/amandad
server_args = -auth=bsdtcp amdump amindexd amidxtaped
} - Reload the xinetd service by running ‘service xinetd reload’
- Logout of the client
2.2 UNLOCK THE AMANDABACKUP USER
- Login/ssh into the client as user with admin privileges
- Unlock the amandabackup user using ‘passwd -u amandabackup’
- Assign a password for the amanddabackup user using ‘passwd amandabackup’
- Logout of the client
2.3 CONFIGURE AMANDA BACKUP CLIENT
- Login /ssh into the server as amandabackup user
- Add the location of the server using the command ‘echo IP_ADDRESS_OF_SERVER amandabackup amdump >> /var/lib/amanda/.amandahosts’
- Specify appropriate permissions for the file using ‘chmod 700 /var/lib/amanda/.amandahosts’
3. APPENDIX
3.1 DEPENDENCIES FOR AMANDA BACKUP SERVER
- Login/ssh into the server as user with admin privileges
- Update the packages using “yum update” (optional). If it gives error as “Cannot find a valid baseurl for repo” then run the following command “dhclient”. This should re-generate a file “/etc/resolv.conf”.
- Install wget to fetch the install packages using ‘yum install wget’
- Install the required dependencies using ‘yum install glib* xinetd perl-Data-Dumper perl-Encode-Locale perl-JSON perl-URI-Escape perl-XML-Simple’
- Logout of the server
3.2 ADDITIONAL CHECKS FOR AMANDA BACKUP SERVER
- After installing amanda-backup_server rpm, if “service xinetd reload” is giving any error, then do the following:
a. Uninstall “amanda-backup_server” using command:
“rpm -e amanda-backup_server-3.5.1-1.rhel7.x86_64.rpm”
b. Then uninstall xinetd package using command:
“rpm -e <xinetd package name>”.
c. To get the exact name of xinetd package use the command:
“rpm -qa | grep xinetd”
d. Install xinetd package using command:
“yum install xinetd”d.
Start xinetd service using command:
“service xinetd start”
e. Install Amanda server package using command:
“rpm –ivh amanda-backup_server-3.5.1-1.rhel7.x86_64.rpm”
f. Reload xinetd service using command:
“service xinetd reload”
- Check the hostname of the server system is set correctly.
Use “hostname” command to set - Check the permission of file “/etc/amanda/amanda-security.conf”.
The permission should be “644”. Use the following command to change the permission:
“chmod 644 /etc/amanda/amanda-security.conf”
3.3 DEPENDENCIES FOR AMANDA BACKUP CLIENT
- Login/ssh into the server as user with admin privileges
- Update the packages using ‘yum update’ (optional)
- Install wget to fetch the install packages using ‘yum install wget’
- Install the required dependencies using ‘yum install glib* xinetd perl-Data-Dumper perl-Encode-Locale perl-JSON perl-URI- Escape perl-XML-Simple’
- Install the perl using ‘yum install perl’
CONCLUSION:
A one-stop solution that solves all the data protection challenges.
Get Started! Don’t Wait-Install Today!