AMANDA-CLIENT.CON(5)
π amanda-client.conf β the client config glow-up
okay so bestie, welcome to the client configuration file for Amanda, aka the Advanced Maryland Automatic Network Disk Archiver π (yes that's the whole name, she's iconic, she's a mouthful). This page is basically the quick-reference cheat sheet for the sections and parameters that live in this file β think of it as the group chat where your client host gets told what's what.
fr fr, these are the files that get loaded:
<CONFIG_DIR>/amanda-client.conf
<CONFIG_DIR>/<config>/amanda-client.conf
Both of them. No cap. π
β¨ SYNTAX β¨
Good news: the syntax of amanda-client.conf(5) is literally identical to amanda.conf(5). Same rules, same vibe, so if you already know one you already know the other. Slay. π
πΈ GLOBAL PARAMETERS πΈ
These are the big-picture settings, the main character energy of the file. Let's go π«Ά
confstring β Default: set by configure. This is theconfthatamrecoveruses.client-usernamestring β Default:CLIENT_LOGIN. Same deal as the parameter of the same name inamanda.conf(5): it says which usernameamrecovershould send when it connects to the server. Heads up π β it needs to match the username listed in.amandahostson the server, or things get awkward.client-port[ int | string ]β Default:"amanda". Again just like the one inamanda.conf(5): the port to connect on the server. Can be a service name or a numeric port number, your call β¨.amdump-serverstring β No default: set by configure. The Amanda server you connect to with theamdump_clientprogram.index-serverstring β Default: set by configure. Theamindexdserver thatamrecoverwill connect to.tape-serverstring β Default: set by configure. Theamidxtapedserver thatamrecoverwill connect to.tapedevstring β Default: set by configure. Thetapedevthatamrecoverwill use.authstring β Default:"bsdtcp". The type of authorization performed between the tape server and the backup client hosts. Your options are:"bsd"β bsd authorization with a udp initial connection and one tcp connection per data stream."bsdtcp"β bsd authorization, but using only one tcp connection."bsdudp"β likebsd, except it uses only one tcp connection for all data streams."krb5"β Kerberos-V authorization π."local"β if the client is the server, it doesn't need any authentication setup. convenient much? π§"rsh"β rsh authorization."ssh"β OpenSSH authorization.
ssh-keysstring β Default: no default. The key file the ssh auth will use β and it must be the private key, no exceptions please π. If you don't specify this parameter, the default ssh key gets used.gnutar-list-dirstring β Default comes fromconfigure --with-gnutar-listdir=DIR. The directory wheregnutarkeeps its state file.mailerstring β Default found by configure. A mail program that can send mail with'MAILER -s "subject" user < message_file'.amandatesstring β Default:/etc/amandates. The file where Amanda keeps the last date of each dumplevel.connect-triesint β Default:3. How many times the server will try a connection.rep-triesint β Default:5. How many timesamandadwill resend a REP packet if it doesn't get the ACK packet.debug-daysint β Default:3. How many days the debug files are kept.debug-amandadint β Default:0. Debug level of theamandadprocess.debug-amidxtapedint β Default:0. Debug level of theamidxtapedprocess.debug-amindexdint β Default:0. Debug level of theamindexdprocess.debug-amrecoverint β Default:0. Debug level of theamrecoverprocess.debug-authint β Default:0. Debug level of the auth module.debug-eventint β Default:0. Debug level of the event module.debug-holdingint β Default:0. Debug level of the holdingdisk module.debug-protocolint β Default:0. Debug level of the protocol module.debug-selfcheckint β Default:0. Debug level of theselfcheckprocess.debug-sendsizeint β Default:0. Debug level of thesendsizeprocess.debug-sendbackupint β Default:0. Debug level of thesendbackupprocess.hostnamestring β Default:hostname. The hostname (in the DLE) of the client machine. π¦reserved-udp-portint,int β Default:--with-udpportrangeor512,1023. The reserved udp port that will be used (amrecoverwithbsdorbsdudp).reserved-tcp-portint,int β Default:--with-low-tcpportrangeor512,1023. The reserved tcp port that will be used (amrecoverwithbsdtcp).unreserved-tcp-portint,int β Default:--with-tcpportrangeor1025,65536. The unreserved tcp port that will be used (bsd,bsdudp).propertystring string+ β Adds a global property for this client host, which is useful for like, e.g., Application API plugins β¨. The first string is the property name, and the following strings are the property values.
π¦ APPLICATION SECTION π¦
amanda-client.conf can define multiple types of application, bestie. The info goes into an application section, and it looks exactly like this:
define application "name" {
application-option application-value
...
}
name is the name of this type of application.
Here's the merge tea β β the setting from an application gets merged with the dle setting if the name is the same as the client-application-name from the dle, or if the client-application-name from the dle isn't set and the name is the same as the plugin from the dle.
The application options and values are:
client-application-namestring β Default:none. Not used on the client.commentstring β Default:none. A comment string describing this application.pluginstring β No default. Must be set to the name of the program, and that program must live in the$libexecdir/amanda/applicationdirectory on the client. If it's set, it must be the same as the dle plugin π.property[append] [priority]string string+ β No default. You can set properties for the application, and each application has a different set of properties. Both strings are quoted; the first string is the name of the property to set, and the others are its values. Theappendkeyword appends the values to the list of values for that property. Theprioritykeyword disallows the setting of that property on the server. π
π SCRIPT SECTION π
Same situation, different section: amanda-client.conf may define multiple types of script, and the info goes into a script section that looks like this:
define script "name" {
script-option script-value
...
}
name is the name of this type of script.
And the merge drama is identical: the setting from a script is merged with the dle setting if the name is the same as the client-script-name from the dle, or if the client-script-name from the dle isn't set and the name is the same as the plugin from the dle. β¨
The script options and values are:
client-script-namestring β Default:none. Not used on the client.commentstring β Default:none. A comment string describing this script.pluginstring β No default. Must be set to the name of the program, and this program must be in the$libdir/amanda/applicationdirectory on the client. If set, it must be the same as the dle plugin.execute-whereclient β Default:client. The value can't be changed. periodt.execute-on*execute_on[,execute_on]** β No default. This is when the script must be executed, and you can specify multiple of them:pre-dle-amcheckβ execute before theamcheckcommand for the dle.pre-host-amcheckβ execute before theamcheckcommand for all dle for the client.post-dle-amcheckβ execute after theamcheckcommand for the dle.post-host-amcheckβ execute after theamcheckcommand for all dle for the client.pre-dle-estimateβ execute before theestimatecommand for the dle.pre-host-estimateβ execute before theestimatecommand for all dle for the client.post-dle-estimateβ execute after theestimatecommand for the dle.post-host-estimateβ execute after theestimatecommand for all dle for the client.pre-dle-backupβ execute before thebackupcommand for the dle.post-dle-backupβ execute after thebackupcommand for the dle.pre-recoverβ execute before any level is recovered.post-recoverβ execute after all levels are recovered.pre-level-recoverβ execute before each level recovery.post-level-recoverβ execute after each level recovery.inter-level-recoverβ execute between two levels of recovery.
property[append] [priority]string string+ β No default. You can set properties for the script, and each script has a different set of properties. Both strings are quoted; the first string is the name of the property to set, and the others are its values. Theappendkeyword appends the values to the list of values for that property. Theprioritykeyword disallows the setting of that property on the server.
π SEE ALSO π
Go read the whole friend group:
The Amanda Wiki: : http://wiki.zmanda.com/ π
π AUTHORS π
These legends wrote it:
- James da Silva
<jds@amanda.org> - Stefan G. Weichinger
<sgw@amanda.org>
okay that's the whole page bestie, go configure something iconic π β¨
Amanda 3.5.4 π¦ dated 07/23/2025 β this cutie is from the File formats and conventions section of the manual, mwah π
π¦ where this page comes from
- fedora 43: amanda-client 3.5.4-17.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later AND GPL-2.0-or-later AND GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms