Imported Upstream version 2.6.1
[debian/amanda] / man / amanda.conf.5
1 .\"     Title: amanda.conf
2 .\"    Author: James da Silva <jds@amanda.org>
3 .\" Generator: DocBook XSL Stylesheets v1.74.0 <http://docbook.sf.net/>
4 .\"      Date: 01/22/2009
5 .\"    Manual: File formats and conventions
6 .\"    Source: Amanda 2.6.1
7 .\"  Language: English
8 .\"
9 .TH "AMANDA\&.CONF" "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 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
16 .de toupper
17 .tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
18 \\$*
19 .tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
20 ..
21 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
22 .\" SH-xref - format a cross-reference to an SH section
23 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
24 .de SH-xref
25 .ie n \{\
26 .\}
27 .toupper \\$*
28 .el \{\
29 \\$*
30 .\}
31 ..
32 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33 .\" SH - level-one heading that works better for non-TTY output
34 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
35 .de1 SH
36 .\" put an extra blank line of space above the head in non-TTY output
37 .if t \{\
38 .sp 1
39 .\}
40 .sp \\n[PD]u
41 .nr an-level 1
42 .set-an-margin
43 .nr an-prevailing-indent \\n[IN]
44 .fi
45 .in \\n[an-margin]u
46 .ti 0
47 .HTML-TAG ".NH \\n[an-level]"
48 .it 1 an-trap
49 .nr an-no-space-flag 1
50 .nr an-break-flag 1
51 \." make the size of the head bigger
52 .ps +3
53 .ft B
54 .ne (2v + 1u)
55 .ie n \{\
56 .\" if n (TTY output), use uppercase
57 .toupper \\$*
58 .\}
59 .el \{\
60 .nr an-break-flag 0
61 .\" if not n (not TTY), use normal case (not uppercase)
62 \\$1
63 .in \\n[an-margin]u
64 .ti 0
65 .\" if not n (not TTY), put a border/line under subheading
66 .sp -.6
67 \l'\n(.lu'
68 .\}
69 ..
70 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
71 .\" SS - level-two heading that works better for non-TTY output
72 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 .de1 SS
74 .sp \\n[PD]u
75 .nr an-level 1
76 .set-an-margin
77 .nr an-prevailing-indent \\n[IN]
78 .fi
79 .in \\n[IN]u
80 .ti \\n[SN]u
81 .it 1 an-trap
82 .nr an-no-space-flag 1
83 .nr an-break-flag 1
84 .ps \\n[PS-SS]u
85 \." make the size of the head bigger
86 .ps +2
87 .ft B
88 .ne (2v + 1u)
89 .if \\n[.$] \&\\$*
90 ..
91 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
92 .\" BB/BE - put background/screen (filled box) around block of text
93 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
94 .de BB
95 .if t \{\
96 .sp -.5
97 .br
98 .in +2n
99 .ll -2n
100 .gcolor red
101 .di BX
102 .\}
103 ..
104 .de EB
105 .if t \{\
106 .if "\\$2"adjust-for-leading-newline" \{\
107 .sp -1
108 .\}
109 .br
110 .di
111 .in
112 .ll
113 .gcolor
114 .nr BW \\n(.lu-\\n(.i
115 .nr BH \\n(dn+.5v
116 .ne \\n(BHu+.5v
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[]
119 .\}
120 .el \{\
121 \M[\\$1]\h'1n'\v'-.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[]
122 .\}
123 .in 0
124 .sp -.5v
125 .nf
126 .BX
127 .in
128 .sp .5v
129 .fi
130 .\}
131 ..
132 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
133 .\" BM/EM - put colored marker in margin next to block of text
134 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135 .de BM
136 .if t \{\
137 .br
138 .ll -2n
139 .gcolor red
140 .di BX
141 .\}
142 ..
143 .de EM
144 .if t \{\
145 .br
146 .di
147 .ll
148 .gcolor
149 .nr BH \\n(dn
150 .ne \\n(BHu
151 \M[\\$1]\D'P -.75n 0 0 \\n(BHu -(\\n[.i]u - \\n(INu - .75n) 0 0 -\\n(BHu'\M[]
152 .in 0
153 .nf
154 .BX
155 .in
156 .fi
157 .\}
158 ..
159 .\" -----------------------------------------------------------------
160 .\" * set default formatting
161 .\" -----------------------------------------------------------------
162 .\" disable hyphenation
163 .nh
164 .\" disable justification (adjust text to left margin only)
165 .ad l
166 .\" -----------------------------------------------------------------
167 .\" * MAIN CONTENT STARTS HERE *
168 .\" -----------------------------------------------------------------
169 .SH "Name"
170 amanda.conf \- Main configuration file for \fIAmanda\fR, the Advanced Maryland Automatic Network Disk Archiver
171 .SH "DESCRIPTION"
172 .PP
173 \fBamanda.conf\fR(5)
174 is the main configuration file for
175 \fIAmanda\fR\&. This manpage lists the relevant sections and parameters of this file for quick reference\&.
176 .PP
177 The file
178 \fB<CONFIG_DIR>/<config>/amanda\&.conf\fR
179 is loaded\&.
180 .SH "SYNTAX"
181 .PP
182 There are a number of configuration parameters that control the behavior of the
183 \fIAmanda\fR
184 programs\&. All have default values, so you need not specify the parameter in
185 \fBamanda\&.conf\fR
186 if the default is suitable\&.
187 .SS "COMMENTS"
188 .PP
189 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\&.
190 .SS "KEYWORDS AND IDENTIFIERS"
191 .PP
192 Keywords are case insensitive, i\&.e\&.
193 \fBmailto\fR
194 and
195 \fBMailTo\fR
196 are treated the same\&. Also, the characters
197 \fB\'\-\'\fR
198 and
199 \fB\'_\'\fR
200 are interchangeable in all predefined
201 \fIAmanda\fR
202 keywords:
203 \fBdevice_property\fR
204 and
205 \fBdevice\-property\fR
206 have the same meaning\&.
207 .PP
208 Identifiers are names which are defined in the configuration itself, such as dumptypes or interfaces\&. Identifiers are are case\-insensitive, but sensitive to
209 \fB\'\-\'\fR
210 vs\&.
211 \fB\'_\'\fR\&. Identifiers should be quoted in the configuration file, although For historical reasons, the quotes are optional\&.
212 .PP
213 Strings are always quoted with double quotes ("), and any double quotes or backslashes within the string are escaped with a backslash:
214 .sp
215 .nf
216 tapelist "/path/to/tapelist"
217 property "escaped\-string" "escaping: \e\e (backslash) and \e" (double\-quote)"
218 .fi
219 .PP
220 To summarize, then:
221 .sp
222 .nf
223                           # QUOTES        CASE            \-/_
224 logdir "logs"             # required      sensitive       sensitive
225 send\-amreport\-on strange  # prohibited    insensitive     insensitive
226 tapetype "EXABYTE"        # optional      insensitive     sensitive
227
228 define dumptype "dt" {    # optional      insensitive     sensitive
229   "dumptype\-common"       # optional      insensitive     sensitive
230   strategy noincr         # prohibited    insensitive     insensitive
231 }
232 .fi
233 .SS "VALUE SUFFIXES"
234 .PP
235 Integer arguments may have one of the following (case insensitive) suffixes, some of which have a multiplier effect:
236 .PP
237 \fBb byte bytes\fR
238 .RS 4
239 Some number of bytes\&.
240 .RE
241 .PP
242 \fBbps\fR
243 .RS 4
244 Some number of bytes per second\&.
245 .RE
246 .PP
247 \fBk kb kbyte kbytes kilobyte kilobytes\fR
248 .RS 4
249 Some number of kilobytes (bytes*1024)\&.
250 .RE
251 .PP
252 \fBkps kbps\fR
253 .RS 4
254 Some number of kilobytes per second (bytes*1024)\&.
255 .sp
256 It is the default multiplier for all size options\&.
257 .RE
258 .PP
259 \fBm mb meg mbyte mbytes megabyte megabytes\fR
260 .RS 4
261 Some number of megabytes (bytes*1024*1024)\&.
262 .RE
263 .PP
264 \fBmps mbps\fR
265 .RS 4
266 Some number of megabytes per second (bytes*1024*1024)\&.
267 .RE
268 .PP
269 \fBg gb gbyte gbytes gigabyte gigabytes\fR
270 .RS 4
271 Some number of gigabytes (bytes*1024*1024*1024)\&.
272 .RE
273 .PP
274 \fBtape tapes\fR
275 .RS 4
276 Some number of tapes\&.
277 .RE
278 .PP
279 \fBday days\fR
280 .RS 4
281 Some number of days\&.
282 .RE
283 .PP
284 \fBweek weeks\fR
285 .RS 4
286 Some number of weeks (days*7)\&.
287 .if n \{\
288 .sp
289 .\}
290 .RS 4
291 .BM yellow
292 .it 1 an-trap
293 .nr an-no-space-flag 1
294 .nr an-break-flag 1
295 .br
296 .ps +1
297 \fBNote\fR
298 .ps -1
299 .br
300 The value
301 \fBinf\fR
302 may be used in most places where an integer is expected to mean an infinite amount\&.
303 .sp
304 Boolean arguments may have any of the values
305 \fBy\fR,
306 \fByes\fR,
307 \fBt\fR,
308 \fBtrue\fR
309 or
310 \fBon\fR
311 to indicate a true state, or
312 \fBn\fR,
313 \fBno\fR,
314 \fBf\fR,
315 \fBfalse\fR
316 or
317 \fBoff\fR
318 to indicate a false state\&. If no argument is given,
319 \fBtrue\fR
320 is assumed\&.
321 .sp .5v
322 .EM yellow
323 .RE
324 .RE
325 .SS "PARAMETER ORDER"
326 .PP
327 In general, the order in which parameters occur in the configuration file does not matter, with the exception of subsection inheritance\&. For example, if dumptype "normal\-encrypt" which inherits from dumptype "normal", then "normal" must appear first in the configuration file\&.
328 .SS "STRINGS"
329 .PP
330 Quoted strings in Amanda follow a common, C\-like syntax\&. Printable characters and whitespace are kept as\-is, except that the backslash character (\e) is used as an escape character, and a double\-quote ends the string\&. The allowed escape sequences are
331 .sp
332 .nf
333     ESCAPE SEQUENCE     BECOMES
334     \e\e                  \e
335     \e"                  "
336     \en                  (newline)
337     \et                  (tab)
338     \er                  (carriage return)
339     \ef                  (form\-feed)
340     \e1 \- \e7
341     \e01 \- \e77
342     \e001 \- \e377         (character specified in octal)
343 .fi
344 Illegally quoted strings are handled on a "best\-effort" basis, which may lead to unexpected results\&.
345 .PP
346 Examples:
347 .sp
348 .nf
349 finserver "/data/finance/XYZ Corp\'s \e"real\e" finances" finance\-high eth0 \-1
350 property "syspath" "C:\e\eWINDOWS\e\eSYSTEM"
351 .fi
352 .SH "GLOBAL PARAMETERS"
353 .PP
354 \fBorg\fR \fI string\fR
355 .RS 4
356 Default:
357 \fIdaily\fR\&. A descriptive name for the configuration\&. This string appears in the Subject line of mail reports\&. Each
358 \fIAmanda\fR
359 configuration should have a different string to keep mail reports distinct\&.
360 .RE
361 .PP
362 \fBmailer\fR \fI string\fR
363 .RS 4
364 Default found by configure\&. A mail program that can send mail with \'\fIMAILER \-s "subject" user < message_file\fR\'\&.
365 .RE
366 .PP
367 \fBmailto\fR \fI string\fR
368 .RS 4
369 Default:
370 \fIoperators\fR\&. A space separated list of recipients for mail reports\&.
371 .RE
372 .PP
373 \fBsend\-amreport\-on\fR [all|strange|error|never]
374 .RS 4
375 Default:
376 \fBall\fR\&. Specify which types of messages will trigger an email from amreport\&. amreport is used by amdump and amflush\&.
377 .PP
378 \fBall\fR
379 .RS 4
380 Send an email on any message\&.
381 .RE
382 .PP
383 \fBstrange\fR
384 .RS 4
385 Send an email on strange or error message\&. A strange message occurs when the dump succeeded, but returned one or more errors unknown to
386 \fIAmanda\fR\&.
387 .RE
388 .PP
389 \fBerror\fR
390 .RS 4
391 Send an email only on error messages\&.
392 .RE
393 .PP
394 \fBnever\fR
395 .RS 4
396 Never send an email\&.
397 .RE
398 .RE
399 .PP
400 \fBdumpcycle\fR \fI int\fR
401 .RS 4
402 Default:
403 \fI10 days\fR\&. The number of days in the backup cycle\&. Each disk will get a full backup at least this often\&. Setting this to zero tries to do a full backup each run\&.
404 .if n \{\
405 .sp
406 .\}
407 .RS 4
408 .BM yellow
409 .it 1 an-trap
410 .nr an-no-space-flag 1
411 .nr an-break-flag 1
412 .br
413 .ps +1
414 \fBNote\fR
415 .ps -1
416 .br
417 This parameter may also be set in a specific
418 \fBdumptype\fR
419 (see below)\&. This value sets the default for all
420 \fBdumptype\fRs so must appear in
421 \fBamanda\&.conf\fR
422 before any
423 \fBdumptype\fRs are defined\&.
424 .sp .5v
425 .EM yellow
426 .RE
427 .RE
428 .PP
429 \fBrunspercycle\fR \fI int\fR
430 .RS 4
431 Default:
432 \fIsame as dumpcycle\fR\&. The number of amdump runs in
433 \fBdumpcycle\fR
434 days\&. A value of 0 means the same value as
435 \fBdumpcycle\fR\&. A value of \-1 means guess the number of runs from the
436 \fBtapelist\fR(5)
437 file, which is the number of tapes used in the last
438 \fBdumpcycle\fR
439 days /
440 \fBruntapes\fR\&.
441 .RE
442 .PP
443 \fBtapecycle\fR \fI int\fR
444 .RS 4
445 Default:
446 \fI15 tapes\fR\&. Typically tapes are used by
447 \fIAmanda\fR
448 in an ordered rotation\&. The
449 \fBtapecycle\fR
450 parameter defines the size of that rotation\&. The number of tapes in rotation must be larger than the number of tapes required for a complete dump cycle (see the
451 \fBdumpcycle\fR
452 parameter)\&.
453 .sp
454 This is calculated by multiplying the number of
455 \fBamdump\fR
456 runs per dump cycle (\fBrunspercycle\fR
457 parameter) times the number of tapes used per run (\fBruntapes\fR
458 parameter)\&. Typically two to four times this calculated number of tapes are in rotation\&. While
459 \fIAmanda\fR
460 is always willing to use a new tape in its rotation, it refuses to reuse a tape until at least \'\fBtapecycle\fR
461 \-1\' number of other tapes have been used\&.
462 .sp
463 It is considered good administrative practice to set the
464 \fBtapecycle\fR
465 parameter slightly lower than the actual number of tapes in rotation\&. This allows the administrator to more easily cope with damaged or misplaced tapes or schedule adjustments that call for slight adjustments in the rotation order\&.
466 .RE
467 .PP
468 \fBusetimestamps\fR \fI bool\fR
469 .RS 4
470 Default:
471 \fBYes\fR\&. This option allows Amanda to track multiple runs per calendar day\&. The only reason one might disable it is that Amanda versions before 2\&.5\&.1 can\'t read logfiles written when this option was enabled\&.
472 .RE
473 .PP
474 \fBlabel_new_tapes\fR \fI string\fR
475 .RS 4
476 Default: not set\&. When set, this directive will cause
477 \fIAmanda\fR
478 to automatically write an
479 \fIAmanda\fR
480 tape label to any blank tape she encounters\&. This option is DANGEROUS because when set,
481 \fIAmanda\fR
482 will ERASE any non\-\fIAmanda\fR
483 tapes you may have, and may also ERASE any near\-failing tapes\&. Use with caution\&.
484 .sp
485 When using this directive, specify the template for new tape labels\&. The template should contain some number of contiguous \'%\' characters, which will be replaced with a generated number\&. Be sure to specify enough \'%\' characters that you do not run out of tape labels\&. Example:
486 \fBlabel_new_tapes "DailySet1\-%%%"\fR
487 .RE
488 .PP
489 \fBdumpuser\fR \fI string\fR
490 .RS 4
491 Default:
492 \fIamanda\fR\&. The login name
493 \fIAmanda\fR
494 uses to run the backups\&. The backup client hosts must allow access from the tape server host as this user via
495 \fB\&.rhosts\fR
496 or
497 \fB\&.amandahosts\fR, depending on how the
498 \fIAmanda\fR
499 software was built\&.
500 .RE
501 .PP
502 \fBprinter\fR string
503 .RS 4
504 Printer to use when doing tape labels\&. See the
505 \fBlbl\-templ\fR
506 \fBtapetype\fR
507 option\&.
508 .RE
509 .PP
510 \fBtapedev\fR string
511 .RS 4
512 Default:
513 \FCnull:\F[]\&. The device name, referencing the name of a "device" section in the configuration file\&. See
514 \fBamanda-devices\fR(7)
515 for more information on device names\&.
516 .sp
517 If a tape changer is configured (see the
518 \fBtpchanger\fR
519 option), this option might not be used\&.
520 .sp
521 If
522 \fBtapedev\fR
523 is
524 \fBnull:\fR, programs such as
525 \fBamdump\fR
526 will run normally but all images will be thrown away\&. This should only be used for debugging and testing, and probably only with the
527 \fBrecord\fR
528 option set to
529 \fIno\fR\&.
530 .RE
531 .PP
532 \fBdevice_property\fR string string
533 .RS 4
534 These options can set various device properties\&. See
535 \fBamanda-devices\fR(7)
536 for more information on device properties and their syntax\&. Both strings are always quoted; the first string contains the name of the property to set, and the second contains its value\&. For example, to set a fixed block size of 128k, write:
537 .nf
538 device_property "BLOCK_SIZE" "128k"
539 .fi
540 .RE
541 .PP
542 \fBproperty\fR [append] string string+
543 .RS 4
544 These options can set various properties, they can be used by third party software to store information in the configuration file\&. Both strings are quoted; the first string contains the name of the property to set, and the others contains its values\&.
545 \fBappend\fR
546 keyword append the values to the list of values for that property\&.
547 .RE
548 .PP
549 \fBtpchanger\fR string
550 .RS 4
551 Default:
552 \fInone\fR\&. The name of the tape changer\&. If a tape changer is not configured, this option is not used and should be commented out of the configuration file\&.
553 .sp
554 If a tape changer is configured, choose one of the changer scripts (e\&.g\&.
555 \fBchg\-scsi\fR) and enter that here\&.
556 .RE
557 .PP
558 \fBchangerdev\fR string
559 .RS 4
560 Default:
561 \FC/dev/null\F[]\&. A tape changer configuration parameter\&. Usage depends on the particular changer defined with the
562 \fBtpchanger\fR
563 option\&.
564 .RE
565 .PP
566 \fBchangerfile\fR string
567 .RS 4
568 Default:
569 \FC/usr/adm/amanda/log/changer\-status\F[]\&. A tape changer configuration parameter\&. Usage depends on the particular changer defined with the
570 \fBtpchanger\fR
571 option\&.
572 .RE
573 .PP
574 \fBruntapes\fR int
575 .RS 4
576 Default:
577 \FC1\F[]\&. The maximum number of tapes used in a single run\&. If a tape changer is not configured, this option is not used and should be commented out of the configuration file\&.
578 .sp
579 If a tape changer is configured, this may be set larger than one to let
580 \fIAmanda\fR
581 write to more than one tape\&.
582 .sp
583 Note that this is an upper bound on the number of tapes, and
584 \fIAmanda\fR
585 may use less\&.
586 .sp
587 Also note that as of this release,
588 \fIAmanda\fR
589 does not support true tape overflow\&. When it reaches the end of one tape, the backup image
590 \fIAmanda\fR
591 was processing starts over again on the next tape\&.
592 .RE
593 .PP
594 \fBmaxdumpsize\fR int
595 .RS 4
596 Default:
597 \fIruntapes\fR*\fItape_length\fR\&. Maximum number of bytes the planner will schedule for a run\&.
598 .sp
599 The default unit is Kbytes if it is not specified\&.
600 .RE
601 .PP
602 \fBtaperalgo\fR [first|firstfit|largest|largestfit|smallest|last]
603 .RS 4
604 Default:
605 \fIfirst\fR\&. The algorithm used to choose which dump image to send to the taper\&.
606 .PP
607 \fBfirst\fR
608 .RS 4
609 First in, first out\&.
610 .RE
611 .PP
612 \fBfirstfit\fR
613 .RS 4
614 The first dump image that will fit on the current tape\&.
615 .RE
616 .PP
617 \fBlargest\fR
618 .RS 4
619 The largest dump image\&.
620 .RE
621 .PP
622 \fBlargestfit\fR
623 .RS 4
624 The largest dump image that will fit on the current tape\&.
625 .RE
626 .PP
627 \fBsmallest\fR
628 .RS 4
629 The smallest dump image\&.
630 .RE
631 .PP
632 \fBlast\fR
633 .RS 4
634 Last in, first out\&.
635 .RE
636 .RE
637 .PP
638 \fBlabelstr\fR \fI string\fR
639 .RS 4
640 Default:
641 \fI\&.*\fR\&. The tape label constraint regular expression\&. All tape labels generated (see
642 \fBamlabel\fR(8)) and used by this configuration must match the regular expression\&. If multiple configurations are run from the same tape server host, it is helpful to set their labels to different strings (for example, "DAILY[0\-9][0\-9]*" vs\&. "ARCHIVE[0\-9][0\-9]*") to avoid overwriting each other\'s tapes\&.
643 .RE
644 .PP
645 \fBtapetype\fR \fI identifier\fR
646 .RS 4
647 Default:
648 \fI"EXABYTE"\fR\&. The type of tape drive associated with
649 \fBtapedev\fR
650 or
651 \fBtpchanger\fR\&. This refers to one of the defined
652 \fBtapetype\fRs in the config file (see below), which specify various tape parameters, like the
653 \fBlength\fR,
654 \fBfilemark\fR
655 size, and
656 \fBspeed\fR
657 of the tape media and device\&.
658 .RE
659 .PP
660 \fBctimeout\fR int
661 .RS 4
662 Default:
663 \fI30 seconds\fR\&. Maximum amount of time that
664 \fBamcheck\fR
665 will wait for each client host\&.
666 .RE
667 .PP
668 \fBdtimeout\fR int
669 .RS 4
670 Default:
671 \fI1800 seconds\fR\&. Amount of idle time per disk on a given client that a
672 \fBdumper\fR
673 running from within
674 \fBamdump\fR
675 will wait before it fails with a data timeout error\&.
676 .RE
677 .PP
678 \fBetimeout\fR int
679 .RS 4
680 Default:
681 \fI300 seconds\fR\&. Amount of time per estimate on a given client that the
682 \fBplanner\fR
683 step of
684 \fBamdump\fR
685 will wait to get the dump size estimates (note: Amanda runs up to 3 estimates for each DLE)\&. For instance, with the default of 300 seconds and four DLE\'s, each estimating level 0 and level 1 on client A,
686 \fBplanner\fR
687 will wait up to 40 minutes for that machine\&. A negative value will be interpreted as a total amount of time to wait per client instead of per disk\&.
688 .RE
689 .PP
690 \fBconnect_tries\fR int
691 .RS 4
692 Default:
693 \fI3\fR\&. How many times the server will try a connection\&.
694 .RE
695 .PP
696 \fBreq_tries\fR int
697 .RS 4
698 Default:
699 \fI3\fR\&. How many times the server will resend a REQ packet if it doesn\'t get the ACK packet\&.
700 .RE
701 .PP
702 \fBnetusage\fR int
703 .RS 4
704 Default:
705 \fI8000 Kbps\fR\&. The maximum network bandwidth allocated to
706 \fIAmanda\fR, in Kbytes per second\&. See also the
707 \fBinterface\fR
708 section\&.
709 .RE
710 .PP
711 \fBinparallel\fR int
712 .RS 4
713 Default:
714 \FC10\F[]\&. The maximum number of backups that
715 \fIAmanda\fR
716 will attempt to run in parallel\&.
717 \fIAmanda\fR
718 will stay within the constraints of network bandwidth and holding disk space available, so it doesn\'t hurt to set this number a bit high\&. Some contention can occur with larger numbers of backups, but this effect is relatively small on most systems\&.
719 .RE
720 .PP
721 \fBdisplayunit\fR "k|m|g|t"
722 .RS 4
723 Default:
724 \FC"k"\F[]\&. The unit used to print many numbers, k=kilo, m=mega, g=giga, t=tera\&.
725 .RE
726 .PP
727 \fBdumporder\fR string
728 .RS 4
729 Default:
730 \fItttTTTTTTT\fR\&. The priority order of each dumper:
731 .sp
732 .nf
733 s: smallest size
734 S: largest size
735 t: smallest time
736 T: largest time
737 b: smallest bandwidth
738 B: largest bandwidth
739 .fi
740 .RE
741 .PP
742 \fBmaxdumps\fR int
743 .RS 4
744 Default:
745 \FC1\F[]\&. The maximum number of backups from a single host that
746 \fIAmanda\fR
747 will attempt to run in parallel\&. See also the
748 \fBinparallel\fR
749 option\&.
750 .sp
751 Note that this parameter may also be set in a specific
752 \fBdumptype\fR
753 (see below)\&. This value sets the default for all
754 \fBdumptype\fRs so must appear in
755 \fBamanda\&.conf\fR
756 before any
757 \fBdumptype\fRs are defined\&.
758 .RE
759 .PP
760 \fBbumpsize\fR int
761 .RS 4
762 Default:
763 \fI10 Mbytes\fR\&. The minimum savings required to trigger an automatic bump from one incremental level to the next, expressed as size\&. If
764 \fIAmanda\fR
765 determines that the next higher backup level will be this much smaller than the current level, it will do the next level\&. The value of this parameter is used only if the parameter
766 \fIbumppercent\fR
767 is set to 0\&.
768 .sp
769 The default unit is Kbytes if it is not specified\&.
770 .sp
771 The global setting of this parameter can be overwritten inside of a dumptype\-definition\&.
772 .sp
773 See also the options
774 \fBbumppercent\fR,
775 \fBbumpmult\fR
776 and
777 \fBbumpdays\fR\&.
778 .RE
779 .PP
780 \fBbumppercent\fR int
781 .RS 4
782 Default:
783 \fI0 percent\fR\&. The minimum savings required to trigger an automatic bump from one incremental level to the next, expressed as percentage of the current size of the DLE (size of current level 0)\&. If
784 \fIAmanda\fR
785 determines that the next higher backup level will be this much smaller than the current level, it will do the next level\&.
786 .sp
787 If this parameter is set to 0, the value of the parameter
788 \fIbumpsize\fR
789 is used to trigger bumping\&.
790 .sp
791 The global setting of this parameter can be overwritten inside of a dumptype\-definition\&.
792 .sp
793 See also the options
794 \fBbumpsize\fR,
795 \fBbumpmult\fR
796 and
797 \fBbumpdays\fR\&.
798 .RE
799 .PP
800 \fBbumpmult\fR \fI float\fR
801 .RS 4
802 Default:
803 \FC1\&.5\F[]\&. The bump size multiplier\&.
804 \fIAmanda\fR
805 multiplies
806 \fBbumpsize\fR
807 by this factor for each level\&. This prevents active filesystems from bumping too much by making it harder to bump to the next level\&. For example, with the default
808 \fBbumpsize\fR
809 and
810 \fBbumpmult\fR
811 set to 2\&.0, the bump threshold will be 10 Mbytes for level one, 20 Mbytes for level two, 40 Mbytes for level three, and so on\&.
812 .sp
813 The global setting of this parameter can be overwritten inside of a dumptype\-definition\&.
814 .RE
815 .PP
816 \fBbumpdays\fR \fI int\fR
817 .RS 4
818 Default:
819 \fI2 days\fR\&. To insure redundancy in the dumps,
820 \fIAmanda\fR
821 keeps filesystems at the same incremental level for at least
822 \fBbumpdays\fR
823 days, even if the other bump threshold criteria are met\&.
824 .sp
825 The global setting of this parameter can be overwritten inside of a dumptype\-definition\&.
826 .RE
827 .PP
828 \fBdiskfile\fR \fI string\fR
829 .RS 4
830 Default:
831 \fIdisklist\fR\&. The file name for the
832 \fIdisklist\fR
833 file holding client hosts, disks and other client dumping information\&.
834 .RE
835 .PP
836 \fBinfofile\fR \fI string\fR
837 .RS 4
838 Default:
839 \FC/usr/adm/amanda/curinfo\F[]\&. The file or directory name for the historical information database\&. If
840 \fIAmanda\fR
841 was configured to use DBM databases, this is the base file name for them\&. If it was configured to use text formated databases (the default), this is the base directory and within here will be a directory per client, then a directory per disk, then a text file of data\&.
842 .RE
843 .PP
844 \fBlogdir\fR \fI string\fR
845 .RS 4
846 Default:
847 \FC/usr/adm/amanda\F[]\&. The directory for the
848 \fBamdump\fR
849 and
850 \fBlog\fR
851 files\&.
852 .RE
853 .PP
854 \fBindexdir\fR \fI string\fR
855 .RS 4
856 Default
857 \FC/usr/adm/amanda/index\F[]\&. The directory where index files (backup image catalogues) are stored\&. Index files are only generated for filesystems whose
858 \fBdumptype\fR
859 has the
860 \fBindex\fR
861 option enabled\&.
862 .RE
863 .PP
864 \fBtapelist\fR \fI string\fR
865 .RS 4
866 Default:
867 \fItapelist\fR\&. The file name for the active
868 \fBtapelist\fR(5)\&.
869 \fIAmanda\fR
870 maintains this file with information about the active set of tapes\&.
871 .RE
872 .PP
873 \fBdevice_output_buffer_size\fR \fI int\fR
874 .RS 4
875 Default:
876 \FC1280k\F[]\&. Controls the amount of memory used by
877 \fIAmanda\fR
878 to hold data as it is read from the network or disk before it is written to the output device\&. Higher values may be useful on fast tape drives and optical media\&.
879 .sp
880 The default unit is bytes if it is not specified\&.
881 .RE
882 .PP
883 \fBtapebufs\fR \fI int\fR
884 .RS 4
885 Default:
886 \FC20\F[]\&. This option is deprecated; use the
887 \fBdevice_output_buffer_size\fR
888 directive instead\&.
889 \fBtapebufs\fR
890 works the same way, but the number specified is multiplied by the device blocksize prior to use\&.
891 .RE
892 .PP
893 \fBreserve\fR \fI number\fR
894 .RS 4
895 Default:
896 \FC100\F[]\&. The part of holding\-disk space that should be reserved for incremental backups if no tape is available, expressed as a percentage of the available holding\-disk space (0\-100)\&. By default, when there is no tape to write to, degraded mode (incremental) backups will be performed to the holding disk\&. If full backups should also be allowed in this case, the amount of holding disk space reserved for incrementals should be lowered\&.
897 .RE
898 .PP
899 \fBautoflush\fR \fI bool\fR
900 .RS 4
901 Default:
902 \fIoff\fR\&. Whether an amdump run will flush the dumps from holding disk to tape\&.
903 .RE
904 .PP
905 \fBamrecover_do_fsf\fR \fI bool\fR
906 .RS 4
907 Default:
908 \fIon\fR\&. Amrecover will call amrestore with the \-f flag for faster positioning of the tape\&.
909 .RE
910 .PP
911 \fBamrecover_check_label\fR \fI bool\fR
912 .RS 4
913 Default:
914 \fIon\fR\&. Amrecover will call amrestore with the \-l flag to check the label\&.
915 .RE
916 .PP
917 \fBamrecover_changer\fR \fI string\fR
918 .RS 4
919 Default: \'\'\&. Amrecover will use the changer if you use \'settape <string>\' and that string is the same as the amrecover_changer setting\&.
920 .RE
921 .PP
922 \fBcolumnspec\fR \fI string\fR
923 .RS 4
924 Defines the width of columns
925 \fBamreport\fR
926 should use\&.
927 \fIString\fR
928 is a comma (\',\') separated list of triples\&. Each triple consists of three parts which are separated by a equal sign (\'=\') and a colon (\':\') (see the example)\&. These three parts specify:
929 .sp
930 .RS 4
931 .ie n \{\
932 \h'-04' 1.\h'+01'\c
933 .\}
934 .el \{\
935 .sp -1
936 .IP "  1." 4.2
937 .\}
938 the name of the column, which may be:
939 .nf
940         Compress (compression ratio)
941         Disk (client disk name)
942         DumpRate (dump rate in KBytes/sec)
943         DumpTime (total dump time in hours:minutes)
944         HostName (client host name)
945         Level (dump level)
946         OrigKB (original image size in KBytes)
947         OutKB (output image size in KBytes)
948         TapeRate (tape writing rate in KBytes/sec)
949         TapeTime (total tape time in hours:minutes)
950 .fi
951 .RE
952 .sp
953 .RS 4
954 .ie n \{\
955 \h'-04' 2.\h'+01'\c
956 .\}
957 .el \{\
958 .sp -1
959 .IP "  2." 4.2
960 .\}
961 the amount of space to display before the column (used to get whitespace between columns)\&.
962 .sp
963 .RE
964 .sp
965 .RS 4
966 .ie n \{\
967 \h'-04' 3.\h'+01'\c
968 .\}
969 .el \{\
970 .sp -1
971 .IP "  3." 4.2
972 .\}
973 the width of the column itself\&. If set to a negative value, the width will be calculated on demand to fit the largest entry in this column\&.
974 .RE
975 .RS 4
976 Here is an example:
977 .sp
978 .nf
979 columnspec "Disk=1:18,HostName=0:10,OutKB=1:7"
980 .fi
981 .sp
982 The above will display the disk information in 18 characters and put one space before it\&. The hostname column will be 10 characters wide with no space to the left\&. The output KBytes column is seven characters wide with one space before it\&.
983 .RE
984 .PP
985 \fBincludefile\fR \fI string\fR
986 .RS 4
987 Default:
988 \fInone\fR\&. The name of an
989 \fIAmanda\fR
990 configuration file to include within the current file\&. Useful for sharing dumptypes, tapetypes and interface definitions among several configurations\&. Relative pathnames are relative to the configuration directory\&.
991 .RE
992 .PP
993 \fBdebug_auth\fR int
994 .RS 4
995 Default:
996 \fI0\fR\&. Debug level of the auth module
997 .RE
998 .PP
999 \fBdebug_event\fR int
1000 .RS 4
1001 Default:
1002 \fI0\fR\&. Debug level of the event module
1003 .RE
1004 .PP
1005 \fBdebug_holding\fR int
1006 .RS 4
1007 Default:
1008 \fI0\fR\&. Debug level of the holdingdisk module
1009 .RE
1010 .PP
1011 \fBdebug_protocol\fR int
1012 .RS 4
1013 Default:
1014 \fI0\fR\&. Debug level of the protocol module
1015 .RE
1016 .PP
1017 \fBdebug_planner\fR int
1018 .RS 4
1019 Default:
1020 \fI0\fR\&. Debug level of the planner process
1021 .RE
1022 .PP
1023 \fBdebug_driver\fR int
1024 .RS 4
1025 Default:
1026 \fI0\fR\&. Debug level of the driver process
1027 .RE
1028 .PP
1029 \fBdebug_dumper\fR int
1030 .RS 4
1031 Default:
1032 \fI0\fR\&. Debug level of the dumper process
1033 .RE
1034 .PP
1035 \fBdebug_chunker\fR int
1036 .RS 4
1037 Default:
1038 \fI0\fR\&. Debug level of the chunker process
1039 .RE
1040 .PP
1041 \fBdebug_taper\fR int
1042 .RS 4
1043 Default:
1044 \fI0\fR\&. Debug level of the taper process
1045 .RE
1046 .PP
1047 \fBflush\-threshold\-dumped\fR int
1048 .RS 4
1049 Default:
1050 \fI0\fR\&.
1051 \fIAmanda\fR
1052 will not begin writing data to a new volume until the amount of data on the holding disk is at least this percentage of the volume size\&. In other words,
1053 \fIAmanda\fR
1054 will not begin until the inequality
1055 h > t \(mu d
1056 is satisfied, where
1057 h
1058 is the amount of data on the holding disk,
1059 t
1060 is the capacity of a volume, and
1061 d
1062 is this parameter, expressed as a percentage\&. This parameter may be larger than 100%, for example to keep more recent dumps on the holding disk for faster recovery\&.
1063 .sp
1064 Needless to say, your holding disk must be big enough that this criterion could be satisfied\&. If the holding disk cannot be used for a particular dump (because, for example, there is no remaining holding space) then
1065 \fIAmanda\fR
1066 will disregard the constraint specified by this setting and start a new volume anyway\&. Once writing to a volume has begun, this constraint is not applied unless and until a new volume is needed\&.
1067 .sp
1068 The value of this parameter may not exceed than that of the
1069 \fBflush\-threshold\-scheduled\fR
1070 parameter\&.
1071 .RE
1072 .PP
1073 \fBflush\-threshold\-scheduled\fR int
1074 .RS 4
1075 Default:
1076 \fI0\fR\&.
1077 \fIAmanda\fR
1078 will not begin writing data to a new volume until the sum of the amount of data on the holding disk and the estimated amount of data remaining to be dumped during this run is at least this percentage of the volume size\&. In other words,
1079 \fIAmanda\fR
1080 will not begin until the inequality
1081 h + s > t \(mu d
1082 is satisfied, where
1083 h
1084 is the amount of data on the holding disk,
1085 s
1086 is the total amount of data scheduled for this run but not dumped yet,
1087 t
1088 is the capacity of a volume, and
1089 d
1090 is this parameter, expressed as a percentage\&. This parameter may be larger than 100%\&.
1091 .sp
1092 Needless to say, your holding disk must be big enough that this criterion could be satisfied\&. If the holding disk cannot be used for a particular dump (because, for example, there is no remaining holding space) then
1093 \fIAmanda\fR
1094 will disregard the constraint specified by this setting and start a new volume anyway\&. Once writing to a volume has begun, this constraint is not applied unless and until a new volume is needed\&.
1095 .sp
1096 The value of this parameter may not be less than that of the
1097 \fBflush\-threshold\-dumped\fR
1098 or
1099 \fBtaperflush\fR
1100 parameters\&.
1101 .RE
1102 .PP
1103 \fBtaperflush\fR int
1104 .RS 4
1105 Default:
1106 \fI0\fR\&. At the end of a run,
1107 \fIAmanda\fR
1108 will start a new tape to flush remaining data if there is more data on the holding disk at the end of a run than this setting allows; the amount is specified as a percentage of the capacity of a single volume\&. In other words, at the end of a run,
1109 \fIAmanda\fR
1110 will begin a new tape if the inequality
1111 h > t \(mu f
1112 is satisfied, where
1113 h
1114 is the amount of data remaining on the holding disk from this or previous runs,
1115 t
1116 is the capacity of a volume, and
1117 f
1118 is this parameter, expressed as a percentage\&. This parameter may be greater than 100%\&.
1119 .sp
1120 The value of this parameter may not exceed that of the
1121 \fBflush\-threshold\-scheduled\fR
1122 parameter\&.;
1123 \fBautoflush\fR
1124 must be set to \'yes\' if
1125 \fBtaperflush\fR
1126 is greater than 0\&.
1127 .RE
1128 .PP
1129 \fBreserved\-udp\-port\fR int,int
1130 .RS 4
1131 Default: \-\-with\-udpportrange or
1132 \fI512,1023\fR\&. Reserved udp port that will be used (bsd, bsdudp)\&. Range is inclusive\&.
1133 .RE
1134 .PP
1135 \fBreserved\-tcp\-port\fR int,int
1136 .RS 4
1137 Default: \-\-with\-low\-tcpportrange or
1138 \fI512,1023\fR\&. Reserved tcp port that will be used (bsdtcp)\&. Range is inclusive\&.
1139 .RE
1140 .PP
1141 \fBunreserved\-tcp\-port\fR int,int
1142 .RS 4
1143 Default: \-\-with\-tcpportrange or
1144 \fI1024,65535\fR\&. Unreserved tcp port that will be used (bsd, bsdudp)\&. Range is inclusive\&.
1145 .RE
1146 .SH "HOLDINGDISK SECTION"
1147 .PP
1148 The
1149 \fBamanda\&.conf\fR
1150 file may define one or more holding disks used as buffers to hold backup images before they are written to tape\&. The syntax is:
1151 .nf
1152 holdingdisk \fIname\fR {
1153     \fIholdingdisk\-option\fR \fIholdingdisk\-value\fR
1154     \FC\&.\&.\&.\F[]
1155 }
1156 .fi
1157 .PP
1158 \fIName\fR
1159 is a logical name for this holding disk\&.
1160 .PP
1161 The options and values are:
1162 .PP
1163 \fBcomment\fR \fI string\fR
1164 .RS 4
1165 Default:
1166 \fInone\fR\&. A comment string describing this holding disk\&.
1167 .RE
1168 .PP
1169 \fBdirectory\fR \fI disk\fR
1170 .RS 4
1171 Default:
1172 \FC/dumps/amanda\F[]\&. The path to this holding area\&.
1173 .RE
1174 .PP
1175 \fBuse\fR \fI int\fR
1176 .RS 4
1177 Default:
1178 \fI0 Gb\fR\&. Amount of space that can be used in this holding disk area\&. If the value is zero, all available space on the file system is used\&. If the value is negative,
1179 \fIAmanda\fR
1180 will use all available space minus that value\&.
1181 .RE
1182 .PP
1183 \fBchunksize\fR \fI int\fR
1184 .RS 4
1185 Default:
1186 \fI1 Gb\fR\&. Holding disk chunk size\&. Dumps larger than the specified size will be stored in multiple holding disk files\&. The size of each chunk will not exceed the specified value\&. However, even though dump images are split in the holding disk, they are concatenated as they are written to tape, so each dump image still corresponds to a single continuous tape section\&.
1187 .sp
1188 The default unit is Kbytes if it is not specified\&.
1189 .sp
1190 If 0 is specified,
1191 \fIAmanda\fR
1192 will create holding disk chunks as large as ((INT_MAX/1024)\-64) Kbytes\&.
1193 .sp
1194 Each holding disk chunk includes a 32 Kbyte header, so the minimum chunk size is 64 Kbytes (but that would be really silly)\&.
1195 .sp
1196 Operating systems that are limited to a maximum file size of 2 Gbytes actually cannot handle files that large\&. They must be at least one byte less than 2 Gbytes\&. Since
1197 \fIAmanda\fR
1198 works with 32 Kbyte blocks, and to handle the final read at the end of the chunk, the chunk size should be at least 64 Kbytes (2 * 32 Kbytes) smaller than the maximum file size, e\&.g\&. 2047 Mbytes\&.
1199 .RE
1200 .SH "DUMPTYPE SECTION"
1201 .PP
1202 The
1203 \fBamanda.conf\fR(5)
1204 file may define multiple sets of backup options and refer to them by name from the
1205 \fBdisklist\fR(5)
1206 file\&. For instance, one set of options might be defined for file systems that can benefit from high compression, another set that does not compress well, another set for file systems that should always get a full backup and so on\&.
1207 .PP
1208 A set of backup options are entered in a
1209 \fBdumptype\fR
1210 section, which looks like this:
1211 .nf
1212 define dumptype "\fIname\fR" {
1213     \fIdumptype\-option\fR \fIdumptype\-value\fR
1214     \FC\&.\&.\&.\F[]
1215 }
1216 .fi
1217 .PP
1218 \fIName\fR
1219 is the name of this set of backup options\&. It is referenced from the
1220 \fBdisklist\fR(5)
1221 file\&.
1222 .PP
1223 Some of the options in a
1224 \fBdumptype\fR
1225 section are the same as those in the main part of
1226 \fBamanda.conf\fR(5)\&. The main option value is used to set the default for all
1227 \fBdumptype\fR
1228 sections\&. For instance, setting
1229 \fBdumpcycle\fR
1230 to 50 in the main part of the config file causes all following
1231 \fBdumptype\fR
1232 sections to start with that value, but the value may be changed on a section by section basis\&. Changes to variables in the main part of the config file must be done before (earlier in the file) any
1233 \fBdumptype\fRs are defined\&.
1234 .PP
1235 The dumptype options and values are:
1236 .PP
1237 \fBauth\fR \fI string\fR
1238 .RS 4
1239 Default:
1240 \fIbsd\fR\&. Type of authorization to perform between tape server and backup client hosts\&. See
1241 \fBamanda-auth\fR(7)
1242 for more detail\&.
1243 .RE
1244 .PP
1245 \fBamandad_path\fR \fI string\fR
1246 .RS 4
1247 Default:
1248 \fI$libexec/amandad\fR\&. Specify the amandad path of the client, only use with rsh/ssh authentification\&.
1249 .RE
1250 .PP
1251 \fBclient_username\fR \fI string\fR
1252 .RS 4
1253 Default:
1254 \fICLIENT_LOGIN\fR\&. Specify the username to connect on the client, only use with rsh/ssh authentification\&.
1255 .RE
1256 .PP
1257 \fBbumpsize\fR int
1258 .RS 4
1259 Default:
1260 \fI10 Mbytes\fR\&. The minimum savings required to trigger an automatic bump from one incremental level to the next, expressed as size\&. If
1261 \fIAmanda\fR
1262 determines that the next higher backup level will be this much smaller than the current level, it will do the next level\&. The value of this parameter is used only if the parameter
1263 \fIbumppercent\fR
1264 is set to 0\&.
1265 .sp
1266 The default unit is Kbytes if it is not specified\&.
1267 .sp
1268 See also the options
1269 \fBbumppercent\fR,
1270 \fBbumpmult\fR
1271 and
1272 \fBbumpdays\fR\&.
1273 .RE
1274 .PP
1275 \fBbumppercent\fR int
1276 .RS 4
1277 Default:
1278 \fI0 percent\fR\&. The minimum savings required to trigger an automatic bump from one incremental level to the next, expressed as percentage of the current size of the DLE (size of current level 0)\&. If
1279 \fIAmanda\fR
1280 determines that the next higher backup level will be this much smaller than the current level, it will do the next level\&.
1281 .sp
1282 If this parameter is set to 0, the value of the parameter
1283 \fIbumpsize\fR
1284 is used to trigger bumping\&.
1285 .sp
1286 See also the options
1287 \fBbumpsize\fR,
1288 \fBbumpmult\fR
1289 and
1290 \fBbumpdays\fR\&.
1291 .RE
1292 .PP
1293 \fBbumpmult\fR \fI float\fR
1294 .RS 4
1295 Default:
1296 \FC1\&.5\F[]\&. The bump size multiplier\&.
1297 \fIAmanda\fR
1298 multiplies
1299 \fBbumpsize\fR
1300 by this factor for each level\&. This prevents active filesystems from bumping too much by making it harder to bump to the next level\&. For example, with the default
1301 \fBbumpsize\fR
1302 and
1303 \fBbumpmult\fR
1304 set to 2\&.0, the bump threshold will be 10 Mbytes for level one, 20 Mbytes for level two, 40 Mbytes for level three, and so on\&.
1305 .RE
1306 .PP
1307 \fBbumpdays\fR \fI int\fR
1308 .RS 4
1309 Default:
1310 \fI2 days\fR\&. To insure redundancy in the dumps,
1311 \fIAmanda\fR
1312 keeps filesystems at the same incremental level for at least
1313 \fBbumpdays\fR
1314 days, even if the other bump threshold criteria are met\&.
1315 .RE
1316 .PP
1317 \fBcomment\fR \fI string\fR
1318 .RS 4
1319 Default:
1320 \fInone\fR\&. A comment string describing this set of backup options\&.
1321 .RE
1322 .PP
1323 \fBcomprate\fR \fIfloat\fR [, \fIfloat\fR ]
1324 .RS 4
1325 Default:
1326 \FC0\&.50\F[],
1327 \FC0\&.50\F[]\&. The expected full and incremental compression factor for dumps\&. It is only used if
1328 \fIAmanda\fR
1329 does not have any history information on compression rates for a filesystem, so should not usually need to be set\&. However, it may be useful for the first time a very large filesystem that compresses very little is backed up\&.
1330 .RE
1331 .PP
1332 \fBcompress [client|server]\fR \fI string\fR
1333 .RS 4
1334 Default:
1335 \fIclient fast\fR\&. If
1336 \fIAmanda\fR
1337 does compression of the backup images, it can do so either on the backup client host before it crosses the network or on the tape server host as it goes from the network into the holding disk or to tape\&. Which place to do compression (if at all) depends on how well the dump image usually compresses, the speed and load on the client or server, network capacity, holding disk capacity, availability of tape hardware compression, etc\&.
1338 .sp
1339 For either type of compression,
1340 \fIAmanda\fR
1341 also allows the selection of three styles of compression\&.
1342 \fBBest\fR
1343 is the best compression available, often at the expense of CPU overhead\&.
1344 \fBFast\fR
1345 is often not as good a compression as
1346 \fBbest\fR, but usually less CPU overhead\&. Or to specify
1347 \fBCustom\fR
1348 to use your own compression method\&. (See dumptype custom\-compress in example/amanda\&.conf for reference)
1349 .sp
1350 So the
1351 \fBcompress\fR
1352 options line may be one of:
1353 .PP
1354 compress none
1355 .RS 4
1356 .RE
1357 .PP
1358 compress client fast
1359 .RS 4
1360 .RE
1361 .PP
1362 compress client best
1363 .RS 4
1364 .RE
1365 .PP
1366 compress client custom
1367 .RS 4
1368 Specify
1369 \fIclient_custom_compress\fR
1370 "PROG"
1371 .sp
1372 PROG must not contain white space and it must accept \-d for uncompress\&.
1373 .RE
1374 .PP
1375 compress server fast
1376 .RS 4
1377 .RE
1378 .PP
1379 compress server best
1380 .RS 4
1381 .RE
1382 .PP
1383 compress server custom
1384 .RS 4
1385 Specify
1386 \fIserver_custom_compress\fR
1387 "PROG"
1388 .sp
1389 PROG must not contain white space and it must accept \-d for uncompress\&.
1390 .RE
1391 .sp
1392 Note that some tape devices do compression and this option has nothing to do with whether that is used\&. If hardware compression is used (usually via a particular tape device name or
1393 \fBmt\fR
1394 option),
1395 \fIAmanda\fR
1396 (software) compression should be disabled\&.
1397 .RE
1398 .PP
1399 \fBdumpcycle\fR \fI int\fR
1400 .RS 4
1401 Default:
1402 \fI10 days\fR\&. The number of days in the backup cycle\&. Each disk using this set of options will get a full backup at least this of ten\&. Setting this to zero tries to do a full backup each run\&.
1403 .RE
1404 .PP
1405 \fBencrypt [none|client|server]\fR
1406 .RS 4
1407 Default:
1408 \fInone\fR\&. To encrypt backup images, it can do so either on the backup client host before it crosses the network or on the tape server host as it goes from the network into the holding disk or to tape\&.
1409 .sp
1410 So the
1411 \fBencrypt\fR
1412 options line may be one of:
1413 .PP
1414 encrypt none
1415 .RS 4
1416 .RE
1417 .PP
1418 encrypt client
1419 .RS 4
1420 Specify client_encrypt "PROG"
1421 .sp
1422 PROG must not contain white space\&.
1423 .sp
1424 Specify client_decrypt_option "decryption\-parameter" Default: "\-d"
1425 .sp
1426 decryption\-parameter must not contain white space\&.
1427 .sp
1428 (See dumptype client\-encrypt\-nocomp in example/amanda\&.conf for reference)
1429 .RE
1430 .PP
1431 encrypt server
1432 .RS 4
1433 Specify server_encrypt "PROG"
1434 .sp
1435 PROG must not contain white space\&.
1436 .sp
1437 Specify server_decrypt_option "decryption\-parameter" Default: "\-d"
1438 .sp
1439 decryption\-parameter must not contain white space\&.
1440 .sp
1441 (See dumptype server\-encrypt\-fast in example/amanda\&.conf for reference)
1442 .RE
1443 .sp
1444 Note that current logic assumes compression then encryption during backup(thus decrypt then uncompress during restore)\&. So specifying client\-encryption AND server\-compression is not supported\&.
1445 \fIamcrypt\fR
1446 which is a wrapper of
1447 \fIaespipe\fR
1448 is provided as a reference symmetric encryption program\&.
1449 .RE
1450 .PP
1451 \fBestimate\fR \fIclient|calcsize|server\fR
1452 .RS 4
1453 Default:
1454 \fIclient\fR\&. Determine the way
1455 \fIAmanda\fR
1456 does it\'s estimate\&.
1457 .PP
1458 client
1459 .RS 4
1460 Use the same program as the dumping program, this is the most accurate way to do estimates, but it can take a long time\&.
1461 .RE
1462 .PP
1463 calcsize
1464 .RS 4
1465 Use a faster program to do estimates, but the result is less accurate\&.
1466 .RE
1467 .PP
1468 server
1469 .RS 4
1470 Use only statistics from the previous run to give an estimate, it takes only a few seconds but the result is not accurate if your disk usage changes from day to day\&.
1471 .RE
1472 .RE
1473 .PP
1474 \fBexclude\fR [ list|file ][[optional][ append ][ \fIstring\fR ]+]
1475 .RS 4
1476 Default:
1477 \fIfile\fR\&. There are two exclude lists,
1478 \fBexclude file\fR
1479 and
1480 \fBexclude list\&.\fR
1481 With
1482 \fBexclude file\fR
1483 , the
1484 \fIstring\fR
1485 is a
1486 \fBGNU\-tar\fR
1487 exclude expression\&. With
1488 \fBexclude list\fR
1489 , the
1490 \fIstring\fR
1491 is a file name on the client containing
1492 \fBGNU\-tar\fR
1493 exclude expressions\&. The path to the specified exclude list file, if present (see description of \'optional\' below), must be readable by the
1494 \fIAmanda\fR
1495 user\&.
1496 .sp
1497 All exclude expressions are concatenated in one file and passed to
1498 \fBGNU\-tar\fR
1499 as an
1500 \fB\-\-exclude\-from\fR
1501 argument\&.
1502 .sp
1503 Exclude expressions must always be specified as relative to the head directory of the DLE\&.
1504 .sp
1505 With the
1506 \fBappend\fR
1507 keyword, the
1508 \fIstring\fR
1509 is appended to the current list, without it, the
1510 \fIstring\fR
1511 overwrites the list\&.
1512 .sp
1513 If
1514 \fBoptional\fR
1515 is specified for
1516 \fBexclude list\fR, then amcheck will not complain if the file doesn\'t exist or is not readable\&.
1517 .sp
1518 For
1519 \fBexclude list\fR, if the file name is relative, the disk name being backed up is prepended\&. So if this is entered:
1520 .nf
1521     exclude list "\&.amanda\&.excludes"
1522 .fi
1523 the actual file used would be
1524 \FC/var/\&.amanda\&.excludes\F[]
1525 for a backup of
1526 \FC/var\F[],
1527 \FC/usr/local/\&.amanda\&.excludes\F[]
1528 for a backup of
1529 \FC/usr/local\F[], and so on\&.
1530 .RE
1531 .PP
1532 \fBholdingdisk\fR [ never|auto|required ]
1533 .RS 4
1534 Default:
1535 \fIauto\fR\&. Whether a holding disk should be used for these backups or whether they should go directly to tape\&. If the holding disk is a portion of another file system that
1536 \fIAmanda\fR
1537 is backing up, that file system should refer to a dumptype with
1538 \fBholdingdisk\fR
1539 set to
1540 \fInever\fR
1541 to avoid backing up the holding disk into itself\&.
1542 .PP
1543 \fBnever\fR|no|false|off
1544 .RS 4
1545 Never use a holdingdisk, the dump will always go directly to tape\&. There will be no dump if you have a tape error\&.
1546 .RE
1547 .PP
1548 \fBauto\fR|yes|true|on
1549 .RS 4
1550 Use the holding disk, unless there is a problem with the holding disk, the dump won\'t fit there or the medium doesn\'t require spooling (e\&.g\&., VFS device)
1551 .RE
1552 .PP
1553 \fBrequired\fR
1554 .RS 4
1555 Always dump to holdingdisk, never directly to tape\&. There will be no dump if it doesn\'t fit on holdingdisk
1556 .RE
1557 .RE
1558 .PP
1559 \fBignore\fR \fI boolean\fR
1560 .RS 4
1561 Default:
1562 \fIno\fR\&. Whether disks associated with this backup type should be backed up or not\&. This option is useful when the
1563 \fIdisklist\fR
1564 file is shared among several configurations, some of which should not back up all the listed file systems\&.
1565 .RE
1566 .PP
1567 \fBinclude\fR [ list|file ][[optional][ append ][ \fIstring\fR ]+]
1568 .RS 4
1569 Default:
1570 \fIfile\fR
1571 "\&."\&. There are two include lists,
1572 \fBinclude file\fR
1573 and
1574 \fBinclude list\&.\fR
1575 With
1576 \fBinclude file\fR
1577 , the
1578 \fIstring\fR
1579 is a glob expression\&. With
1580 \fBinclude list\fR
1581 , the
1582 \fIstring\fR
1583 is a file name on the client containing glob expressions\&.
1584 .sp
1585 All include expressions are expanded by
1586 \fIAmanda\fR, concatenated in one file and passed to
1587 \fBGNU\-tar\fR
1588 as a
1589 \fB\-\-files\-from\fR
1590 argument\&. They must start with "\&./" and contain no other "/"\&.
1591 .sp
1592 Include expressions must always be specified as relative to the head directory of the DLE\&.
1593 .if n \{\
1594 .sp
1595 .\}
1596 .RS 4
1597 .BM yellow
1598 .it 1 an-trap
1599 .nr an-no-space-flag 1
1600 .nr an-break-flag 1
1601 .br
1602 .ps +1
1603 \fBNote\fR
1604 .ps -1
1605 .br
1606 For globbing to work at all, even the limited single level, the top level directory of the DLE must be readable by the
1607 \fIAmanda\fR
1608 user\&.
1609 .sp .5v
1610 .EM yellow
1611 .RE
1612 With the
1613 \fBappend\fR
1614 keyword, the
1615 \fIstring\fR
1616 is appended to the current list, without it, the
1617 \fIstring\fR
1618 overwrites the list\&.
1619 .sp
1620 If
1621 \fBoptional\fR
1622 is specified for
1623 \fBinclude list,\fR
1624 then amcheck will not complain if the file doesn\'t exist or is not readable\&.
1625 .sp
1626 For
1627 \fBinclude list\fR, If the file name is relative, the disk name being backed up is prepended\&.
1628 .RE
1629 .PP
1630 \fBindex\fR \fI boolean\fR
1631 .RS 4
1632 Default:
1633 \fIno\fR\&. Whether an index (catalogue) of the backup should be generated and saved in
1634 \fBindexdir\fR\&. These catalogues are used by the
1635 \fBamrecover\fR
1636 utility\&.
1637 .RE
1638 .PP
1639 \fBkencrypt\fR \fI boolean\fR
1640 .RS 4
1641 Default:
1642 \fIno\fR\&. Whether the backup image should be encrypted by Kerberos as it is sent across the network from the backup client host to the tape server host\&.
1643 .RE
1644 .PP
1645 \fBmaxdumps\fR \fI int\fR
1646 .RS 4
1647 Default:
1648 \FC1\F[]\&. The maximum number of backups from a single host that
1649 \fIAmanda\fR
1650 will attempt to run in parallel\&. See also the main section parameter
1651 \fBinparallel\fR\&.
1652 .RE
1653 .PP
1654 \fBmaxpromoteday\fR \fI int\fR
1655 .RS 4
1656 Default:
1657 \FC10000\F[]\&. The maximum number of day for a promotion, set it 0 if you don\'t want promotion, set it to 1 or 2 if your disks get overpromoted\&.
1658 .RE
1659 .PP
1660 \fBpriority\fR \fI string\fR
1661 .RS 4
1662 Default:
1663 \fImedium\fR\&. When there is no tape to write to,
1664 \fIAmanda\fR
1665 will do incremental backups in priority order to the holding disk\&. The priority may be high (2), medium (1), low (0) or a number of your choice\&.
1666 .RE
1667 .PP
1668 \fBprogram\fR [DUMP|GNUTAR|APPLICATION]
1669 .RS 4
1670 Default:
1671 \fIDUMP\fR\&. The type of backup to perform\&. Valid values are:
1672 .PP
1673 \fBDUMP\fR
1674 .RS 4
1675 The native operating system backup program\&.
1676 .RE
1677 .PP
1678 \fBGNUTAR\fR
1679 .RS 4
1680 To use GNU\-tar or to do PC backups using Samba\&.
1681 .RE
1682 .PP
1683 \fBAPPLICATION\fR
1684 .RS 4
1685 To use an application\-tool, see the
1686 \fIapplication\fR
1687 option\&.
1688 .RE
1689 .RE
1690 .PP
1691 \fBapplication\fR \fI string\fR
1692 .RS 4
1693 No default\&. Must be the name of an application\-tool if
1694 \fIprogram\fR
1695 is set to
1696 \fIAPPLICATION\fR\&. See APPLICATION SECTION below\&.
1697 .RE
1698 .PP
1699 \fBscript\fR \fI string\fR
1700 .RS 4
1701 No default\&. Must be the name of a script\-tool\&. You can have many script\&. See SCRIPT SECTION below\&.
1702 .RE
1703 .PP
1704 \fBproperty\fR [append] \fIstring\fR \fIstring\fR+
1705 .RS 4
1706 These options can set various properties, they can be used by third party software to store information in the configuration file\&. Both strings are quoted; the first string contains the name of the property to set, and the others contains its values\&.
1707 \fBappend\fR
1708 keyword append the values to the list of values for that property\&.
1709 .RE
1710 .PP
1711 \fBrecord\fR \fI boolean\fR
1712 .RS 4
1713 Default:
1714 \fIyes\fR\&. Whether to ask the backup program to update its database (e\&.g\&.
1715 \FC/etc/dumpdates\F[]
1716 for DUMP or
1717 \FC/usr/local/var/amanda/gnutar\-lists\F[]
1718 for GNUTAR) of time stamps\&. This is normally enabled for daily backups and turned off for periodic archival runs\&.
1719 .RE
1720 .PP
1721 \fBskip\-full\fR \fI boolean\fR
1722 .RS 4
1723 Default:
1724 \fIno\fR\&. If
1725 \fItrue\fR
1726 and
1727 \fBplanner\fR
1728 has scheduled a full backup, these disks will be skipped, and full backups should be run off\-line on these days\&. It was reported that
1729 \fIAmanda\fR
1730 only schedules level 1 incrementals in this configuration; this is probably a bug\&.
1731 .RE
1732 .PP
1733 \fBskip\-incr\fR \fI boolean\fR
1734 .RS 4
1735 Default:
1736 \fIno\fR\&. If
1737 \fItrue\fR
1738 and
1739 \fBplanner\fR
1740 has scheduled an incremental backup, these disks will be skipped\&.
1741 .RE
1742 .PP
1743 \fBstarttime\fR \fI int\fR
1744 .RS 4
1745 Default:
1746 \fInone\fR\&. Backups will not start until after this time of day\&. The value should be hh*100+mm, e\&.g\&. 6:30PM (18:30) would be entered as
1747 \FC1830\F[]\&.
1748 .RE
1749 .PP
1750 \fBstrategy\fR \fI string\fR
1751 .RS 4
1752 Default:
1753 \fIstandard\fR\&. Strategy to use when planning what level of backup to run next\&. Values are:
1754 .PP
1755 \fBstandard\fR
1756 .RS 4
1757 The standard
1758 \fIAmanda\fR
1759 schedule\&.
1760 .RE
1761 .PP
1762 \fBnofull\fR
1763 .RS 4
1764 Never do full backups, only level 1 incrementals\&.
1765 .RE
1766 .PP
1767 \fBnoinc\fR
1768 .RS 4
1769 Never do incremental backups, only full dumps\&.
1770 .RE
1771 .PP
1772 \fBskip\fR
1773 .RS 4
1774 Never do backups (useful when sharing the
1775 \fIdisklist\fR
1776 file)\&.
1777 .RE
1778 .PP
1779 \fBincronly\fR
1780 .RS 4
1781 Only do incremental dumps\&.
1782 \fBamadmin force\fR
1783 should be used to tell
1784 \fIAmanda\fR
1785 that a full dump has been performed off\-line, so that it resets to level 1\&.
1786 .RE
1787 .RE
1788 .PP
1789 \fBtape_splitsize\fR \fI int\fR
1790 .RS 4
1791 Default:
1792 \fInone\fR\&. Split dump file on tape into pieces of a specified size\&. This allows dumps to be spread across multiple tapes, and can potentially make more efficient use of tape space\&. Note that if this value is too large (more than half the size of the average dump being split), substantial tape space can be wasted\&. If too small, large dumps will be split into innumerable tiny dumpfiles, adding to restoration complexity\&. A good rule of thumb, usually, is 1/10 of the size of your tape\&.
1793 .sp
1794 The default unit is Kbytes if it is not specified\&.
1795 .RE
1796 .PP
1797 \fBsplit_diskbuffer\fR \fI string\fR
1798 .RS 4
1799 Default:
1800 \fInone\fR\&. When dumping a split dump in PORT\-WRITE mode (usually meaning "no holding disk"), buffer the split chunks to a file in the directory specified by this option\&.
1801 .RE
1802 .PP
1803 \fBfallback_splitsize\fR \fI int\fR
1804 .RS 4
1805 Default:
1806 \fI10M\fR\&. When dumping a split dump in PORT\-WRITE mode, if no split_diskbuffer is specified (or if we somehow fail to use our split_diskbuffer), we must buffer split chunks in memory\&. This specifies the maximum size split chunks can be in this scenario, and thus the maximum amount of memory consumed for in\-memory splitting\&. The size of this buffer can be changed from its (very conservative) default to a value reflecting the amount of memory that each taper process on the dump server may reasonably consume\&.
1807 .sp
1808 The default unit is Kbytes if it is not specified\&.
1809 .RE
1810 .PP
1811 The following
1812 \fBdumptype\fR
1813 entries are predefined by
1814 \fIAmanda\fR:
1815 .nf
1816 define dumptype "no\-compress" {
1817     compress none
1818 }
1819 define dumptype "compress\-fast" {
1820     compress client fast
1821 }
1822 define dumptype "compress\-best" {
1823     compress client best
1824 }
1825 define dumptype "srvcompress" {
1826     compress server fast
1827 }
1828 define dumptype "bsd\-auth" {
1829     auth bsd
1830 }
1831 define dumptype "krb4\-auth" {
1832     auth krb4
1833 }
1834 define dumptype "no\-record" {
1835     record no
1836 }
1837 define dumptype "no\-hold" {
1838     holdingdisk no
1839 }
1840 define dumptype "no\-full" {
1841     skip\-full yes
1842
1843 .fi
1844 .PP
1845 In addition to options in a
1846 \fBdumptype\fR
1847 section, one or more other
1848 \fBdumptype\fR
1849 names may be supplied as identifiers, which make this
1850 \fBdumptype\fR
1851 inherit options from other previously defined
1852 \fBdumptype\fRs\&. For instance, two sections might be the same except for the
1853 \fBrecord\fR
1854 option:
1855 .nf
1856 define dumptype "normal" {
1857     comment "Normal backup, no compression, do indexing"
1858     no\-compress
1859     index yes
1860     maxdumps 2
1861 }
1862 define dumptype "testing" {
1863     comment "Test backup, no compression, do indexing, no recording"
1864     "normal"
1865     record no
1866 }
1867 .fi
1868 .PP
1869 \fIAmanda\fR
1870 provides a
1871 \fBdumptype\fR
1872 named
1873 \fIglobal\fR
1874 in the sample
1875 \fBamanda\&.conf\fR
1876 file that all
1877 \fBdumptype\fRs should reference\&. This provides an easy place to make changes that will affect every
1878 \fBdumptype\fR\&.
1879 .SH "TAPETYPE SECTION"
1880 .PP
1881 The
1882 \fBamanda\&.conf\fR
1883 file may define multiple types of tape media and devices\&. The information is entered in a
1884 \fBtapetype\fR
1885 section, which looks like this in the config file:
1886 .nf
1887 define tapetype "\fIname\fR" {
1888     \fItapetype\-option\fR \fItapetype\-value\fR
1889     \FC\&.\&.\&.\F[]
1890 }
1891 .fi
1892 .PP
1893 \fIName\fR
1894 is the name of this type of tape medium/device\&. It is referenced from the
1895 \fBtapetype\fR
1896 option in the main part of the config file\&.
1897 .PP
1898 The tapetype options and values are:
1899 .PP
1900 \fBcomment\fR \fI string\fR
1901 .RS 4
1902 Default:
1903 \fInone\fR\&. A comment string describing this set of tape information\&.
1904 .RE
1905 .PP
1906 \fBfilemark\fR \fI int\fR
1907 .RS 4
1908 Default:
1909 \fI1 kbytes\fR\&. How large a file mark (tape mark) is, measured in kbytes\&. If the size is only known in some linear measurement (e\&.g\&. inches), convert it to kbytes using the device density\&.
1910 .RE
1911 .PP
1912 \fBlength\fR \fI int\fR
1913 .RS 4
1914 Default:
1915 \fI2000 kbytes\fR\&. How much data will fit on a tape\&.
1916 .sp
1917 Note that this value is only used by
1918 \fIAmanda\fR
1919 to schedule which backups will be run\&. Once the backups start,
1920 \fIAmanda\fR
1921 will continue to write to a tape until it gets an error, regardless of what value is entered for
1922 \fBlength\fR
1923 (but see the section OUTPUT DRIVERS in the
1924 \fBamanda\fR(8)
1925 manpage for exceptions)\&.
1926 .sp
1927 The default unit is bytes if it is not specified\&.
1928 .RE
1929 .PP
1930 \fBblocksize\fR \fI int\fR
1931 .RS 4
1932 Default:
1933 \fI32 kbytes\fR\&. How much data will be written in each tape record\&. This is equivalent to the
1934 \fIBLOCK_SIZE\fR
1935 device property\&.
1936 .sp
1937 The default unit is Kbytes if it is not specified\&.
1938 .RE
1939 .PP
1940 \fBreadblocksize\fR \fI int\fR
1941 .RS 4
1942 Default:
1943 \fI32 kytes\fR
1944 How much data will be read in each tape record\&. This can be used to override a device\'s block size for reads only\&. This may be useful, for example, in reading a tape written with a 256k block size when Amanda is configured to use 128k blocks\&. This unusual feature is not supported by all operating systems and tape devices\&.
1945 .sp
1946 The default unit is Kbytes if it is not specified\&.
1947 .RE
1948 .PP
1949 \fBspeed\fR \fI int\fR
1950 .RS 4
1951 Default:
1952 \fI200 bps\fR\&. How fast the drive will accept data, in bytes per second\&. This parameter is NOT currently used by
1953 \fIAmanda\fR\&.
1954 .RE
1955 .PP
1956 \fBlbl\-templ\fR \fI string\fR
1957 .RS 4
1958 A PostScript template file used by
1959 \fBamreport\fR
1960 to generate labels\&. Several sample files are provided with the
1961 \fIAmanda\fR
1962 sources in the
1963 \fIexample\fR
1964 directory\&. See the
1965 \fBamreport\fR(8)
1966 man page for more information\&.
1967 .RE
1968 .PP
1969 In addition to options, another
1970 \fBtapetype\fR
1971 name may be supplie as an identifier, which makes this
1972 \fBtapetype\fR
1973 inherit options from another
1974 \fBtapetype\fR\&. For instance, the only difference between a DLT4000 tape drive using Compact\-III tapes and one using Compact\-IV tapes is the length of the tape\&. So they could be entered as:
1975 .nf
1976 define tapetype "DLT4000\-III" {
1977     comment "DLT4000 tape drives with Compact\-III tapes"
1978     length 12500 mbytes         # 10 Gig tapes with some compression
1979     filemark 2000 kbytes
1980     speed 1536 kps
1981 }
1982 define tapetype "DLT4000\-IV" {
1983     "DLT4000\-III"
1984     comment "DLT4000 tape drives with Compact\-IV tapes"
1985     length 25000 mbytes         # 20 Gig tapes with some compression
1986 }
1987 .fi
1988 .SH "INTERFACE SECTION"
1989 .PP
1990 The
1991 \fBamanda\&.conf\fR
1992 file may define multiple types of network interfaces\&. The information is entered in an
1993 \fBinterface\fR
1994 section, which looks like this:
1995 .nf
1996 define interface "\fIname\fR" {
1997     \fIinterface\-option\fR \fIinterface\-value\fR
1998     \FC\&.\&.\&.\F[]
1999 }
2000 .fi
2001 .PP
2002 \fIname\fR
2003 is the name of this type of network interface\&. It is referenced from the
2004 \fIdisklist\fR
2005 file\&.
2006 .PP
2007 Note that these sections define network interface characteristics, not the actual interface that will be used\&. Nor do they impose limits on the bandwidth that will actually be taken up by
2008 \fIAmanda\fR\&.
2009 \fIAmanda\fR
2010 computes the estimated bandwidth each file system backup will take based on the estimated size and time, then compares that plus any other running backups with the limit as another of the criteria when deciding whether to start the backup\&. Once a backup starts,
2011 \fIAmanda\fR
2012 will use as much of the network as it can leaving throttling up to the operating system and network hardware\&.
2013 .PP
2014 The interface options and values are:
2015 .PP
2016 \fBcomment\fR \fI string\fR
2017 .RS 4
2018 Default:
2019 \fInone\fR\&. A comment string describing this set of network information\&.
2020 .RE
2021 .PP
2022 \fBuse\fR \fI int\fR
2023 .RS 4
2024 Default:
2025 \fI8000 Kbps\fR\&. The speed of the interface in Kbytes per second\&.
2026 .RE
2027 .PP
2028 In addition to options, another
2029 \fBinterface\fR
2030 name may be supplied as an identifier, which makes this
2031 \fBinterface\fR
2032 inherit options from another
2033 \fBinterface\fR\&. At the moment, this is of little use\&.
2034 .SH "APPLICATION SECTION"
2035 .PP
2036 The
2037 \fBamanda\&.conf\fR
2038 file may define multiple types of application\&. The information is entered in a
2039 \fBapplication\-tool\fR
2040 section, which looks like this:
2041 .nf
2042 define application\-tool "\fIname\fR" {
2043     \fIapplication\-option\fR \fIapplication\-value\fR
2044     \FC\&.\&.\&.\F[]
2045 }
2046 .fi
2047 .PP
2048 \fIname\fR
2049 is the name of this type of application\&. It is referenced from the
2050 \fIdumptype\fR
2051 .PP
2052 The application\-tool options and values are:
2053 .PP
2054 \fBcomment\fR \fIstring\fR
2055 .RS 4
2056 Default:
2057 \fInone\fR\&. A comment string describing this application\&.
2058 .RE
2059 .PP
2060 \fBplugin\fR \fIstring\fR
2061 .RS 4
2062 No default\&. Must be set to the name of the program\&. This program must be in the
2063 \fI$libexecdir/amanda/application\fR
2064 directory on the client\&.
2065 .RE
2066 .PP
2067 \fBproperty\fR [append] [priority] \fIstring\fR \fIstring\fR+
2068 .RS 4
2069 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\&.
2070 \fBappend\fR
2071 keyword append the values to the list of values for that property\&.
2072 \fBpriority\fR
2073 keyword disallow the setting of that property on the client\&.
2074 .RE
2075 .SH "SCRIPT SECTION"
2076 .PP
2077 The
2078 \fBamanda\&.conf\fR
2079 file may define multiple types of script\&. The information is entered in a
2080 \fBscript\-tool\fR
2081 section, which looks like this:
2082 .nf
2083 define script\-tool "\fIname\fR" {
2084     \fIscript\-option\fR \fIscript\-value\fR
2085     \FC\&.\&.\&.\F[]
2086 }
2087 .fi
2088 .PP
2089 \fIname\fR
2090 is the name of this type of script\&. It is referenced from the
2091 \fIdumptype\fR
2092 .PP
2093 The script\-tool options and values are:
2094 .PP
2095 \fBcomment\fR \fIstring\fR
2096 .RS 4
2097 Default:
2098 \fInone\fR\&. A comment string describing this script\&.
2099 .RE
2100 .PP
2101 \fBplugin\fR \fIstring\fR
2102 .RS 4
2103 No default\&. Must be set to the name of the program\&. This program must be in the
2104 \fI$libexecdir/amanda/application\fR
2105 directory on the client and/or server\&.
2106 .RE
2107 .PP
2108 \fBexecute_where\fR [client|server]
2109 .RS 4
2110 Default:
2111 \fIclient\fR\&. Where the script must be executed, on the client or server\&.
2112 .RE
2113 .PP
2114 \fBexecute_on\fR \fIexecute_on\fR[,\fIexecute_on\fR]*
2115 .RS 4
2116 No default\&. When the script must be executed, you can specify many of them:
2117 .PP
2118 \fBpre\-dle\-amcheck\fR
2119 .RS 4
2120 Execute before the amcheck command for the dle\&.
2121 .RE
2122 .PP
2123 \fBpre\-host\-amcheck\fR
2124 .RS 4
2125 Execute before the amcheck command for all dle for the client\&.
2126 .RE
2127 .PP
2128 \fBpost\-dle\-amcheck\fR
2129 .RS 4
2130 Execute after the amcheck command for the dle\&.
2131 .RE
2132 .PP
2133 \fBpost\-host\-amcheck\fR
2134 .RS 4
2135 Execute after the amcheck command for all dle for the client\&.
2136 .RE
2137 .PP
2138 \fBpre\-dle\-estimate\fR
2139 .RS 4
2140 Execute before the estimate command for the dle\&.
2141 .RE
2142 .PP
2143 \fBpre\-host\-estimate\fR
2144 .RS 4
2145 Execute before the estimate command for all dle for the client\&.
2146 .RE
2147 .PP
2148 \fBpost\-dle\-estimate\fR
2149 .RS 4
2150 Execute after the estimate command for the dle\&.
2151 .RE
2152 .PP
2153 \fBpost\-host\-estimate\fR
2154 .RS 4
2155 Execute after the estimate command for all dle for the client\&.
2156 .RE
2157 .PP
2158 \fBpre\-dle\-backup\fR
2159 .RS 4
2160 Execute before the backup command for the dle\&.
2161 .RE
2162 .PP
2163 \fBpre\-host\-backup\fR
2164 .RS 4
2165 Execute before the backup command for all dle for the client\&.
2166 .RE
2167 .PP
2168 \fBpost\-dle\-backup\fR
2169 .RS 4
2170 Execute after the backup command for the dle\&.
2171 .RE
2172 .PP
2173 \fBpost\-host\-backup\fR
2174 .RS 4
2175 Execute after the backup command for all dle for the client\&.
2176 .RE
2177 .PP
2178 \fBpre\-recover\fR
2179 .RS 4
2180 Execute before any level is recovered\&.
2181 .RE
2182 .PP
2183 \fBpost\-recover\fR
2184 .RS 4
2185 Execute after all levels are recovered\&.
2186 .RE
2187 .PP
2188 \fBpre\-level\-recover\fR
2189 .RS 4
2190 Execute before each level recovery\&.
2191 .RE
2192 .PP
2193 \fBpost\-level\-recover\fR
2194 .RS 4
2195 Execute after each level recovery\&.
2196 .RE
2197 .PP
2198 \fBinter\-level\-recover\fR
2199 .RS 4
2200 Execute between two levels of recovery\&.
2201 .RE
2202 .sp
2203 If you recover level 0 and 2 of the disk /usr with amrecover, it will execute:
2204 .nf
2205 script \-\-pre\-recover
2206 script \-\-pre\-level\-recover \-\-level 0
2207 #recovering level 0
2208 script \-\-post\-level\-recover \-\-level 0
2209 script \-\-inter\-level\-recover \-\-level 0 \-\-level 2
2210 script \-\-pre\-level\-recover \-\-level 2
2211 #recovering level 2
2212 script \-\-post\-level\-recover \-\-level 2
2213 script \-\-post\-recover
2214 .fi
2215 .RE
2216 .PP
2217 \fBproperty\fR [append] [priority] \fIstring\fR \fIstring\fR+
2218 .RS 4
2219 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\&.
2220 \fBappend\fR
2221 keyword append the values to the list of values for that property\&.
2222 \fBpriority\fR
2223 keyword disallow the setting of that property on the client\&.
2224 .RE
2225 .SH "DEVICE SECTION"
2226 .PP
2227 Backend storage devices are specified in
2228 \fBamanda\&.conf\fR
2229 in the form of "device" sections, which look like this:
2230 .nf
2231 define device \fIname\fR {
2232     commend "\fIcomment (optional)\fR"
2233     tapedev "\fIdevice\-specifier\fR"
2234     device_property "\fIprop\-name\fR" "\fIprop\-value\fR"
2235     \FC\&.\&.\&.\F[]
2236 }
2237 .fi
2238 .PP
2239 \fIname\fR
2240 is the user\-specified name of this device\&. It is referenced from the global
2241 \fItapedev\fR
2242 parameter\&. The
2243 \fIdevice\-specifier\fR
2244 specifies the device name to use; see
2245 \fBamanda-devices\fR(7)\&. As with most sections, the
2246 \fIcomment\fR
2247 parmeter is optional and only for the user\'s convenience\&.
2248 .PP
2249 An arbitrary number of
2250 \fIdevice_property\fR
2251 parameters can be specified\&. Again, see
2252 \fBamanda-devices\fR(7)
2253 for information on device properties\&.
2254 .SH "CHANGER SECTION"
2255 .PP
2256 Changers are described in
2257 \fBamanda\&.conf\fR
2258 in the form of "changer" sections, which look like this:
2259 .nf
2260 define changer \fIname\fR {
2261     comment "\fIcomment (optional)\fR"
2262     tapedev "\fItape\-device\fR"
2263     tpchanger "\fIchanger\-type\fR"
2264     changerdev "\fIdevice\-name\fR"
2265     changerfile "\fIstate\-file\fR"
2266     \FC\&.\&.\&.\F[]
2267 }
2268 .fi
2269 .PP
2270 \fIname\fR
2271 is the user\-specified name of this device\&. The remaining parameters are specific to the changer type selected\&.
2272 .PP
2273 TODO: more detail here once it\'s known
2274 .SH "SEE ALSO"
2275 .PP
2276
2277 \fBamanda\fR(8),
2278 \fBamanda-client.conf\fR(5),
2279 \fBamcrypt\fR(8),
2280 \fBaespipe\fR(1),
2281 : http://wiki.zmanda.com
2282 .SH "Authors"
2283 .PP
2284 \fBJames da Silva\fR <\&jds@amanda\&.org\&>
2285 .PP
2286 \fBStefan G\&. Weichinger\fR <\&sgw@amanda\&.org\&>