How To Install amanda on CentOS 8

amanda is A network-capable tape backup solution

Introduction

In this tutorial we learn how to install amanda on CentOS 8.

What is amanda

AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a backup system that allows the administrator of a LAN to set up a single master backup server to back up multiple hosts to one or more tape drives or disk files. AMANDA uses native dump and/or GNU tar facilities and can back up a large number of workstations running multiple versions of Unix. Newer versions of AMANDA (including this version) can use SAMBA to back up Microsoft(TM) Windows95/NT hosts. The amanda package contains the core AMANDA programs and will need to be installed on both AMANDA clients and AMANDA servers. Note that you will have to install the amanda-client and/or amanda-server packages as well.

We can use yum or dnf to install amanda on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install amanda.

Install amanda on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install amanda using dnf by running the following command:

sudo dnf -y install amanda

Install amanda on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install amanda using yum by running the following command:

sudo yum -y install amanda

How To Uninstall amanda on CentOS 8

To uninstall only the amanda package we can use the following command:

sudo dnf remove amanda

amanda Package Contents on CentOS 8

/etc/amanda
/etc/amanda/DailySet1
/usr/lib/.build-id
/usr/lib/.build-id/17
/usr/lib/.build-id/17/93e224e355c0caf8fcf3589043d47a76b0992b
/usr/lib/.build-id/25
/usr/lib/.build-id/25/98facf624df5d3520459889f2312751a633d0d
/usr/lib/.build-id/25/bd8728d29064658554cadc034bd9f21f2d0441
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/c67a08ab2b6f4719e02418e7b9a2cceb26c474
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/b418acabd17f70665d99efcfc341b3fe8b6957
/usr/lib/.build-id/38
/usr/lib/.build-id/38/afbe68c7d07479c644f7433bada1e23fb27e15
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/0acec4202d39fff82c0101032f47c0d77b702e
/usr/lib/.build-id/52
/usr/lib/.build-id/52/9ce939d16ce6e3aedd71b64ab496464da83e0d
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/987dee968273f977c1ac846f551419ea0be193
/usr/lib/.build-id/61
/usr/lib/.build-id/61/4363f7c5d37dde768bf3e8b679666b9c9c9038
/usr/lib/.build-id/67
/usr/lib/.build-id/67/6b2a798a029dfea2c17f681d83d733fd50c2f9
/usr/lib/.build-id/74
/usr/lib/.build-id/74/98e43d37163063ede670bf3124423fc6402e47
/usr/lib/.build-id/77
/usr/lib/.build-id/77/6407c15405273250fb043244d21363ae66d6af
/usr/lib/.build-id/78
/usr/lib/.build-id/78/ce0face935ada81ef9d6967f7919bdb768b6cd
/usr/lib/.build-id/81
/usr/lib/.build-id/81/45d9b04c43c5bb7a11a423464e3fa957b6345d
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/8341c9787329eda034a381cf6596e77ce3f7d9
/usr/lib/.build-id/af
/usr/lib/.build-id/af/12f9107257832931796a430fd9d98252be62fc
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/0cf52e5f47b5184d33cc1011679e69b64c7db7
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/330310ec682e9c1e8f5d5a8f206a75e2571542
/usr/lib/.build-id/de
/usr/lib/.build-id/de/0130cfdc1122321d1c8b097587e09216731d43
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/8cf0b5453a9b11796ba26eb523e4a1403dee69
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/45ec8556479b35a2d5c2c56cfd6a7ea0ee7350
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/652a1ab9c54b174d1026848111337e8e1695a4
/usr/lib/systemd/system/amanda-udp.service
/usr/lib/systemd/system/amanda-udp.socket
/usr/lib/systemd/system/amanda.socket
/usr/lib/systemd/system/[email protected]
/usr/lib/systemd/system/kamanda.socket
/usr/lib/systemd/system/[email protected]
/usr/lib64/amanda
/usr/lib64/amanda/amanda-sh-lib.sh
/usr/lib64/amanda/amandad
/usr/lib64/amanda/amcat.awk
/usr/lib64/amanda/amndmjob
/usr/lib64/amanda/amplot.awk
/usr/lib64/amanda/amplot.g
/usr/lib64/amanda/amplot.gp
/usr/lib64/amanda/ndmjob
/usr/lib64/perl5/vendor_perl/Amanda
/usr/lib64/perl5/vendor_perl/Amanda/Amdump.pm
/usr/lib64/perl5/vendor_perl/Amanda/Amflush.pm
/usr/lib64/perl5/vendor_perl/Amanda/Amservice.pm
/usr/lib64/perl5/vendor_perl/Amanda/Application
/usr/lib64/perl5/vendor_perl/Amanda/Application.pm
/usr/lib64/perl5/vendor_perl/Amanda/Application/Zfs.pm
/usr/lib64/perl5/vendor_perl/Amanda/Archive.pm
/usr/lib64/perl5/vendor_perl/Amanda/BigIntCompat.pm
/usr/lib64/perl5/vendor_perl/Amanda/Changer
/usr/lib64/perl5/vendor_perl/Amanda/Changer.pm
/usr/lib64/perl5/vendor_perl/Amanda/Changer/aggregate.pm
/usr/lib64/perl5/vendor_perl/Amanda/Changer/disk.pm
/usr/lib64/perl5/vendor_perl/Amanda/Changer/diskflat.pm
/usr/lib64/perl5/vendor_perl/Amanda/Changer/multi.pm
/usr/lib64/perl5/vendor_perl/Amanda/Changer/ndmp.pm
/usr/lib64/perl5/vendor_perl/Amanda/Changer/null.pm
/usr/lib64/perl5/vendor_perl/Amanda/Changer/rait.pm
/usr/lib64/perl5/vendor_perl/Amanda/Changer/robot.pm
/usr/lib64/perl5/vendor_perl/Amanda/Changer/single.pm
/usr/lib64/perl5/vendor_perl/Amanda/CheckDump.pm
/usr/lib64/perl5/vendor_perl/Amanda/Chunker
/usr/lib64/perl5/vendor_perl/Amanda/Chunker/Controller.pm
/usr/lib64/perl5/vendor_perl/Amanda/Chunker/Protocol.pm
/usr/lib64/perl5/vendor_perl/Amanda/Chunker/Scribe.pm
/usr/lib64/perl5/vendor_perl/Amanda/Cleanup.pm
/usr/lib64/perl5/vendor_perl/Amanda/ClientService.pm
/usr/lib64/perl5/vendor_perl/Amanda/Cmdfile.pm
/usr/lib64/perl5/vendor_perl/Amanda/Cmdline.pm
/usr/lib64/perl5/vendor_perl/Amanda/Config
/usr/lib64/perl5/vendor_perl/Amanda/Config.pm
/usr/lib64/perl5/vendor_perl/Amanda/Config/FoldingHash.pm
/usr/lib64/perl5/vendor_perl/Amanda/Constants.pm
/usr/lib64/perl5/vendor_perl/Amanda/Curinfo
/usr/lib64/perl5/vendor_perl/Amanda/Curinfo.pm
/usr/lib64/perl5/vendor_perl/Amanda/Curinfo/Info.pm
/usr/lib64/perl5/vendor_perl/Amanda/DB
/usr/lib64/perl5/vendor_perl/Amanda/DB.pm
/usr/lib64/perl5/vendor_perl/Amanda/DB/Catalog.pm
/usr/lib64/perl5/vendor_perl/Amanda/Debug.pm
/usr/lib64/perl5/vendor_perl/Amanda/Device.pm
/usr/lib64/perl5/vendor_perl/Amanda/Disklist.pm
/usr/lib64/perl5/vendor_perl/Amanda/Extract.pm
/usr/lib64/perl5/vendor_perl/Amanda/Feature.pm
/usr/lib64/perl5/vendor_perl/Amanda/FetchDump
/usr/lib64/perl5/vendor_perl/Amanda/FetchDump.pm
/usr/lib64/perl5/vendor_perl/Amanda/FetchDump/Application.pm
/usr/lib64/perl5/vendor_perl/Amanda/FetchDump/ClientApplication.pm
/usr/lib64/perl5/vendor_perl/Amanda/FetchDump/Local.pm
/usr/lib64/perl5/vendor_perl/Amanda/Header.pm
/usr/lib64/perl5/vendor_perl/Amanda/Holding.pm
/usr/lib64/perl5/vendor_perl/Amanda/IPC
/usr/lib64/perl5/vendor_perl/Amanda/IPC/Binary.pm
/usr/lib64/perl5/vendor_perl/Amanda/IPC/LineProtocol.pm
/usr/lib64/perl5/vendor_perl/Amanda/Index.pm
/usr/lib64/perl5/vendor_perl/Amanda/Interactivity
/usr/lib64/perl5/vendor_perl/Amanda/Interactivity.pm
/usr/lib64/perl5/vendor_perl/Amanda/Interactivity/email.pm
/usr/lib64/perl5/vendor_perl/Amanda/Interactivity/stdin.pm
/usr/lib64/perl5/vendor_perl/Amanda/Interactivity/tty.pm
/usr/lib64/perl5/vendor_perl/Amanda/Interactivity/tty_email.pm
/usr/lib64/perl5/vendor_perl/Amanda/Label.pm
/usr/lib64/perl5/vendor_perl/Amanda/Logfile.pm
/usr/lib64/perl5/vendor_perl/Amanda/MainLoop.pm
/usr/lib64/perl5/vendor_perl/Amanda/Message.pm
/usr/lib64/perl5/vendor_perl/Amanda/NDMP.pm
/usr/lib64/perl5/vendor_perl/Amanda/Paths.pm
/usr/lib64/perl5/vendor_perl/Amanda/Policy.pm
/usr/lib64/perl5/vendor_perl/Amanda/Process.pm
/usr/lib64/perl5/vendor_perl/Amanda/Recovery
/usr/lib64/perl5/vendor_perl/Amanda/Recovery.pm
/usr/lib64/perl5/vendor_perl/Amanda/Recovery/Clerk.pm
/usr/lib64/perl5/vendor_perl/Amanda/Recovery/Planner.pm
/usr/lib64/perl5/vendor_perl/Amanda/Recovery/Scan.pm
/usr/lib64/perl5/vendor_perl/Amanda/Report
/usr/lib64/perl5/vendor_perl/Amanda/Report.pm
/usr/lib64/perl5/vendor_perl/Amanda/Report/human.pm
/usr/lib64/perl5/vendor_perl/Amanda/Report/json.pm
/usr/lib64/perl5/vendor_perl/Amanda/Report/json_raw.pm
/usr/lib64/perl5/vendor_perl/Amanda/Report/postscript.pm
/usr/lib64/perl5/vendor_perl/Amanda/Report/xml.pm
/usr/lib64/perl5/vendor_perl/Amanda/Rest
/usr/lib64/perl5/vendor_perl/Amanda/Rest/Amcheck.pm
/usr/lib64/perl5/vendor_perl/Amanda/Rest/Configs.pm
/usr/lib64/perl5/vendor_perl/Amanda/Rest/Dles.pm
/usr/lib64/perl5/vendor_perl/Amanda/Rest/Dumps.pm
/usr/lib64/perl5/vendor_perl/Amanda/Rest/Labels.pm
/usr/lib64/perl5/vendor_perl/Amanda/Rest/Report.pm
/usr/lib64/perl5/vendor_perl/Amanda/Rest/Runs.pm
/usr/lib64/perl5/vendor_perl/Amanda/Rest/Services.pm
/usr/lib64/perl5/vendor_perl/Amanda/Rest/Status.pm
/usr/lib64/perl5/vendor_perl/Amanda/Rest/Storages
/usr/lib64/perl5/vendor_perl/Amanda/Rest/Storages.pm
/usr/lib64/perl5/vendor_perl/Amanda/Rest/Storages/Labels.pm
/usr/lib64/perl5/vendor_perl/Amanda/Rest/Version.pm
/usr/lib64/perl5/vendor_perl/Amanda/Restore.pm
/usr/lib64/perl5/vendor_perl/Amanda/ScanInventory.pm
/usr/lib64/perl5/vendor_perl/Amanda/Script.pm
/usr/lib64/perl5/vendor_perl/Amanda/Script_App.pm
/usr/lib64/perl5/vendor_perl/Amanda/Service
/usr/lib64/perl5/vendor_perl/Amanda/Service.pm
/usr/lib64/perl5/vendor_perl/Amanda/Service/Amidxtaped.pm
/usr/lib64/perl5/vendor_perl/Amanda/Service/Restore.pm
/usr/lib64/perl5/vendor_perl/Amanda/Status.pm
/usr/lib64/perl5/vendor_perl/Amanda/Storage.pm
/usr/lib64/perl5/vendor_perl/Amanda/Tapelist.pm
/usr/lib64/perl5/vendor_perl/Amanda/Taper
/usr/lib64/perl5/vendor_perl/Amanda/Taper/Controller.pm
/usr/lib64/perl5/vendor_perl/Amanda/Taper/Protocol.pm
/usr/lib64/perl5/vendor_perl/Amanda/Taper/Scan
/usr/lib64/perl5/vendor_perl/Amanda/Taper/Scan.pm
/usr/lib64/perl5/vendor_perl/Amanda/Taper/Scan/lexical.pm
/usr/lib64/perl5/vendor_perl/Amanda/Taper/Scan/oldest.pm
/usr/lib64/perl5/vendor_perl/Amanda/Taper/Scan/traditional.pm
/usr/lib64/perl5/vendor_perl/Amanda/Taper/Scribe.pm
/usr/lib64/perl5/vendor_perl/Amanda/Taper/Worker.pm
/usr/lib64/perl5/vendor_perl/Amanda/Tests.pm
/usr/lib64/perl5/vendor_perl/Amanda/Util.pm
/usr/lib64/perl5/vendor_perl/Amanda/Vault.pm
/usr/lib64/perl5/vendor_perl/Amanda/Xfer.pm
/usr/lib64/perl5/vendor_perl/Amanda/XferServer.pm
/usr/lib64/perl5/vendor_perl/auto/Amanda
/usr/lib64/perl5/vendor_perl/auto/Amanda/Application
/usr/lib64/perl5/vendor_perl/auto/Amanda/Application/libApplication.so
/usr/lib64/perl5/vendor_perl/auto/Amanda/Archive
/usr/lib64/perl5/vendor_perl/auto/Amanda/Archive/libArchive.so
/usr/lib64/perl5/vendor_perl/auto/Amanda/Cmdfile
/usr/lib64/perl5/vendor_perl/auto/Amanda/Cmdfile/libCmdfile.so
/usr/lib64/perl5/vendor_perl/auto/Amanda/Cmdline
/usr/lib64/perl5/vendor_perl/auto/Amanda/Cmdline/libCmdline.so
/usr/lib64/perl5/vendor_perl/auto/Amanda/Config
/usr/lib64/perl5/vendor_perl/auto/Amanda/Config/libConfig.so
/usr/lib64/perl5/vendor_perl/auto/Amanda/Debug
/usr/lib64/perl5/vendor_perl/auto/Amanda/Debug/libDebug.so
/usr/lib64/perl5/vendor_perl/auto/Amanda/Device
/usr/lib64/perl5/vendor_perl/auto/Amanda/Device/libDevice.so
/usr/lib64/perl5/vendor_perl/auto/Amanda/Disklist
/usr/lib64/perl5/vendor_perl/auto/Amanda/Disklist/libDisklist.so
/usr/lib64/perl5/vendor_perl/auto/Amanda/Feature
/usr/lib64/perl5/vendor_perl/auto/Amanda/Feature/libFeature.so
/usr/lib64/perl5/vendor_perl/auto/Amanda/Header
/usr/lib64/perl5/vendor_perl/auto/Amanda/Header/libHeader.so
/usr/lib64/perl5/vendor_perl/auto/Amanda/IPC
/usr/lib64/perl5/vendor_perl/auto/Amanda/IPC/Binary
/usr/lib64/perl5/vendor_perl/auto/Amanda/IPC/Binary/libBinary.so
/usr/lib64/perl5/vendor_perl/auto/Amanda/Logfile
/usr/lib64/perl5/vendor_perl/auto/Amanda/Logfile/libLogfile.so
/usr/lib64/perl5/vendor_perl/auto/Amanda/MainLoop
/usr/lib64/perl5/vendor_perl/auto/Amanda/MainLoop/libMainLoop.so
/usr/lib64/perl5/vendor_perl/auto/Amanda/NDMP
/usr/lib64/perl5/vendor_perl/auto/Amanda/NDMP/libNDMP.so
/usr/lib64/perl5/vendor_perl/auto/Amanda/Tapelist
/usr/lib64/perl5/vendor_perl/auto/Amanda/Tapelist/libTapelist.so
/usr/lib64/perl5/vendor_perl/auto/Amanda/Tests
/usr/lib64/perl5/vendor_perl/auto/Amanda/Tests/libTests.so
/usr/lib64/perl5/vendor_perl/auto/Amanda/Util
/usr/lib64/perl5/vendor_perl/auto/Amanda/Util/libUtil.so
/usr/lib64/perl5/vendor_perl/auto/Amanda/Xfer
/usr/lib64/perl5/vendor_perl/auto/Amanda/Xfer/libXfer.so
/usr/lib64/perl5/vendor_perl/auto/Amanda/XferServer
/usr/lib64/perl5/vendor_perl/auto/Amanda/XferServer/libXferServer.so
/usr/sbin/amaespipe
/usr/sbin/amandad
/usr/sbin/amarchiver
/usr/sbin/amcrypt
/usr/sbin/amcrypt-ossl
/usr/sbin/amcrypt-ossl-asym
/usr/sbin/amcryptsimple
/usr/sbin/amgetconf
/usr/sbin/amgpgcrypt
/usr/sbin/amplot
/usr/sbin/amssl
/usr/share/doc/amanda
/usr/share/doc/amanda/NEWS
/usr/share/doc/amanda/README
/usr/share/licenses/amanda
/usr/share/licenses/amanda/COPYRIGHT
/usr/share/man/man5/amanda-archive-format.5.gz
/usr/share/man/man5/amanda.conf.5.gz
/usr/share/man/man7/amanda-auth-ssl.7.gz
/usr/share/man/man7/amanda-auth.7.gz
/usr/share/man/man7/amanda-compatibility.7.gz
/usr/share/man/man7/amanda-match.7.gz
/usr/share/man/man7/amanda-scripts.7.gz
/usr/share/man/man8/amaespipe.8.gz
/usr/share/man/man8/amanda.8.gz
/usr/share/man/man8/amarchiver.8.gz
/usr/share/man/man8/amcleanupdisk.8.gz
/usr/share/man/man8/amcrypt-ossl-asym.8.gz
/usr/share/man/man8/amcrypt-ossl.8.gz
/usr/share/man/man8/amcrypt.8.gz
/usr/share/man/man8/amcryptsimple.8.gz
/usr/share/man/man8/amgetconf.8.gz
/usr/share/man/man8/amgpgcrypt.8.gz
/usr/share/man/man8/amplot.8.gz
/usr/share/man/man8/amssl.8.gz
/usr/share/man/man8/script-email.8.gz
/var/lib/amanda
/var/lib/amanda/.amandahosts
/var/log/amanda
/var/log/amanda/amandad

References

Summary

In this tutorial we learn how to install amanda on CentOS 8 using yum and dnf.