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