amgetconf man page on YellowDog

Man page or keyword search:  
man Server   18644 pages
apropos Keyword Search (all sections)
Output format
YellowDog logo
[printable version]

AMGETCONF(8)							  AMGETCONF(8)

NAME
       amgetconf - look up amanda.conf variables

SYNOPSIS
       amgetconf [config] parameter

DESCRIPTION
       Amgetconf  looks up parameters in amanda.conf, the Amanda configuration
       file, or from the build and runtime environment, and returns their cor‐
       responding value.

       If  config is not specified, amgetconf assumes it is being run from the
       configuration directory and that amanda.conf is present.

       If parameter begins with build., the (case insensitive) string  follow‐
       ing  the	 period	 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. Flag variables (e.g.  USE_AMANDAHOSTS) will return	 1  if
       the flag is set or an empty string if it is not.

       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 file 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.

       See the amanda(8) man page for more details about Amanda.

EXAMPLE
       Find out the path to the log file directory:

       % amgetconf daily logdir
       /usr/local/etc/amanda//daily

       Find out the current tape type:

       % amgetconf daily tapetype
       DLT4000-IV

       Find out the default configuration directory:

       % amgetconf daily build.CONFIG_DIR
       /usr/local/etc/amanda/

       Create, use and close a debug file in a script:

       % set debug_file = `amgetconf daily dbopen.myscript`
       % echo debug information >> $debug_file
       % amgetconf daily dbclose.myscript:$debug_file

MESSAGES
       amgetconf: no such parameter param
	      Parameter	 param	is  not	 a  known  keyword  (e.g.  not a valid
	      amanda.conf keyword). In this case, amgetconf will write "BUGGY"
	      to stdout as the value.

SEE ALSO
       amanda(8)

								  AMGETCONF(8)
[top]

List of man pages available for YellowDog

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net