AMSERVERCONFIG(8)

πŸ’– AMSERVERCONFIG πŸ’–

okay bestie, this is the amserverconfig page from section 8 of the manual β€” the System Administration Commands club πŸ‘‘. It's a shell script, it's got opinions, and it wants to build you a whole Amanda setup from scratch. let's get into it 🫢


✨ NAME ✨

amserverconfig β€” the program that sets up your initial Amanda configuration. like, the "hi bestie let's get you a config" program 🌸


✨ SYNOPSIS ✨

amserverconfig config [--template template] [--no-vtape]
               [--tapetype tapetype] [--tpchanger tpchanger]
               [--tapedev tapedev] [--changerfile changerfile]
               [--changerdev changerdev] [--labelstr labelstr]
               [--mailto mailto] [--dumpcycle dumpcycle]
               [--runspercycle runspercycle] [--runtapes runtapes]
               [--tapecycle tapecycle] [--help]

✨ DESCRIPTION ✨

so here's the vibe: once the Amanda rpms are successfully installed (✨ slay ✨), amserverconfig goes and sets up your initial Amanda configuration files for you. it's giving personal assistant, it's giving "I got you", no cap πŸ’…

it will also create the /var/lib/amanda/guntar-lists directory if one does not exist yet. yes, that's spelled guntar in the original, I'm not gonna gaslight you about it πŸ“

lowkey important: amserverconfig does not change existing Amanda configurations. it's not gonna come for your current setup, it makes new ones only πŸŽ€

and one more thing, and it's a hard requirement: amserverconfig must be run by user backup. not root, not you, not your friend β€” backup. periodt πŸ‘‘


✨ OPTIONS ✨

couple of ground rules first, bestie:

  • options may be abbreviated, as long as the abbreviation is not ambiguous (so abbreviate responsibly, or it gets confused and we don't want that 😭)
  • an option argument can either be separated by = or by a space
  • example, so it's crystal clear: --templ=harddisk --tapedev /dev/nst0

amserverconfig builds a new "config" Amanda configuration. you customize that configuration with the options below ⬇️

  • --template template β€” build the Amanda configuration using pre-configured template files. right now, the valid inputs for this option are harddisk, single-tape, tape-changer and S3. you can find the pre-configured template files in /var/lib/amanda/template.d. this option may be combined with other options 🌈
    • if tape-changer is chosen for this option, the program mtx is required. amserverconfig will search for mtx in the following directory: "/usr/sbin", "/usr/local/sbin", "/usr/local/bin", "/usr/bin", "/bin" and backup's PATH.
    • if harddisk is chosen and --no-vtape is not specified, amserverconfig will create and label virtual tape file://var/lib/amanda/vtapes/$config.
  • --no-vtape β€” do not create virtual tapes in the harddisk template case. just... none. no tapes for you, and that's the assignment πŸ’€
  • --tapedev tapedev β€” the path name of the non-rewinding tape device. default [file://var/lib/amanda/vtapes/$config]
  • --tpchanger tpchanger β€” the name of the tape changer. default [chg-disk]
  • --changerdev changerdev β€” a tape changer configuration parameter. default [/dev/null]
  • --changerfile changerfile β€” a tape changer configuration parameter. default [/etc/amanda/$config/changer.conf]
  • --labelstr labelstr β€” the tape label constraint regular expression. default [^$config-[0-9][0-9]*$]
    • if this option is used with --template=harddisk, only an alphanumeric string is supported. that's the rule, I don't make 'em πŸ™ˆ
  • --tapetype tapetype β€” the type of tape drive associated with tapedev or tpchanger. default [HARDDISK]
  • --mailto mailto β€” a space separated list of recipients for mail reports. default [backup]
  • --dumpcycle dumpcycle β€” the number of days in the backup cycle. default [1week]
  • --runspercycle runspercycle β€” the number of days in the backup cycle. default [5]
  • --runtapes runtapes β€” the maximum number of tapes used in a single run. default [1]
  • --tapecycle tapecycle β€” the size of tape rotation. default [25]
  • --help β€” display usage. the classic. the icon ⭐

✨ FILES ✨

all the places this thing lives and touches, bestie πŸ¦‹

  • /var/lib/amanda/template.d β€” Amanda configuration template files install location
  • /var/lib/amanda β€” backup home directory
  • /var/lib/amanda/gnutar-lists β€” a directory which contains backup timestamp and list of files backed up
  • /etc/amanda/$config β€” Amanda configuration files location for $config (e.g: DailySet1)
  • /etc/amanda/template.d β€” a directory contains dumptypes and tapetypes files used by all Amanda configurations
  • /etc/amandates β€” Amanda file on the client. it keeps track of structures of previous dumps
  • /tmp/amanda β€” directory contains Amanda debug log files

✨ RETURN VALUE ✨

  • on success, zero is returned πŸŽ‰
  • on error, 1 is returned 😭

✨ SEE ALSO ✨

amanda(8), amanda.conf(5), amaddclient(8)

The Amanda Wiki: : http://wiki.zmanda.com/


✨ AUTHOR ✨

Kevin Till <kevin.till@zmanda.com> Zmanda, Inc. (http://www.zmanda.com)


and that's the whole page, bestie, you ate it πŸ’…βœ¨ this was Amanda 3.5.4, dated 08/26/2026 β€” go build a config, you've got this πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from