⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 amgetconf.8

📁 开源备份软件源码 AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a backup system that a
💻 8
字号:
.\"     Title: amgetconf.\"    Author: .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>.\"      Date: 05/13/2008.\"    Manual: .\"    Source: .\".TH "AMGETCONF" "8" "05/13/2008" "" "".\" disable hyphenation.nh.\" disable justification (adjust text to left margin only).ad l.SH "NAME"amgetconf - look up amanda.conf variables.SH "SYNOPSIS".HP 10\fBamgetconf\fR [\fIconfig\fR] [\fI\-\-list\fR] \fIparameter\fR [\-o\ \fIconfigoption\fR]....SH "DESCRIPTION".PP\fBAmgetconf\fRlooks up parameters in\fIamanda\.conf\fR, the\fIAmanda\fRconfiguration file, or from the build and runtime environment, and returns their corresponding value\..PPIf\fIconfig\fRis not specified,\fBamgetconf\fRassumes it is being run from the configuration directory and that\fIamanda\.conf\fRis present\..PPIf\fIparameter\fRbegins with\fIbuild\.\fR, the (case insensitive) string following the period is a build environment variable\. Variables without a value (e\.g\.\fIXFSDUMP\fRon 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\.\fIUSE_AMANDAHOSTS\fR) will return1if the flag is set or an empty string if it is not\..PPIf\fIparameter\fRbegins with\fIdbopen\.\fR, the string following the period is a program name and an\fIAmanda\fRdebug file will be created for the caller\. The name of the file is returned\..PPIf\fIparameter\fRbegins with\fIdbclose\.\fR, the string following the period is a program name previously used with\fIdbopen\.\fR, followed by a colon (:) and the previously opened file name\..PPSee the\fBamanda\fR(8)man page for more details about\fIAmanda\fR\..SH "OPTIONS".PP\fB\-\-list\fR.RS 4The parameter must be \'tapetype\', \'dumptype, \'holdingdisk\' or \'interface\'\. It will output, one by line, the list of identifier for the parameter\..PP\-\-list tapetype.RS 4Output the list of tapetype, one by line\..RE.PP\-\-list dumptype.RS 4Output the list of dumptype, one by line\..RE.PP\-\-list holdingdisk.RS 4Output the list of holdingdisk, one by line\..RE.PP\-\-list interface.RS 4Output the list of interface, one by line\..RE.RE.PP\fBparameter\fR.RS 4It could be one of the below format:.PPruntapes.RS 4.RE.PPDUMPTYPE:no\-compress:compress.RS 4.RE.PPTAPETYPE:HP\-DAT:length.RS 4.RE.PPINTERFACE:local:use.RS 4.RE.PPHOLDINGDISK:hd1:use.RS 4.RE.RE.PP\fB\-o\fR \fIconfigoption\fR.RS 4See the "\fBCONFIGURATION OVERRIDE\fR" section in\fBamanda\fR(8)\..RE.SH "EXAMPLE".PPFind out the path to the log file directory:.sp.RS 4.nf% amgetconf daily logdir/usr/local/etc/amanda//daily.fi.RE.PPFind out the current tape type:.sp.RS 4.nf% amgetconf daily tapetypeDLT4000\-IV.fi.RE.PPFind out the default configuration directory:.sp.RS 4.nf% amgetconf daily build\.CONFIG_DIR/usr/local/etc/amanda/.fi.RE.PPCreate, use and close a debug file in a script:.sp.RS 4.nf% set debug_file = `amgetconf daily dbopen\.myscript`% echo debug information >> $debug_file% amgetconf daily dbclose\.myscript:$debug_file.fi.RE.sp.SH "MESSAGES".PPamgetconf: no such parameter \fIparam\fR.RS 4Parameter\fIparam\fRis not a known keyword (e\.g\. not a valid\fIamanda\.conf\fRkeyword)\..RE.SH "SEE ALSO".PP\fBamanda\fR(8),\fI\%http://wiki.zmanda.com\fR

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -