Amanda – An Advanced Automatic Network Backup Tool For Linux

In the era of information technology, data is priceless. We have to protect data from unauthorised access as well as from any kind of data loss. We have to manage each of them separately.

Install Amanda in Linux

Amanda Backup Solution

Here, in this article we will be covering data backup process, which is must for most of the System Administrators and most of the time supposed to be boring activity. The tool we will be using is ‘Amanda‘.

What is Amanda

Amanda Stands for (Advanced Maryland Automatic Network Disk Archiver) which is very useful backup tool designed to backup and archive computers on the network to disk, tape or cloud.

Amanda History

The Computer Science Department of University of Maryland (UoM) remained the source of Free and Quality Software which was at par with Proprietary Software. The Advanced Maryland Automatic Network Disk Archiver was developed by UoM but now this wonderful project is no more supported by UoM and is hosted by SourceForge, where it remains in development.

Features of Amands

  1. Open Source Archiving Tool written in C and Perl.
  2. Capable of Data Backup on Multiple Computers on Network.
  3. Based on Client-Server Model.
  4. Scheduled Backup Supported.
  5. Available as Free Community Edition as well as Enterprise Edition, with Full Support.
  6. Available for most of the Linux Distributions.
  7. Windows Machine Supported using Samba or native win32 Client.
  8. Support Tape as well as Disk Drives for backup.
  9. Support tape-spanning i.e., Split lager files into multiple tapes.
  10. Commercial Enterprise Amanda is developed by Zmanda.
  11. Zmanda includes – Zmanda Management Console (ZMC), scheduler, Cloud Based Service and Plugin framework.
  12. The cloud based service works in accordance with Amazon s3.
  13. Plugin framework supports application like Oracle Database, Samba, etc.
  14. Amanda Enterprise zmanda supports image backup, which makes it possible to make backups of Live VMware.
  15. Takes less time than other backup tools to create a backup of same volume of data.
  16. Support Secure Connection between Server and client using OpenSSH.
  17. Encryption possible using GPG and compression supported
  18. Recover gracefully for errors.
  19. Report detailed result, including errors via email.
  20. Very Configurable, Stable and robust because of high quality code.

Installation of Amanda Backup in Linux

We are building Amanda from Source and then Install it. This process of Building and Installing Amanda is same for any distribution be it YUM based or APT based.

Before, compiling from the source, we need to install some required packages from the repository using yum or apt-get command.

On RHEL, CentOS & Fedora
# yum install gcc make gcc-c++ glib2-devel gnuplot perl-ExtUtils-Embed bison flex
On Debian, Ubuntu & Linux Mint
$ sudo apt-get install build-essential gnuplot

Once, required packages installed, you can download Amanda (latest version Amanda 3.3.5) from the link below.

  1. http://sourceforge.net/projects/amanda/files/latest/download

Alternatively, you may use following wget command to download and compile it from source as shown below.

# wget http://jaist.dl.sourceforge.net/project/amanda/amanda%20-%20stable/3.3.5/amanda-3.3.5.tar.gz
# tar -zxvf amanda-3.3.5.tar.gz
# cd amanda-3.3.5/ 
# ./configure 
# make
# make install		[On Red Hat based systems]
# sudo make install	[On Debian based systems]

After successful installation, verify the amanda installation using the following command.

# amadmin --version

amadmin-3.3.5

Note: Use amadmin administrative interface to control Amanda backups. Also note that amanda configuration file is located at ‘/etc/amanda/intra/amanda.conf’.

Dump Filesystem

Run the following command to dump the whole filesystem using amanda and send the email to the email address listed in configuration file.

# amdump all

Flush Amanda

# amflush -f all

Amanda have a lots of options to generate backup output to precise location and create custom backup. Amanda itself is a very vast topic and it was difficult for us to cover all these in one article. We will be covering those options and commands in later posts.

That’s all for now. I’ll be here again with another article soon. Till then stay tuned and connected to us and don’t forget to provide us with your valuable feedback in comment section.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

9 Responses

  1. Nagul says:

    Please give complete installation.

  2. Abdul Hameed says:

    Avishek Kumar,

    As per your instruction install amanda 3.3.5 on my centos 6.5 but fail to install please see the below error.
    chown root:backup /usr/local/sbin/amservice
    chown: invalid group: `root:backup’
    make[5]: *** [installperms-exec] Error 1
    make[5]: Leaving directory `/etc/amanda-3.3.5/common-src’
    make[4]: *** [install-exec-am] Error 2
    make[4]: Leaving directory `/etc/amanda-3.3.5/common-src’
    make[3]: *** [install-am] Error 2
    make[3]: Leaving directory `/etc/amanda-3.3.5/common-src’
    make[2]: *** [install] Error 2
    make[2]: Leaving directory `/etc/amanda-3.3.5/common-src’
    make[1]: *** [install-recursive] Error 1
    make[1]: Leaving directory `/etc/amanda-3.3.5′
    make: *** [install] Error 2
    [[email protected] amanda-3.3.5]# amadmin –version
    bash: amadmin: command not found
    [[email protected] amanda-3.3.5]# amdump all
    bash: amdump: command not found
    [[email protected] amanda-3.3.5]# cd
    [[email protected] ~]# amdump all
    bash: amdump: command not found
    [[email protected] ~]# amflush -f all
    bash: amflush: command not found

    • pj montmayor says:

      I ran into the same issue with the make install portion as above.

      The message reporting that the group:backup did not exist seemed to be the first of the cascade of errors.

      I created the group “backup” and then edited the newly created group to include root as a member and the make install step completed with error.

      After that the amadmin –version gave me my currrent build version.

  3. Rahul says:

    Thanks Avishek sir,

    please explain more how to add clients linux and windows systems. i have try it but i was facing problem with restoring option.

    so kindly help for this.

    Rahul Patadiya

  4. rediff says:

    Very well written , thanks.

  5. kappa179 says:

    Does it support file versioning?

    • Avishek Kumar says:

      Sorry but i could not find it in official documents anywhere.
      I need to test it myself which requires plenty of time.

      :) If you come to know, please let us know.

Got something to say? Join the discussion.

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.