Imported Upstream version 3.3.2
[debian/amanda] / man / amanda-client.conf.5
index fb15d229cd3c44fd8d39a08ec9003cef01536ba8..b040bd35cb33fa933f97857a24dbd021bb0da2e5 100644 (file)
+'\" t
 .\"     Title: amanda-client.conf
-.\"    Author: 
-.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
-.\"      Date: 08/22/2008
-.\"    Manual: 
-.\"    Source: 
+.\"    Author: James da Silva <jds@amanda.org>
+.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
+.\"      Date: 07/25/2012
+.\"    Manual: File formats and conventions
+.\"    Source: Amanda 3.3.2
+.\"  Language: English
 .\"
-.TH "AMANDA\-CLIENT\.CONF" "5" "08/22/2008" "" ""
+.TH "AMANDA\-CLIENT\&.CON" "5" "07/25/2012" "Amanda 3\&.3\&.2" "File formats and conventions"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el       .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
 .\" disable hyphenation
 .nh
 .\" disable justification (adjust text to left margin only)
 .ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
 .SH "NAME"
-amanda-client.conf - Client configuration file for Amanda, the Advanced Maryland Automatic Network Disk Archiver
+amanda-client.conf \- Client configuration file for Amanda, the Advanced Maryland Automatic Network Disk Archiver
 .SH "DESCRIPTION"
 .PP
-\fIamanda\-client\.conf\fR
-is the client configuration file for
-\fIAmanda\fR\. This manpage lists the relevant sections and parameters of this file for quick reference\.
+\fBamanda-client.conf\fR(5)
+is the client configuration file for Amanda\&. This manpage lists the relevant sections and parameters of this file for quick reference\&.
 .PP
 The files
-\fB<CONFIG_DIR>/amanda\-client\.conf\fR
+\fB<CONFIG_DIR>/amanda\-client\&.conf\fR
 and
-\fB<CONFIG_DIR>/<config>/amanda\-client\.conf\fR
-are loaded\.
-.SH "PARAMETERS"
-.PP
-There are a number of configuration parameters that control the behavior of the
-\fIAmanda\fR
-programs\. All have default values, so you need not specify the parameter in
-\fBamanda\-client\.conf\fR
-if the default is suitable\.
-.PP
-Lines starting with # are ignored, as are blank lines\. Comments may be placed on a line with a directive by starting the comment with a #\. The remainder of the line is ignored\.
-.PP
-Keywords are case insensitive, i\.e\.
-\fBauth\fR
-and
-\fBAuth\fR
-are treated the same\.
+\fB<CONFIG_DIR>/<config>/amanda\-client\&.conf\fR
+are loaded\&.
+.SH "SYNTAX"
+
+
+The syntax of \fBamanda-client.conf\fR(5) is identical to that for
+\fBamanda.conf\fR(5)\&.
+.SH "GLOBAL PARAMETERS"
 .PP
-Integer arguments may have one of the following (case insensitive) suffixes, some of which have a multiplier effect:
-.SS "POSSIBLE SUFFIXES"
+\fBconf\fR \fIstring\fR
+.RS 4
+Default:
+\fISet by configure\fR\&. The conf use by amrecover\&.
+.RE
 .PP
-\fBb byte bytes\fR
+\fBclient\-username\fR \fIstring\fR
 .RS 4
-Some number of bytes\.
+Default:
+\fICLIENT_LOGIN\fR\&. Similar to the parameter of the same name in
+\fBamanda.conf\fR(5), this specifies the username that
+\fBamrecover\fR
+should send when connecting to the server\&. It should match the username specified in
+\&.amandahosts
+on the server\&.
 .RE
 .PP
-\fBbps\fR
+\fBclient\-port\fR [ \fIint\fR | \fIstring\fR ]
 .RS 4
-Some number of bytes per second\.
+Default:
+\fI"amanda"\fR\&. Similar to the parameter of the same name in
+\fBamanda.conf\fR(5), this specifies the port to connect on the server\&. It can be a service name or a numeric port number\&.
 .RE
 .PP
-\fBk kb kbyte kbytes kilobyte kilobytes\fR
+\fBamdump\-server\fR \fIstring\fR
 .RS 4
-Some number of kilobytes (bytes*1024)\.
+No default:
+\fISet by configure\fR\&. The amanda server to connect with the amdump_client program\&.
 .RE
 .PP
-\fBkps kbps\fR
+\fBindex\-server\fR \fIstring\fR
 .RS 4
-Some number of kilobytes per second (bytes*1024)\.
+Default:
+\fISet by configure\fR\&. The amindexd server amrecover will connect to\&.
 .RE
 .PP
-\fBm mb meg mbyte mbytes megabyte megabytes\fR
+\fBtape\-server\fR \fIstring\fR
 .RS 4
-Some number of megabytes (bytes*1024*1024)\.
+Default:
+\fISet by configure\fR\&. The amidxtaped server amrecover will connect to\&.
 .RE
 .PP
-\fBmps mbps\fR
+\fBtapedev\fR \fIstring\fR
 .RS 4
-Some number of megabytes per second (bytes*1024*1024)\.
+Default:
+\fISet by configure\fR\&. The tapedev amrecover will use\&.
 .RE
 .PP
-\fBg gb gbyte gbytes gigabyte gigabytes\fR
+\fBauth\fR \fIstring\fR
 .RS 4
-Some number of gigabytes (bytes*1024*1024*1024)\.
+Default:
+\fB"bsdtcp"\fR\&. Type of authorization to perform between tape server and backup client hosts\&.
+.sp
+\fB"bsd"\fR, bsd authorization with udp initial connection and one tcp connection by data stream\&.
+.sp
+\fB"bsdtcp"\fR, bsd authorization but use only one tcp connection\&.
+.sp
+\fB"bsdudp"\fR, like bsd, but will use only one tcp connection for all data stream\&.
+.sp
+\fB"krb5"\fR
+to use Kerberos\-V authorization\&.
+.sp
+\fB"local"\fR, if the client is the server, it doesn\*(Aqt require authencation setup\&.
+.sp
+\fB"rsh"\fR
+to use rsh authorization\&.
+.sp
+\fB"ssh"\fR
+to use OpenSSH authorization\&.
 .RE
 .PP
-\fBtape tapes\fR
+\fBssh\-keys\fR \fIstring\fR
 .RS 4
-Some number of tapes\.
+Default:
+\fINo default\fR\&. The key file the ssh auth will use, it must be the private key\&. If this parameter is not specified, then the default ssh key will be used\&.
 .RE
 .PP
-\fBday days\fR
+\fBgnutar\-list\-dir\fR \fIstring\fR
 .RS 4
-Some number of days\.
+Default from configure
+\fI\-\-with\-gnutar\-listdir=DIR\fR\&. The directory where gnutar keep its state file\&.
 .RE
 .PP
-\fBweek weeks\fR
+\fBmailer\fR \fIstring\fR
 .RS 4
-Some number of weeks (days*7)\.
-.sp
-.it 1 an-trap
-.nr an-no-space-flag 1
-.nr an-break-flag 1
-.br
-Note
-The value
-\fBinf\fR
-may be used in most places where an integer is expected to mean an infinite amount\.
-.sp
-Boolean arguments may have any of the values
-\fBy\fR,
-\fByes\fR,
-\fBt\fR,
-\fBtrue\fR
-or
-\fBon\fR
-to indicate a true state, or
-\fBn\fR,
-\fBno\fR,
-\fBf\fR,
-\fBfalse\fR
-or
-\fBoff\fR
-to indicate a false state\. If no argument is given,
-\fBtrue\fR
-is assumed\.
-.RE
-.SS "PARAMETERS"
-.PP
-\fBconf\fR \fI string\fR
+Default found by configure\&. A mail program that can send mail with \*(Aq\fIMAILER \-s "subject" user < message_file\fR\*(Aq\&.
+.RE
+.PP
+\fBamandates\fR \fIstring\fR
 .RS 4
 Default:
-\fISet by configure\fR\. The conf use by amrecover\.
+\fI/etc/amandates\fR\&. The file where amanda keep the last date of each dumplevel\&.
 .RE
 .PP
-\fBindex_server\fR \fI string\fR
+\fBconnect\-tries\fR \fIint\fR
 .RS 4
 Default:
-\fISet by configure\fR\. The amindexd server amrecover will connect to\.
+\fI3\fR\&. How many times the server will try a connection\&.
 .RE
 .PP
-\fBtape_server\fR \fI string\fR
+\fBrep\-tries\fR \fIint\fR
 .RS 4
 Default:
-\fISet by configure\fR\. The amidxtaped server amrecover will connect to\.
+\fI5\fR\&. How many times amandad will resend a REP packet if it doesn\*(Aqt get the ACK packet\&.
 .RE
 .PP
-\fBtapedev\fR \fI string\fR
+\fBdebug\-days\fR \fIint\fR
 .RS 4
 Default:
-\fISet by configure\fR\. The tapedev amrecover will use\.
+\fI3\fR\&. The number of days the debug files are kept\&.
 .RE
 .PP
-\fBauth\fR \fI string\fR
+\fBdebug\-amandad\fR \fIint\fR
 .RS 4
 Default:
-\fIbsd\fR\. Type of authorization to perform between tape server and backup client hosts\.
-.sp
-\fBbsd\fR, bsd authorization with udp initial connection and one tcp connection by data stream\.
-.sp
-\fBbsdtcp\fR, bsd authorization but use only one tcp connection\.
-.sp
-\fBbsdudp\fR, like bsd, but will use only one tcp connection for all data stream\.
-.sp
-\fBkrb4\fR
-to use Kerberos\-IV authorization\.
-.sp
-\fBkrb5\fR
-to use Kerberos\-V authorization\.
-.sp
-\fBlocal\fR, if the client is the server, it doesn\'t require authencation setup\.
-.sp
-\fBrsh\fR
-to use rsh authorization\.
-.sp
-\fBssh\fR
-to use OpenSSH authorization\.
+\fI0\fR\&. Debug level of the amandad process
 .RE
 .PP
-\fBssh_keys\fR \fI string\fR
+\fBdebug\-amidxtaped\fR \fIint\fR
 .RS 4
 Default:
-\fINo default\fR\. The key file the ssh auth will use, it must be the private key\. If this parameter is not specified, then the deafult ssh key will be used\.
+\fI0\fR\&. Debug level of the amidxtaped process
 .RE
 .PP
-\fBgnutar_list_dir\fR \fI string\fR
+\fBdebug\-amindexd\fR \fIint\fR
 .RS 4
-Default from configure
-\fI\-\-with\-gnutar\-listdir=DIR\fR\. The directory where gnutar keep its state file\.
+Default:
+\fI0\fR\&. Debug level of the amindexd process
 .RE
 .PP
-\fBamandates\fR \fI string\fR
+\fBdebug\-amrecover\fR \fIint\fR
 .RS 4
 Default:
-\fI/etc/amandates\fR\. The file where amanda keep the last date of each dumplevel\.
+\fI0\fR\&. Debug level of the amrecover process
 .RE
 .PP
-\fBconnect_tries\fR int
+\fBdebug\-auth\fR \fIint\fR
 .RS 4
 Default:
-\fI3\fR\. How many times the server will try a connection\.
+\fI0\fR\&. Debug level of the auth module
 .RE
 .PP
-\fBrep_tries\fR int
+\fBdebug\-event\fR \fIint\fR
 .RS 4
 Default:
-\fI5\fR\. How many times amandad will resend a REP packet if it doesn\'t get the ACK packet\.
+\fI0\fR\&. Debug level of the event module
 .RE
 .PP
-\fBdebug_amandad\fR int
+\fBdebug\-holding\fR \fIint\fR
 .RS 4
 Default:
-\fI0\fR\. Debug level of the amandad process
+\fI0\fR\&. Debug level of the holdingdisk module
 .RE
 .PP
-\fBdebug_amidxtaped\fR int
+\fBdebug\-protocol\fR \fIint\fR
 .RS 4
 Default:
-\fI0\fR\. Debug level of the amidxtaped process
+\fI0\fR\&. Debug level of the protocol module
 .RE
 .PP
-\fBdebug_amindexd\fR int
+\fBdebug\-selfcheck\fR \fIint\fR
 .RS 4
 Default:
-\fI0\fR\. Debug level of the amindexd process
+\fI0\fR\&. Debug level of the selfcheck process
 .RE
 .PP
-\fBdebug_amrecover\fR int
+\fBdebug\-sendsize\fR \fIint\fR
 .RS 4
 Default:
-\fI0\fR\. Debug level of the amrecover process
+\fI0\fR\&. Debug level of the sendsize process
 .RE
 .PP
-\fBdebug_auth\fR int
+\fBdebug\-sendbackup\fR \fIint\fR
 .RS 4
 Default:
-\fI0\fR\. Debug level of the auth module
+\fI0\fR\&. Debug level of the sendbackup process
 .RE
 .PP
-\fBdebug_event\fR int
+\fBreserved\-udp\-port\fR \fIint\fR,\fIint\fR
 .RS 4
-Default:
-\fI0\fR\. Debug level of the event module
+Default: \-\-with\-udpportrange or
+\fI512,1023\fR\&. Reserved udp port that will be used (amrecover with bsd or bsdudp)
+.RE
+.PP
+\fBreserved\-tcp\-port\fR \fIint\fR,\fIint\fR
+.RS 4
+Default: \-\-with\-low\-tcpportrange or
+\fI512,1023\fR\&. Reserved tcp port that will be used (amrecover with bsdtcp)
 .RE
 .PP
-\fBdebug_holding\fR int
+\fBunreserved\-tcp\-port\fR \fIint\fR,\fIint\fR
+.RS 4
+Default: \-\-with\-tcpportrange or
+\fI1025,65536\fR\&. Unreserved tcp port that will be used (bsd, bsdudp)
+.RE
+.PP
+\fBproperty\fR \fIstring\fR \fIstring\fR+
+.RS 4
+Adds a global property for this client host, useful for e\&.g\&., Application API plugins\&. The first string is the property name, the following strings are the property values
+.RE
+.SH "APPLICATION SECTION"
+.PP
+The
+\fBamanda\-client\&.conf\fR
+file may define multiple types of application\&. The information is entered in a
+\fBapplication\fR
+section, which looks like this:
+.nf
+define application "\fIname\fR" {
+    \fIapplication\-option\fR \fIapplication\-value\fR
+    \&.\&.\&.
+}
+.fi
+.PP
+\fIname\fR
+is the name of this type of application\&.
+.PP
+The setting from an application is merged with the dle setting if the
+\fIname\fR
+is the same as the
+\fBclient\-application\-name\fR
+from the dle or if the
+\fBclient\-application\-name\fR
+from the dle is not set and the
+\fIname\fR
+is the same as the
+\fBplugin\fR
+from the dle\&.
+.PP
+The application options and values are:
+.PP
+\fBclient\-application\-name\fR \fIstring\fR
 .RS 4
 Default:
-\fI0\fR\. Debug level of the holdingdisk module
+\fInone\fR\&. Not use on the client\&.
 .RE
 .PP
-\fBdebug_protocol\fR int
+\fBcomment\fR \fIstring\fR
 .RS 4
 Default:
-\fI0\fR\. Debug level of the protocol module
+\fInone\fR\&. A comment string describing this application\&.
+.RE
+.PP
+\fBplugin\fR \fIstring\fR
+.RS 4
+No default\&. Must be set to the name of the program\&. This program must be in the
+\fI$libexecdir/amanda/application\fR
+directory on the client\&. If set, it must be the same as the dle
+\fBplugin\fR\&.
 .RE
 .PP
-\fBdebug_selfcheck\fR int
+\fBproperty\fR [\fBappend\fR] [\fBpriority\fR] \fIstring\fR \fIstring\fR+
+.RS 4
+No default\&. You can set property for the application, each application have a different set of property\&. Both strings are quoted; the first string contains the name of the property to set, and the others contains its values\&.
+\fBappend\fR
+keyword append the values to the list of values for that property\&.
+\fBpriority\fR
+keyword disallow the setting of that property on the server\&.
+.RE
+.SH "SCRIPT SECTION"
+.PP
+The
+\fBamanda\-client\&.conf\fR
+file may define multiple types of script\&. The information is entered in a
+\fBscript\fR
+section, which looks like this:
+.nf
+define script "\fIname\fR" {
+    \fIscript\-option\fR \fIscript\-value\fR
+    \&.\&.\&.
+}
+.fi
+.PP
+\fIname\fR
+is the name of this type of script\&.
+.PP
+The setting from a script is merged with the dle setting if the
+\fIname\fR
+is the same as the
+\fBclient\-script\-name\fR
+from the dle or if the
+\fBclient\-script\-name\fR
+from the dle is not set and the
+\fIname\fR
+is the same as the
+\fBplugin\fR
+from the dle\&.
+.PP
+The script options and values are:
+.PP
+\fBclient\-script\-name\fR \fIstring\fR
 .RS 4
 Default:
-\fI0\fR\. Debug level of the selfcheck process
+\fInone\fR\&. Not used on the client\&.
 .RE
 .PP
-\fBdebug_sendsize\fR int
+\fBcomment\fR \fIstring\fR
 .RS 4
 Default:
-\fI0\fR\. Debug level of the sendsize process
+\fInone\fR\&. A comment string describing this script\&.
 .RE
 .PP
-\fBdebug_sendbackup\fR int
+\fBplugin\fR \fIstring\fR
+.RS 4
+No default\&. Must be set to the name of the program\&. This program must be in the
+\fI$libdir/amanda/application\fR
+directory on the client\&. If set, it must be the same as the dle
+\fBplugin\fR\&.
+.RE
+.PP
+\fBexecute\-where\fR \fBclient\fR
 .RS 4
 Default:
-\fI0\fR\. Debug level of the sendbackup process
+\fBclient\fR\&. Value can\*(Aqt be changed\&.
 .RE
 .PP
-\fBreserved\-udp\-port\fR int,int
+\fBexecute\-on\fR \fIexecute_on\fR[,\fIexecute_on\fR]*
 .RS 4
-Default: \-\-with\-udpportrange or
-\fI512,1023\fR\. Reserved udp port that will be used (amrecover with bsd or bsdudp)
+No default\&. When the script must be executed, you can specify many of them:
+.PP
+\fBpre\-dle\-amcheck\fR
+.RS 4
+Execute before the amcheck command for the dle\&.
 .RE
 .PP
-\fBreserved\-tcp\-port\fR int,int
+\fBpre\-host\-amcheck\fR
 .RS 4
-Default: \-\-with\-low\-tcpportrange or
-\fI512,1023\fR\. Reserved tcp port that will be used (amrecover with bsdtcp)
+Execute before the amcheck command for all dle for the client\&.
 .RE
 .PP
-\fBunreserved\-tcp\-port\fR int,int
+\fBpost\-dle\-amcheck\fR
 .RS 4
-Default: \-\-with\-tcpportrange or
-\fI1025,65536\fR\. Unreserved tcp port that will be used (bsd, bsdudp)
+Execute after the amcheck command for the dle\&.
 .RE
-.SH "AUTHOR"
 .PP
-James da Silva,
-<jds@amanda\.org>: Original text
+\fBpost\-host\-amcheck\fR
+.RS 4
+Execute after the amcheck command for all dle for the client\&.
+.RE
+.PP
+\fBpre\-dle\-estimate\fR
+.RS 4
+Execute before the estimate command for the dle\&.
+.RE
+.PP
+\fBpre\-host\-estimate\fR
+.RS 4
+Execute before the estimate command for all dle for the client\&.
+.RE
+.PP
+\fBpost\-dle\-estimate\fR
+.RS 4
+Execute after the estimate command for the dle\&.
+.RE
+.PP
+\fBpost\-host\-estimate\fR
+.RS 4
+Execute after the estimate command for all dle for the client\&.
+.RE
 .PP
-Stefan G\. Weichinger,
-<sgw@amanda\.org>, maintainer of the
-\fIAmanda\fR\-documentation: XML\-conversion, major update, splitting
+\fBpre\-dle\-backup\fR
+.RS 4
+Execute before the backup command for the dle\&.
+.RE
+.PP
+\fBpost\-dle\-backup\fR
+.RS 4
+Execute after the backup command for the dle\&.
+.RE
+.PP
+\fBpre\-recover\fR
+.RS 4
+Execute before any level is recovered\&.
+.RE
+.PP
+\fBpost\-recover\fR
+.RS 4
+Execute after all levels are recovered\&.
+.RE
+.PP
+\fBpre\-level\-recover\fR
+.RS 4
+Execute before each level recovery\&.
+.RE
+.PP
+\fBpost\-level\-recover\fR
+.RS 4
+Execute after each level recovery\&.
+.RE
+.PP
+\fBinter\-level\-recover\fR
+.RS 4
+Execute between two levels of recovery\&.
+.RE
+.RE
+.PP
+\fBproperty\fR [\fBappend\fR] [\fBpriority\fR] \fIstring\fR \fIstring\fR+
+.RS 4
+No default\&. You can set property for the script, each script have a different set of property\&. Both strings are quoted; the first string contains the name of the property to set, and the others contains its values\&.
+\fBappend\fR
+keyword append the values to the list of values for that property\&.
+\fBpriority\fR
+keyword disallow the setting of that property on the server\&.
+.RE
 .SH "SEE ALSO"
 .PP
-
 \fBamanda\fR(8),
 \fBamanda.conf\fR(5),
 \fBamcrypt\fR(8),
-\fBaespipe\fR(1),
-: http://wiki.zmanda.com
+\fBaespipe\fR(1)
+.PP
+The Amanda Wiki:
+: http://wiki.zmanda.com/
+.SH "AUTHORS"
+.PP
+\fBJames da Silva\fR <\&jds@amanda\&.org\&>
+.PP
+\fBStefan G\&. Weichinger\fR <\&sgw@amanda\&.org\&>