AMADDCLIENT(8)
π AMADDCLIENT(8) β the add-a-client-to-your-Amanda-setup situation π
okay bestie, buckle up, because amaddclient is the little program in the System Administration Commands section of the manual that literally adds a client to a config you already have. that's it. that's the gig. π
β¨ NAME β¨
amaddclient β the program to add a client to an existing Amanda configuration. yes she's that girl, and yes she's literally named after exactly what she does π
π¦ SYNOPSIS π¦
amaddclient --config config ||
--client client name ||
--diskdev directory to backup [--m] [--dumptype string]
[--includefile string] [--includelist string]
[--excludefile string] [--excludelist string]
[--user string] [--auth string] [--gnutar_list_dir string]
[--amandates string] [--no-client-update] [--batch] [--help]
πΈ DESCRIPTION πΈ
so here's the lore: once the Amanda rpms are installed and amserverconfig has been run, amaddclient will add a client to the Amanda configuration. she creates or updates the Amanda disklist(5) file, and she creates or updates the /var/lib/amanda/.amandahosts file on the server. two files, one function, iconic behavior fr fr β¨
and if you don't pass --no-client-update, she'll also try to update or create /var/lib/amanda/.amandahost (yes, spelled that way in this doc, we do not gatekeep β), plus amanda-client.conf, plus the gnutar-lists β all over on the client side. (go peek at ssh-keygen(1) and ssh-add(1) if you want the details on that whole ssh thing.)
π¨ rule number one, no cap:amaddclientmust be run by userbackup. like, that is not optional, that is the vibe check you must pass.
π¨ rule number two:--config,--clientand--diskdevmust be specified. the trio is mandatory bestie, no skipping π
π OPTIONS π
heads up before we dive in: options may be abbreviated, as long as the abbreviation isn't ambiguous. and the option argument can be separated by either = or a space. example, served fresh:
--conf=v253, --client client8.zmanda.com
slay. now, the full menu:
--configconfig β the Amanda configuration that this program is gonna add the client to. π«Ά--clientclient β the name of the client machine to add. FQDN name is recommended, bestie, take the advice. π--diskdevdiskdev β the directory for this Amanda configuration to back up. π--mβ modify an existing entry in thedisklist(5)file.
π note: if the disklist(5) file has been modified manually, this option might not work. she's a little picky like that, no shade.
--dumptypedumptype β the dumptype to use. the dumptype must be defined in/etc/amanda/template.d/dumptypesor in the/etc/amanda/$config/amanda.conffile. Default:[user-tar]. π--userstring β the name of the user usingamrecoveron the client. default isroot. π--authstring β the authentication method to use when runningamrecoverfrom the client. default isbsdtcp. π--gnutar_list_dirstring β the directory where gnutar keeps its state file on the client. absolute path required, we are not playing around. default is/var/lib/amanda/gnutar-lists. and if--no-client-updateis not set, this program will attempt to create the directory on the client. β¨--amandatesstring β the file where amanda keeps the date of each dumplevel on the client. default is/etc/amandates. π--batchβ turn on batch mode when copying files to the client. default is off. π--no-client-updateβ if this option is set,amaddclientwill not attempt to update/create the.amandahosts,amanda-client.confand gnutar-lists file on the client. hands off, she respects the boundary π«Ά--helpβ display usage. the classic, the icon, the "pls tell me what to do" button π¦
π‘ and here's the little footnote-with-main-character-energy: if any of the following four options are used,amaddclientwill extend the dumptype definition to an in-line definition in thedisklist(5)file. so like, use them and things get chattier in that file, iykyk:
--includefilestring β string is a glob expression π--includeliststring β string is a file name on the client containing glob expressions. specify either--includefileor--includelist. pick one bestie, not both π--excludefilestring β string is a glob expression π--excludeliststring β string is a file name on the client containing glob expressions. specify either--excludefileor--excludelist. again, one. just one. π
π§ FILES π§
the sacred texts, aka every path this program cares about:
/var/lib/amanda/template.dβ Amanda configuration template files install location π¦/var/lib/amandaβ backup home directory π/var/lib/amanda/.amandahostsβ Amanda authentication file π/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. we love a zero, zero is the dream π
- on error, 1 is returned. π
π₯ SEE ALSO π₯
amanda(8), amanda.conf(5), amserverconfig(8), ssh-keygen(1), ssh-add(1), scp(1)
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 that π«Ά this was Amanda 3.5.4, dated 08/26/2026, and it lives in the AMADDCLIENT(8) section of the manual β go forth and add clients, periodt πβ¨
π¦ where this page comes from
- ubuntu stonking: amanda-common 1:3.5.4-2.1ubuntu1 Β· Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms