AMGETCONF(8)
π
AMGETCONF(8) β like, the amgetconf page, bestie
okay so real talk, this is a System Administration Command (section 8, iykyk) and it's literally the little tool that goes and fetches stuff for you. three whole jobs. we get into it π
β¨ NAME β¨
amgetconf β look up configuration parameters and manipulate debug logs
π¦ SYNOPSIS π¦
amgetconf [-l|--list] [--platform] [--distro] [--client]
[--execute-where client|server] [-o configoption...] [config]
parameter
πΈ DESCRIPTION πΈ
k so Amgetconf has three main jobs, bestie, and honestly it's giving multitasking main character:
- fetch configuration information from the Amanda configuration
- fetch build-time configuration values
- open and close debug logs for shell scripts
each one gets its own lil subsection below, don't worry π«Ά
If config is not specified, amgetconf assumes it is being run from the configuration directory and that amanda.conf is present. and like, the order of options and arguments does not matter β put 'em wherever, we're chill. parameter is always case-insensitive, and - and _ are treated as identical, just as in amanda.conf(5). iconic behavior honestly β¨
head over to the "CONFIGURATION OVERRIDE" section inamanda(8)for the tea on the-ooption π
π AMANDA CONFIGURATION
If parameter is a configuration keyword (from amanda.conf(5)), then amgetconf will return the corresponding value. For keywords which can take multiple values, amgetconf will return all values, one on each line. no cap, all of them π
Values in configuration subsections are specified with parameters of the form TYPE:NAME:PARAMETER, where TYPE is the subsection type β one of dumptype, tapetype, interface, holdingdisk, application-tool, or script-tool β NAME is the name of the subsection (e.g., user-tar), and PARAMETER is the name of the disired parameter within that subsection. (yes that's a typo in the original, "disired", we're keeping the vibe π)
The --list option lists the subsections of a certain type, where the type is givein as the parameter. (another original typo, she's quirky like that, love her π)
The --client option is equivalent to --execute-where client (below).
The --execute-where option tells amgetconf whether to operate on the client or the server; the server is the default.
β BUILD CONFIGURATION β
If parameter begins with build., then the following name is a build environment variable. Variables without a value (e.g. XFSDUMP on a system that does not support that type of file system) will not report an error and will return an empty string as the value. some boolean variables (e.g. USE_AMANDAHOSTS) will return 1 if the flag is set or an empty string if it is not, while others return yes or no, as indicated below β the difference is historical, don't ask, it's a whole thing π
Combining the --list option with the parameter build will enumerate all available build parameters. slay.
π Build Parameters
bindir,sbindir,libexecdir,mandirβ install directoriesAMANDA_TMPDIR,CONFIG_DIR,AMANDA_DBGDIR,GNUTAR_LISTED_INCREMENTAL_DIRβ runtime directorieslisted_inc_dirβ same asGNUTAR_LISTED_INCREMENTAL_DIRCC,VERSION,ASSERTIONS,LOCKINGβ build information.ASSERTIONSis1or empty.DUMP,RESTORE,VDUMP,VRESTORE,XFSDUMP,XFSRESTORE,VXDUMP,VXRESTORE,SAMBA_CLIENT,GNUTAR,STAR,COMPRESS_PATH,UNCOMPRESS_PATHβ paths to various utility progarms (empty if they are not found or not used)AIX_BACKUPβ isDUMPthe AIX backup program? (empty or1)DUMP_RETURNS_1β doesDUMPreturn1on success? (empty or1)BSD_SECURITY,BSDUDP_SECURITY,BSDTCP_SECURITY,KRB5_SECURITY,SSH_SECURITY,RSH_SECURITYβ indicate which authentication mechanisms are available (yesorno).USE_AMANDAHOSTSβ should the"bsd"authentication mechanism useamandahosts? (yesorno).AMANDA_DEBUG_DAYSβ number of days after which debug logs are deleted.DEFAULT_SERVER,DEFAULT_CONFIG,DEFAULT_TAPE_SERVER,DEFAULT_TAPE_DEVICEβ default values for configuration parametersCLIENT_LOGINβ userid under which the client runs (from--with-user).USE_RUNDUMPβ should Amanda use therundumpwrapper? (empty or1)CHECK_USERIDβ does Amanda check that userids are correct? (empty or1)COMPRESS_SUFFIX,COMPRESS_FAST_OPT,COMPRESS_BEST_OPT,UNCOMPRESS_OPTβ command-line options for the compression program.
π§ DEBUG LOG MANAGEMENT π§
Note: that this application is responsible for debug logs is a historical quirk, but the functionality is widely used. (we don't question it, we just use it π )
If parameter begins with dbopen., the string following the period is a program name and an Amanda debug file will be created for the caller. The name of the logfile is returned. π
If parameter begins with dbclose., the string following the period is a program name previously used with dbopen., followed by a colon (:) and the previously opened file name. The name of the logfile is returned.
π EXAMPLES π
Find out the path to the log file directory:
% amgetconf daily logdir
/usr/local/etc/amanda/daily/logs
Find out the current tape type:
% amgetconf daily tapetype
DLT4000-IV
Find out that tape type's length:
% amgetconf daily tapetype:DLT4000-IV:length
1024000
List the other available tapetype:
% amgetconf daily --list tapetype
DISK
QIC-60
DEC-DLT2000
...
Find out the configuration directory:
% amgetconf build.CONFIG_DIR
/usr/local/etc/amanda/
List all build-time parameters
% amgetconf --list build
AIX_BACKUP
AMANDA_DBGDIR
AMANDA_DEBUG_DAYS
...
On which platform we are running
% amgetconf --platform
Fedora release 22 (Twenty Two)
On which distro we are running
% amgetconf --distro
Fedora
Create, use and close a debug file in a script:
% debug_file=`amgetconf daily dbopen.myscript`
% echo debug information >> $debug_file
% amgetconf daily dbclose.myscript:$debug_file
π MESSAGES π
amgetconf: no such parameter paramβ param is not a known keyword (e.g. not a validamanda.confkeyword). like, she doesn't know her, sorry bestie π
π₯ SEE ALSO π₯
amanda(8), amanda.conf(5), amanda-client.conf(5), amadmin(8)
The Amanda Wiki: : http://wiki.zmanda.com/
π AUTHOR π
Jean-Louis Martineau <martineau@zmanda.com> Zmanda, Inc. (http://www.zmanda.com)
okay that's the whole page, go forth and configure β¨ this was Amanda 3.5.4, dated 07/23/2025 β mwah, love u, bye πππ¦
π¦ where this page comes from
- fedora 43: amanda 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