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.


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

# wget
# 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


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.

A Passionate GNU/Linux Enthusiast and Software Developer with over a decade in the field of Linux and Open Source technologies.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.


Leave a Reply
  1. 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
    [root@NMS amanda-3.3.5]# amadmin –version
    bash: amadmin: command not found
    [root@NMS amanda-3.3.5]# amdump all
    bash: amdump: command not found
    [root@NMS amanda-3.3.5]# cd
    [root@NMS ~]# amdump all
    bash: amdump: command not found
    [root@NMS ~]# amflush -f all
    bash: amflush: command not found

    • 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.

  2. 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

    • 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...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.