1 .\" Title: amanda-client.conf
2 .\" Author: James da Silva <jds@amanda.org>
3 .\" Generator: DocBook XSL Stylesheets v1.74.0 <http://docbook.sf.net/>
5 .\" Manual: File formats and conventions
6 .\" Source: Amanda 2.6.1
9 .TH "AMANDA\-CLIENT\&.CON" "5" "01/22/2009" "Amanda 2\&.6\&.1" "File formats and conventions"
10 .\" -----------------------------------------------------------------
11 .\" * (re)Define some macros
12 .\" -----------------------------------------------------------------
13 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14 .\" toupper - uppercase a string (locale-aware)
15 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17 .tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
19 .tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
21 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
22 .\" SH-xref - format a cross-reference to an SH section
23 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33 .\" SH - level-one heading that works better for non-TTY output
34 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
36 .\" put an extra blank line of space above the head in non-TTY output
43 .nr an-prevailing-indent \\n[IN]
47 .HTML-TAG ".NH \\n[an-level]"
49 .nr an-no-space-flag 1
51 \." make the size of the head bigger
56 .\" if n (TTY output), use uppercase
61 .\" if not n (not TTY), use normal case (not uppercase)
65 .\" if not n (not TTY), put a border/line under subheading
70 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
71 .\" SS - level-two heading that works better for non-TTY output
72 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
77 .nr an-prevailing-indent \\n[IN]
82 .nr an-no-space-flag 1
85 \." make the size of the head bigger
91 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
92 .\" BB/BE - put background/screen (filled box) around block of text
93 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
106 .if "\\$2"adjust-for-leading-newline" \{\
114 .nr BW \\n(.lu-\\n(.i
117 .ie "\\$2"adjust-for-leading-newline" \{\
118 \M[\\$1]\h'1n'\v'+.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[]
121 \M[\\$1]\h'1n'\v'-.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[]
132 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
133 .\" BM/EM - put colored marker in margin next to block of text
134 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
151 \M[\\$1]\D'P -.75n 0 0 \\n(BHu -(\\n[.i]u - \\n(INu - .75n) 0 0 -\\n(BHu'\M[]
159 .\" -----------------------------------------------------------------
160 .\" * set default formatting
161 .\" -----------------------------------------------------------------
162 .\" disable hyphenation
164 .\" disable justification (adjust text to left margin only)
166 .\" -----------------------------------------------------------------
167 .\" * MAIN CONTENT STARTS HERE *
168 .\" -----------------------------------------------------------------
170 amanda-client.conf \- Client configuration file for \fIAmanda\fR, the Advanced Maryland Automatic Network Disk Archiver
173 \fBamanda-client.conf\fR(5)
174 is the client configuration file for
175 \fIAmanda\fR\&. This manpage lists the relevant sections and parameters of this file for quick reference\&.
178 \fB<CONFIG_DIR>/amanda\-client\&.conf\fR
180 \fB<CONFIG_DIR>/<config>/amanda\-client\&.conf\fR
185 The syntax of \fBamanda-client.conf\fR(5) is identical to that for
186 \fBamanda.conf\fR(5)\&.
187 .SH "GLOBAL PARAMETERS"
189 \fBconf\fR \fI string\fR
192 \fISet by configure\fR\&. The conf use by amrecover\&.
195 \fBclient_username\fR \fI string\fR
198 \fICLIENT_LOGIN\fR\&. Similar to the parameter of the same name in
199 \fBamanda.conf\fR(5), this specifies the username that
201 should send when connecting to the server\&. It should match the username specified in
202 \FC\&.amandahosts\F[]
206 \fBindex_server\fR \fI string\fR
209 \fISet by configure\fR\&. The amindexd server amrecover will connect to\&.
212 \fBtape_server\fR \fI string\fR
215 \fISet by configure\fR\&. The amidxtaped server amrecover will connect to\&.
218 \fBtapedev\fR \fI string\fR
221 \fISet by configure\fR\&. The tapedev amrecover will use\&.
224 \fBauth\fR \fI string\fR
227 \fIbsd\fR\&. Type of authorization to perform between tape server and backup client hosts\&.
229 \fBbsd\fR, bsd authorization with udp initial connection and one tcp connection by data stream\&.
231 \fBbsdtcp\fR, bsd authorization but use only one tcp connection\&.
233 \fBbsdudp\fR, like bsd, but will use only one tcp connection for all data stream\&.
236 to use Kerberos\-IV authorization\&.
239 to use Kerberos\-V authorization\&.
241 \fBlocal\fR, if the client is the server, it doesn\'t require authencation setup\&.
244 to use rsh authorization\&.
247 to use OpenSSH authorization\&.
250 \fBssh_keys\fR \fI string\fR
253 \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\&.
256 \fBgnutar_list_dir\fR \fI string\fR
258 Default from configure
259 \fI\-\-with\-gnutar\-listdir=DIR\fR\&. The directory where gnutar keep its state file\&.
262 \fBmailer\fR \fI string\fR
264 Default found by configure\&. A mail program that can send mail with \'\fIMAILER \-s "subject" user < message_file\fR\'\&.
267 \fBamandates\fR \fI string\fR
270 \fI/etc/amandates\fR\&. The file where amanda keep the last date of each dumplevel\&.
273 \fBconnect_tries\fR int
276 \fI3\fR\&. How many times the server will try a connection\&.
282 \fI5\fR\&. How many times amandad will resend a REP packet if it doesn\'t get the ACK packet\&.
285 \fBdebug_amandad\fR int
288 \fI0\fR\&. Debug level of the amandad process
291 \fBdebug_amidxtaped\fR int
294 \fI0\fR\&. Debug level of the amidxtaped process
297 \fBdebug_amindexd\fR int
300 \fI0\fR\&. Debug level of the amindexd process
303 \fBdebug_amrecover\fR int
306 \fI0\fR\&. Debug level of the amrecover process
312 \fI0\fR\&. Debug level of the auth module
315 \fBdebug_event\fR int
318 \fI0\fR\&. Debug level of the event module
321 \fBdebug_holding\fR int
324 \fI0\fR\&. Debug level of the holdingdisk module
327 \fBdebug_protocol\fR int
330 \fI0\fR\&. Debug level of the protocol module
333 \fBdebug_selfcheck\fR int
336 \fI0\fR\&. Debug level of the selfcheck process
339 \fBdebug_sendsize\fR int
342 \fI0\fR\&. Debug level of the sendsize process
345 \fBdebug_sendbackup\fR int
348 \fI0\fR\&. Debug level of the sendbackup process
351 \fBreserved\-udp\-port\fR int,int
353 Default: \-\-with\-udpportrange or
354 \fI512,1023\fR\&. Reserved udp port that will be used (amrecover with bsd or bsdudp)
357 \fBreserved\-tcp\-port\fR int,int
359 Default: \-\-with\-low\-tcpportrange or
360 \fI512,1023\fR\&. Reserved tcp port that will be used (amrecover with bsdtcp)
363 \fBunreserved\-tcp\-port\fR int,int
365 Default: \-\-with\-tcpportrange or
366 \fI1025,65536\fR\&. Unreserved tcp port that will be used (bsd, bsdudp)
369 \fBproperty\fR "name" "value"
371 Adds a global property for this client host, useful for e\&.g\&., Application API plugins\&.
373 .SH "APPLICATION SECTION"
377 file may define multiple types of application\&. The information is entered in a
378 \fBapplication\-tool\fR
379 section, which looks like this:
381 define application\-tool "\fIname\fR" {
382 \fIapplication\-option\fR \fIappli
389 is the name of this type of application\&. It is referenced from the
392 The application\-tool options and values are:
394 \fBcomment\fR \fIstring\fR
397 \fInone\fR\&. A comment string describing this application\&.
400 \fBplugin\fR \fIstring\fR
402 No default\&. Must be set to the name of the program\&. This program must be in the
403 \fI$libexecdir/amanda/application\fR
404 directory on the client\&.
407 \fBproperty\fR [append] [priority] \fIstring\fR \fIstring\fR+
409 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\&.
411 keyword append the values to the list of values for that property\&.
413 keyword disallow the setting of that property on the server\&.
419 file may define multiple types of script\&. The information is entered in a
421 section, which looks like this:
423 define script\-tool "\fIname\fR" {
424 \fIscript\-option\fR \fIscript\-value\fR
430 is the name of this type of script\&. It is referenced from the
433 The script\-tool options and values are:
435 \fBcomment\fR \fIstring\fR
438 \fInone\fR\&. A comment string describing this script\&.
441 \fBplugin\fR \fIstring\fR
443 No default\&. Must be set to the name of the program\&. This program must be in the
444 \fI$libdir/amanda/application\fR
445 directory on the client and/or server\&.
448 \fBexecute_where\fR [client|server]
451 \fIclient\fR\&. Where the script must be executed, on the client or server\&. Only
456 \fBexecute_on\fR \fIexecute_on\fR[,\fIexecute_on\fR]*
458 No default\&. When the script must be executed, you can specify many of them:
460 \fBpre\-dle\-amcheck\fR
462 Execute before the amcheck command for the dle\&.
465 \fBpre\-host\-amcheck\fR
467 Execute before the amcheck command for all dle for the client\&.
470 \fBpost\-dle\-amcheck\fR
472 Execute after the amcheck command for the dle\&.
475 \fBpost\-host\-amcheck\fR
477 Execute after the amcheck command for all dle for the client\&.
480 \fBpre\-dle\-estimate\fR
482 Execute before the estimate command for the dle\&.
485 \fBpre\-host\-estimate\fR
487 Execute before the estimate command for all dle for the client\&.
490 \fBpost\-dle\-estimate\fR
492 Execute after the estimate command for the dle\&.
495 \fBpost\-host\-estimate\fR
497 Execute after the estimate command for all dle for the client\&.
500 \fBpre\-dle\-backup\fR
502 Execute before the backup command for the dle\&.
505 \fBpre\-host\-backup\fR
507 Execute before the backup command for all dle for the client\&.
510 \fBpost\-dle\-backup\fR
512 Execute after the backup command for the dle\&.
515 \fBpost\-host\-backup\fR
517 Execute after the backup command for all dle for the client\&.
522 Execute before any level is recovered\&.
527 Execute after all levels are recovered\&.
530 \fBpre\-level\-recover\fR
532 Execute before each level recovery\&.
535 \fBpost\-level\-recover\fR
537 Execute after each level recovery\&.
540 \fBinter\-level\-recover\fR
542 Execute between two levels of recovery\&.
546 \fBproperty\fR [append] [priority] \fIstring\fR \fIstring\fR+
548 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\&.
550 keyword append the values to the list of values for that property\&.
552 keyword disallow the setting of that property on the server\&.
558 \fBamanda.conf\fR(5),
561 : http://wiki.zmanda.com
564 \fBJames da Silva\fR <\&jds@amanda\&.org\&>
566 \fBStefan G\&. Weichinger\fR <\&sgw@amanda\&.org\&>