Amanda (Advanced Maryland Automatic Network Disk Archiver)


The automatic backup data of each host is sent to the host operating as a centralized Amanda server. The host requests the Amanda server to restore data, specifying the file system, data, and filenames. A server is installed with an Amanda-server package and a client with the Amanda-client box. The clients may have different configurations and operating systems.

The Amanda server runs through xinetd using xinetd service located in /etc/xinetd.d. The three service files include Amanda, a mixtape, and amandaidx. For a client to recover a backup from the server, a hostname is placed in the .amandahosts file in the server Amanda user’s directory /var/lib/Amanda. The file /var/Amandaanda/.amandahosts lists all the hosts tAmanda backs and.

  • Dump: performs automatic requested non-interactive backups for the file systems listed in the disk list configuration file, placed within cron instruction to run at a specified tiflushlush: if, for any reasdumpdump cannot save all its data to a backup medium, then it will retain the data on the holding disk, which ich wrote with flush command. It directs backup data from the holding disk to a tape.
  • restore: restore backups, either particular files or complete systems
  • recover: select from the lists of backups to restore using an interactive shell
  • cleanup: Clean up if there is any system failure on the server
  • label: Label the backup medium for Amanda
  • check: Check the backup systems and files, as well as the backup tapes, before the backup operation
  • admin: Backup administrative tasks
  • tape: manage backup tapes, loading and removing them
  • verify: Check the format of the tapes
  • a verify run: Check recordingsapes from the previous run, specify the configuration directory for the backup
  • amrmtape: Remove tape from the Amanda database used for damaged tapes
  • status: show the status of the current Amanda backup operation

Amanda’s configuration files get automatically created with the installation. A user mentions the directory to use as a holding disk, where backups are kept before writing to the tape.

  • /Amandaanda: keeps configuration files and subdirectories for different kinds of backups to be performed. Each directory contains an amanda. conf and disk list file. A user edits them and enters the system’s settings. The Amanda. conf has basic configuration parameters like the tape type and logfile and holding file locations. A user can change the commercials.
    The disklist file contains information about a host, file systems, and partitions to be backed and dump-type. The possidump typesypes defined in Amanda. conf. The dump-type parameters include:
    priority of the backup
    use of compression
    comp-root to backup root partitions wreductionsion and low-priority
    always-full: backup an entsectiontion with no compression and the highest priority
  • /var/lib/Amanda: Keeps log and database files