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: amaddclient must be run by user backup. like, that is not optional, that is the vibe check you must pass.
🚨 rule number two: --config, --client and --diskdev must 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:

  • --config config β€” the Amanda configuration that this program is gonna add the client to. 🫢
  • --client client β€” the name of the client machine to add. FQDN name is recommended, bestie, take the advice. 🌈
  • --diskdev diskdev β€” the directory for this Amanda configuration to back up. πŸ“
  • --m β€” modify an existing entry in the disklist(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.
  • --dumptype dumptype β€” the dumptype to use. the dumptype must be defined in /etc/amanda/template.d/dumptypes or in the /etc/amanda/$config/amanda.conf file. Default: [user-tar]. πŸ’–
  • --user string β€” the name of the user using amrecover on the client. default is root. πŸ‘‘
  • --auth string β€” the authentication method to use when running amrecover from the client. default is bsdtcp. πŸ”
  • --gnutar_list_dir string β€” 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-update is not set, this program will attempt to create the directory on the client. ✨
  • --amandates string β€” 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, amaddclient will not attempt to update/create the .amandahosts, amanda-client.conf and 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, amaddclient will extend the dumptype definition to an in-line definition in the disklist(5) file. so like, use them and things get chattier in that file, iykyk:
  • --includefile string β€” string is a glob expression πŸ“
  • --includelist string β€” string is a file name on the client containing glob expressions. specify either --includefile or --includelist. pick one bestie, not both πŸ’…
  • --excludefile string β€” string is a glob expression πŸ“
  • --excludelist string β€” string is a file name on the client containing glob expressions. specify either --excludefile or --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>


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