Merge tag 'upstream/3.3.3'
[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 v1.76.1 <http://docbook.sf.net/>
5 .\"      Date: 01/10/2013
6 .\"    Manual: File formats and conventions
7 .\"    Source: Amanda 3.3.3
8 .\"  Language: English
9 .\"
10 .TH "AMANDA\&.CONF" "5" "01/10/2013" "Amanda 3\&.3\&.3" "File formats and conventions"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 .ie \n(.g .ds Aq \(aq
19 .el       .ds Aq '
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
24 .nh
25 .\" disable justification (adjust text to left margin only)
26 .ad l
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
30 .SH "NAME"
31 amanda.conf \- Main configuration file for Amanda, the Advanced Maryland Automatic Network Disk Archiver
32 .SH "DESCRIPTION"
33 .PP
34 \fBamanda.conf\fR(5)
35 is the main configuration file for Amanda\&. This manpage lists the relevant sections and parameters of this file for quick reference\&.
36 .PP
37 The file
38 \fB<CONFIG_DIR>/<config>/amanda\&.conf\fR
39 is loaded\&.
40 .SH "SYNTAX"
41 .PP
42 There are a number of configuration parameters that control the behavior of the Amanda programs\&. All have default values, so you need not specify the parameter in
43 \fBamanda\&.conf\fR
44 if the default is suitable\&.
45 .SS "COMMENTS"
46 .PP
47 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\&.
48 .SS "KEYWORDS AND IDENTIFIERS"
49 .PP
50 Keywords are case insensitive, i\&.e\&.
51 \fBmailto\fR
52 and
53 \fBMailTo\fR
54 are treated the same\&. Also, the characters \*(Aq\fB\-\fR\*(Aq and \*(Aq\fB_\fR\*(Aq are interchangeable in all predefined Amanda keywords:
55 \fBdevice_property\fR
56 and
57 \fBdevice\-property\fR
58 have the same meaning\&. This manpage uses the dashed versions, but the underscored versions will be accepted for backward compatibility
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 \*(Aq\fB\-\fR\*(Aq vs\&. \*(Aq\fB_\fR\*(Aq\&. Identifiers should be quoted in the configuration file, although For historical reasons, the quotes are optional\&.
61 .PP
62 Strings are always quoted with double quotes ("), and any double quotes or backslashes within the string are escaped with a backslash:
63 .sp
64 .nf
65 tapelist "/path/to/tapelist"
66 property "escaped\-string" "escaping: \e\e (backslash) and \e" (double\-quote)"
67 .fi
68 .PP
69 To summarize, then:
70 .sp
71 .nf
72                           # QUOTES        CASE            \-/_
73 logdir "logs"             # required      sensitive       sensitive
74 send\-amreport\-on strange  # prohibited    insensitive     insensitive
75 tapetype "EXABYTE"        # optional      insensitive     sensitive
76
77 define dumptype "dt" {    # optional      insensitive     sensitive
78   "dumptype\-common"       # optional      insensitive     sensitive
79   strategy noinc          # prohibited    insensitive     insensitive
80 }
81 .fi
82 .SS "VALUE SUFFIXES"
83 .PP
84 Integer arguments may have one of the following (case insensitive) suffixes, some of which have a multiplier effect:
85 .PP
86 \fBb byte bytes\fR
87 .RS 4
88 Some number of bytes\&.
89 .RE
90 .PP
91 \fBbps\fR
92 .RS 4
93 Some number of bytes per second\&.
94 .RE
95 .PP
96 \fBk kb kbyte kbytes kilobyte kilobytes\fR
97 .RS 4
98 Some number of kilobytes (bytes*1024)\&.
99 .RE
100 .PP
101 \fBkps kbps\fR
102 .RS 4
103 Some number of kilobytes per second (bytes*1024)\&.
104 .sp
105 It is the default multiplier for all size options\&.
106 .RE
107 .PP
108 \fBm mb meg mbyte mbytes megabyte megabytes\fR
109 .RS 4
110 Some number of megabytes (bytes*1024*1024)\&.
111 .RE
112 .PP
113 \fBmps mbps\fR
114 .RS 4
115 Some number of megabytes per second (bytes*1024*1024)\&.
116 .RE
117 .PP
118 \fBg gb gbyte gbytes gigabyte gigabytes\fR
119 .RS 4
120 Some number of gigabytes (bytes*1024*1024*1024)\&.
121 .RE
122 .PP
123 \fBt tb tbyte tbytes terabyte terabytes\fR
124 .RS 4
125 Some number of terabytes (bytes*1024*1024*1024*1024)\&.
126 .RE
127 .PP
128 \fBtape tapes\fR
129 .RS 4
130 Some number of tapes\&.
131 .RE
132 .PP
133 \fBday days\fR
134 .RS 4
135 Some number of days\&.
136 .RE
137 .PP
138 \fBweek weeks\fR
139 .RS 4
140 Some number of weeks (days*7)\&.
141 .if n \{\
142 .sp
143 .\}
144 .RS 4
145 .it 1 an-trap
146 .nr an-no-space-flag 1
147 .nr an-break-flag 1
148 .br
149 .ps +1
150 \fBNote\fR
151 .ps -1
152 .br
153 The value
154 \fBinf\fR
155 may be used in most places where an integer is expected to mean an infinite amount\&.
156 .sp
157 Boolean arguments may have any of the values
158 \fB1\fR,
159 \fBy\fR,
160 \fByes\fR,
161 \fBt\fR,
162 \fBtrue\fR
163 or
164 \fBon\fR
165 to indicate a true state, or
166 \fB0\fR,
167 \fBn\fR,
168 \fBno\fR,
169 \fBf\fR,
170 \fBfalse\fR
171 or
172 \fBoff\fR
173 to indicate a false state\&. If no argument is given,
174 \fBtrue\fR
175 is assumed\&.
176 .sp .5v
177 .RE
178 .RE
179 .SS "PARAMETER ORDER"
180 .PP
181 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\&.
182 .SS "STRINGS"
183 .PP
184 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
185 .sp
186 .nf
187     ESCAPE SEQUENCE     BECOMES
188     \e\e                  \e
189     \e"                  "
190     \en                  (newline)
191     \et                  (tab)
192     \er                  (carriage return)
193     \ef                  (form\-feed)
194     \e1 \- \e7
195     \e01 \- \e77
196     \e001 \- \e377         (character specified in octal)
197 .fi
198 Illegally quoted strings are handled on a "best\-effort" basis, which may lead to unexpected results\&.
199 .PP
200 Examples:
201 .sp
202 .nf
203 finserver "/data/finance/XYZ Corp\*(Aqs \e"real\e" finances" finance\-high eth0 \-1
204 property "syspath" "C:\e\eWINDOWS\e\eSYSTEM"
205 .fi
206 .SS "SUBSECTIONS AND INHERITANCE"
207 .PP
208 Amanda configuration files may include various
209 \fIsubsections\fR, each defining a set of configuration directives\&. Each type of subsection is described below\&. Note that all types of subsections can
210 \fIinherit\fR
211 from other subsections of the same type by naming the "parent" section in the "child" subsection\&. For example:
212 .sp
213 .nf
214 define dumptype global {
215     record yes
216     index yes
217 }
218
219 define dumptype nocomp {
220     global      # inherit the parameters in dumptype \*(Aqglobal\*(Aq
221     compress none
222 }
223 .fi
224 .PP
225 Note that multiple inheritance is also supported by simply naming multiple parent sections in a child\&. Parents are implicitly expanded in place in a child, and the last occurrence of each parameter takes precedence\&. For example,
226 .sp
227 .nf
228 define tapetype par1 {
229     comment "Parent 1"
230     filemark 8k
231     speed 300bps
232     length 200M
233 }
234 define tapetype par2 {
235     comment "Parent 2"
236     filemark 16k
237     speed 400bps
238 }
239 define tapetype child {
240     par1
241     par2
242     filemark 32k
243 }
244 .fi
245 In this example, \*(Aqchild\*(Aq will have a filemark of 32k, a speed of 400bps, and a length of 200M\&.
246 .SH "GLOBAL PARAMETERS"
247 .PP
248 \fBorg\fR \fIstring\fR
249 .RS 4
250 Default:
251 \fI"daily"\fR\&. A descriptive name for the configuration\&. This string appears in the Subject line of mail reports\&. Each Amanda configuration should have a different string to keep mail reports distinct\&.
252 .RE
253 .PP
254 \fBmailer\fR \fIstring\fR
255 .RS 4
256 Default found by configure\&. A mail program that can send mail with \*(Aq\fIMAILER \-s "subject" user < message_file\fR\*(Aq\&.
257 .RE
258 .PP
259 \fBmailto\fR \fIstring\fR
260 .RS 4
261 Default: none\&. A space separated list of recipients for mail reports\&. If not specified, amdump will not send any mail\&.
262 .RE
263 .PP
264 \fBsend\-amreport\-on\fR [ \fBall\fR | \fBstrange\fR | \fBerror\fR | \fBnever\fR ]
265 .RS 4
266 Default:
267 \fBall\fR\&. Specify which types of messages will trigger an email from amreport\&. amreport is used by amdump and amflush\&.
268 .PP
269 \fBall\fR
270 .RS 4
271 Send an email on any message\&.
272 .RE
273 .PP
274 \fBstrange\fR
275 .RS 4
276 Send an email on strange or error message\&. A strange message occurs when the dump succeeded, but returned one or more errors unknown to Amanda\&.
277 .RE
278 .PP
279 \fBerror\fR
280 .RS 4
281 Send an email only on error messages\&.
282 .RE
283 .PP
284 \fBnever\fR
285 .RS 4
286 Never send an email\&.
287 .RE
288 .RE
289 .PP
290 \fBreport\-use\-media\fR \fIboolean\fR
291 .RS 4
292 Default:
293 \fITrue\fR
294 if
295 \fBmax\-dle\-by\-volume\fR
296 is not set,
297 \fIFalse\fR
298 if it is set\&. If the reporter must print the list of media used in the run\&.
299 .RE
300 .PP
301 \fBreport\-next\-media\fR \fIboolean\fR
302 .RS 4
303 Default:
304 \fITrue\fR
305 if
306 \fBmax\-dle\-by\-volume\fR
307 is not set,
308 \fIFalse\fR
309 if it is set\&. If the reporter must print the list of media expected for the next run\&.
310 .RE
311 .PP
312 \fBmax\-dle\-by\-volume\fR \fIint\fR
313 .RS 4
314 Default:
315 \fI1000000000\fR\&. The maximum number of dle written to a single volume\&.
316 .RE
317 .PP
318 \fBdumpcycle\fR \fIint\fR
319 .RS 4
320 Default:
321 \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\&.
322 .if n \{\
323 .sp
324 .\}
325 .RS 4
326 .it 1 an-trap
327 .nr an-no-space-flag 1
328 .nr an-break-flag 1
329 .br
330 .ps +1
331 \fBNote\fR
332 .ps -1
333 .br
334 This parameter may also be set in a specific
335 \fBdumptype\fR
336 (see below)\&. This value sets the default for all
337 \fBdumptype\fRs so must appear in
338 \fBamanda\&.conf\fR
339 before any
340 \fBdumptype\fRs are defined\&.
341 .sp .5v
342 .RE
343 .RE
344 .PP
345 \fBrunspercycle\fR \fIint\fR
346 .RS 4
347 Default:
348 \fIsame as dumpcycle\fR\&. The number of amdump runs in
349 \fBdumpcycle\fR
350 days\&. A value of 0 means the same value as
351 \fBdumpcycle\fR\&. A value of \-1 means guess the number of runs from the
352 \fBtapelist\fR(5)
353 file, which is the number of tapes used in the last
354 \fBdumpcycle\fR
355 days /
356 \fBruntapes\fR\&.
357 .RE
358 .PP
359 \fBtapecycle\fR \fIint\fR
360 .RS 4
361 Default:
362 \fI15 tapes\fR\&. Specifies the number of "active" volumes \- volumes that Amanda will not overwrite\&. While Amanda is always willing to write to a new volume, it refuses to overwrite a volume unless at least \*(Aq\fBtapecycle\fR
363 \-1\*(Aq volumes have been written since\&.
364 .sp
365 It is considered good administrative practice to set the
366 \fBtapecycle\fR
367 parameter slightly lower than the actual number of tapes in use\&. 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\&.
368 .sp
369 Note: Amanda is commonly misconfigured with
370 \fBtapecycle\fR
371 equal to the number of tapes per
372 \fBdumpcycle\fR\&. In this misconfiguration, amanda may erase a full dump before a new one is completed\&. Recovery is then impossible\&. The
373 \fBtapecycle\fR
374 must be at least one tape larger than the number of tapes per dumpcycle\&.
375 .sp
376 The number of tapes per dumpcycle is calculated by multiplying the number of
377 \fBamdump\fR
378 runs per dump cycle
379 \fBrunspercycle\fR
380 (the number of
381 \fBamdump\fR
382 runs per dump cycle) and
383 \fBruntapes\fR
384 (the number of tapes used per run)\&. Typically
385 \fBtapecycle\fR
386 is set to two or four times the tapes per dumpcycle\&.
387 .RE
388 .PP
389 \fBusetimestamps\fR \fIbool\fR
390 .RS 4
391 Default:
392 \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\*(Aqt read logfiles written when this option was enabled\&.
393 .RE
394 .PP
395 \fBlabel\-new\-tapes\fR \fIstring\fR
396 .RS 4
397 Deprecated, use
398 \fBautolabel\fR
399 option with options
400 \fBvolume\-error empty\fR
401 to get equivalent behavior\&.
402 .sp
403 Default: not set\&. When set, this directive will cause Amanda to automatically write an Amanda tape label to any blank tape she encounters\&.
404 .RE
405 .PP
406 \fBautolabel\fR \fIstring\fR [\fBany\fR] [\fBother\-config\fR] [\fBnon\-amanda\fR] [\fBvolume\-error\fR] [\fBempty\fR]
407 .RS 4
408 Default: not set\&. When set, this directive will cause Amanda to automatically write an Amanda tape label to most volume she encounters\&. This option is DANGEROUS because when set, Amanda may erase near\-failing tapes or tapes accidentally loaded in the wrong slot\&.
409 .sp
410 When using this directive, specify the template for new tape labels\&. The template can contains many variables that are substituted by their values:
411 .sp
412 .nf
413     $c : config name
414     $o : org configuration
415     $b : barcode of the volume
416     $s : slot number, can specify a minimun number of digit:
417          $3s to get \*(Aq001\*(Aq
418     $m : meta label
419 .fi
420 .sp
421 The template can contain some number of contiguous \*(Aq%\*(Aq characters, which will be replaced with a generated number\&. Be sure to specify enough \*(Aq%\*(Aq characters that you do not run out of tape labels\&. Example:
422 \fB"DailySet1\-%%%"\fR,
423 \fB"$c\-%%%"\fR,
424 \fB"$m\-%%%"\fR,
425 \fB"$m\-$b"\fR
426 .sp
427 The generared label can be used only if it match the
428 \fBlabelstr\fR
429 setting\&. The volume will not be used if the generated label doesn\*(Aqt match the
430 \fBlabelstr\fR
431 setting\&.
432 .sp
433 Note that many devices cannot distinguish an empty tape from an error condition, so it may is often necessary to include
434 \fBvolume\-error\fR
435 as an autolabel condition\&.
436 .PP
437 \fBany\fR
438 .RS 4
439 equivalent to \*(Aq\fBother\-config non\-amanda volume\-error empty\fR\*(Aq
440 .RE
441 .PP
442 \fBother\-config\fR
443 .RS 4
444 Label volumes with a valid Amanda label that do not match our
445 \fBlabelstr\fR\&. Danger: this may erase volumes
446 from other Amanda configurations without warning!
447 .RE
448 .PP
449 \fBnon\-amanda\fR
450 .RS 4
451 Label volumes which do not start with data that resembles an
452 Amanda header\&. Danger: this may erase volumes from other backup applications
453 without warning!
454 .RE
455 .PP
456 \fBvolume\-error\fR
457 .RS 4
458 Label volumes where an error occurs while trying to read the label\&.
459 Danger: this may erase arbitrary volumes due to transient errors\&.
460 .RE
461 .PP
462 \fBempty\fR
463 .RS 4
464 Label volumes where a read returns 0 bytes\&.
465 .RE
466 .RE
467 .PP
468 \fBmeta\-autolabel\fR \fIstring\fR
469 .RS 4
470 Default: not set\&. When set and if the changer support meta\-label, this directive will cause Amanda to automatically add a meta\-label to a meta\-volume\&.
471 .sp
472 A meta\-volume is a containers that contains many volumes, eg\&. a removable hard\-disk for use with chg\-disk, each hard disk have many slots (volume)\&. The meta\-label is the label to put on the meta\-volume\&.
473 .sp
474 When using this directive, specify the template for new meta labels\&. The template can contains many variables that are substituted by their values:
475 .sp
476 .nf
477     $c : config name
478     $o : org configuration
479 .fi
480 .sp
481 The template should contain some number of contiguous \*(Aq%\*(Aq characters, which will be replaced with a generated number\&. Be sure to specify enough \*(Aq%\*(Aq characters that you do not run out of meta labels\&. Example:
482 \fB"DailySet1\-%%%"\fR,
483 \fB"$o\-%%%"\fR,
484 .RE
485 .PP
486 \fBdumpuser\fR \fIstring\fR
487 .RS 4
488 Default:
489 \fI"amanda"\fR\&. The login name Amanda uses to run the backups\&. The backup client hosts must allow access from the tape server host as this user via
490 \fB\&.rhosts\fR
491 or
492 \fB\&.amandahosts\fR, depending on how the Amanda software was built\&.
493 .RE
494 .PP
495 \fBprinter\fR \fIstring\fR
496 .RS 4
497 Printer to use when doing tape labels\&. See the
498 \fBlbl\-templ\fR
499 \fBtapetype\fR
500 option\&.
501 .RE
502 .PP
503 \fBtapedev\fR \fIstring\fR
504 .RS 4
505 Default:
506 \fI"null:"\fR\&. This parameter can either specify a device (explicitly or by referencing a device definition \- see
507 \fBamanda-devices\fR(7)) or a tape changer (explicitly or by referencing a device definition \- see
508 \fBamanda-changers\fR(7))\&.
509 .RE
510 .PP
511 \fBdevice\-property\fR \fIstring\fR \fIstring\fR
512 .RS 4
513 These options can set various device properties\&. See
514 \fBamanda-devices\fR(7)
515 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:
516 .nf
517 device\-property "BLOCK_SIZE" "128k"
518 .fi
519 .RE
520 .PP
521 \fBproperty\fR [\fBappend\fR] \fIstring\fR \fIstring\fR+
522 .RS 4
523 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\&.
524 \fBappend\fR
525 keyword append the values to the list of values for that property\&.
526 .RE
527 .PP
528 \fBtpchanger\fR \fIstring\fR
529 .RS 4
530 Default: not set\&. The tape changer to use\&. In most cases, only one of
531 \fBtpchanger\fR
532 or
533 \fBtapedev\fR
534 is specified, although for backward compatibility both may be specified if
535 \fBtpchanger\fR
536 gives the name of an old changer script\&. See
537 \fBamanda-changers\fR(7)
538 for more information on configuring changers\&.
539 .RE
540 .PP
541 \fBinteractivity\fR \fIstring\fR
542 .RS 4
543 Default: not set\&. The interactivity module Amanda should use to interact with the user\&. See
544 \fBamanda-interactivity\fR(7)
545 for a list of modules\&.
546 .RE
547 .PP
548 \fBtaperscan\fR \fIstring\fR
549 .RS 4
550 Default: traditional\&. The taperscan module amanda should use to find a tape to write to\&. See
551 \fBamanda-taperscan\fR(7)
552 for a list of modules\&.
553 .RE
554 .PP
555 \fBchangerdev\fR \fIstring\fR
556 .RS 4
557 Default:
558 \fI"dev/null"\fR\&. A tape changer configuration parameter\&. Usage depends on the particular changer defined with the
559 \fBtpchanger\fR
560 option\&.
561 .RE
562 .PP
563 \fBchangerfile\fR \fIstring\fR
564 .RS 4
565 Default:
566 \fI"/usr/adm/amanda/log/changer\-status"\fR\&. A tape changer configuration parameter\&. Usage depends on the particular changer defined with the
567 \fBtpchanger\fR
568 option\&.
569 .RE
570 .PP
571 \fBruntapes\fR \fIint\fR
572 .RS 4
573 Default:
574 \fI1\fR\&. 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\&.
575 .sp
576 If a tape changer is configured, this may be set larger than one to let Amanda write to more than one tape\&.
577 .sp
578 Note that this is an upper bound on the number of tapes, and Amanda may use less\&.
579 .RE
580 .PP
581 \fBmaxdumpsize\fR \fIint\fR
582 .RS 4
583 Default:
584 \fI\fBruntapes\fR\fR\fI*\fR\fI\fBtape\-length\fR\fR\&. Maximum number of bytes the planner will schedule for a run\&.
585 .sp
586 The default unit is Kbytes if it is not specified\&.
587 .RE
588 .PP
589 \fBtaperalgo\fR [ \fBfirst\fR | \fBfirstfit\fR | \fBlargest\fR | \fBlargestfit\fR | \fBsmallest\fR | \fBlast\fR ]
590 .RS 4
591 Default:
592 \fBfirst\fR\&. The algorithm used to choose which dump image to send to the taper\&.
593 .PP
594 \fBfirst\fR
595 .RS 4
596 First in, first out\&.
597 .RE
598 .PP
599 \fBfirstfit\fR
600 .RS 4
601 The first dump image that will fit on the current tape\&.
602 .RE
603 .PP
604 \fBlargest\fR
605 .RS 4
606 The largest dump image\&.
607 .RE
608 .PP
609 \fBlargestfit\fR
610 .RS 4
611 The largest dump image that will fit on the current tape\&.
612 .RE
613 .PP
614 \fBsmallest\fR
615 .RS 4
616 The smallest dump image\&.
617 .RE
618 .PP
619 \fBlast\fR
620 .RS 4
621 Last in, first out\&.
622 .RE
623 .RE
624 .PP
625 \fBtaper\-parallel\-write\fR \fIint\fR
626 .RS 4
627 Default:
628 \fI1\fR\&. Amanda can write simultaneously up to that number of volume at any given time\&. The changer must have as many drives\&.
629 .RE
630 .PP
631 \fBeject\-volume\fR \fIint\fR
632 .RS 4
633 Default:
634 \fIno\fR\&. Set to
635 \fByes\fR
636 if you want the volume to be ejected after Amanda wrote data to it\&. It works only with some changer and device\&.
637 .RE
638 .PP
639 \fBlabelstr\fR \fIstring\fR
640 .RS 4
641 Default:
642 \fI"\&.*"\fR\&. The tape label constraint regular expression\&. All tape labels generated (see
643 \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\*(Aqs tapes\&.
644 .RE
645 .PP
646 \fBtapetype\fR \fIstring\fR
647 .RS 4
648 Default:
649 \fIno default\fR\&. The type of tape drive associated with
650 \fBtapedev\fR
651 or
652 \fBtpchanger\fR\&. This refers to one of the defined
653 \fBtapetype\fRs in the config file (see below), which specify various tape parameters, like the
654 \fBlength\fR,
655 \fBfilemark\fR
656 size, and
657 \fBspeed\fR
658 of the tape media and device\&.
659 .RE
660 .PP
661 \fBctimeout\fR \fIint\fR
662 .RS 4
663 Default:
664 \fI30 seconds\fR\&. Maximum amount of time that
665 \fBamcheck\fR
666 will wait for each client host\&.
667 .RE
668 .PP
669 \fBdtimeout\fR \fIint\fR
670 .RS 4
671 Default:
672 \fI1800 seconds\fR\&. Amount of idle time per disk on a given client that a
673 \fBdumper\fR
674 running from within
675 \fBamdump\fR
676 will wait before it fails with a data timeout error\&.
677 .RE
678 .PP
679 \fBetimeout\fR \fIint\fR
680 .RS 4
681 Default:
682 \fI300 seconds\fR\&. Amount of time per estimate on a given client that the
683 \fBplanner\fR
684 step of
685 \fBamdump\fR
686 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\*(Aqs, each estimating level 0 and level 1 on client A,
687 \fBplanner\fR
688 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\&.
689 .RE
690 .PP
691 \fBconnect\-tries\fR \fIint\fR
692 .RS 4
693 Default:
694 \fI3\fR\&. How many times the server will try a connection\&.
695 .RE
696 .PP
697 \fBreq\-tries\fR \fIint\fR
698 .RS 4
699 Default:
700 \fI3\fR\&. How many times the server will resend a REQ packet if it doesn\*(Aqt get the ACK packet\&.
701 .RE
702 .PP
703 \fBnetusage\fR \fIint\fR
704 .RS 4
705 Default:
706 \fI80000 Kbps\fR\&. The maximum network bandwidth allocated to Amanda, in Kbytes per second\&. See also the
707 \fBinterface\fR
708 section\&.
709 .RE
710 .PP
711 \fBinparallel\fR \fIint\fR
712 .RS 4
713 Default:
714 \fI10\fR\&. The maximum number of backups that Amanda will attempt to run in parallel\&. Amanda will stay within the constraints of network bandwidth and holding disk space available, so it doesn\*(Aqt 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\&.
715 .RE
716 .PP
717 \fBdisplayunit\fR "k|m|g|t"
718 .RS 4
719 Default:
720 \fI"k"\fR\&. The unit used to print many numbers, k=kilo, m=mega, g=giga, t=tera\&.
721 .RE
722 .PP
723 \fBdumporder\fR \fIstring\fR
724 .RS 4
725 Default:
726 \fI"tttTTTTTTT"\fR\&. The priority order of each dumper:
727 .sp
728 .nf
729 s: smallest size
730 S: largest size
731 t: smallest time
732 T: largest time
733 b: smallest bandwidth
734 B: largest bandwidth
735 .fi
736 .RE
737 .PP
738 \fBmaxdumps\fR \fIint\fR
739 .RS 4
740 Default:
741 \fI1\fR\&. The maximum number of backups from a single host that Amanda will attempt to run in parallel\&. See also the
742 \fBinparallel\fR
743 option\&.
744 .sp
745 Note that this parameter may also be set in a specific
746 \fBdumptype\fR
747 (see below)\&. This value sets the default for all
748 \fBdumptype\fRs so must appear in
749 \fBamanda\&.conf\fR
750 before any
751 \fBdumptype\fRs are defined\&.
752 .RE
753 .PP
754 \fBbumpsize\fR \fIint\fR
755 .RS 4
756 Default:
757 \fI10 Mbytes\fR\&. The minimum savings required to trigger an automatic bump from one incremental level to the next, expressed as size\&. If Amanda 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
758 \fIbumppercent\fR
759 is set to 0\&.
760 .sp
761 The default unit is Kbytes if it is not specified\&.
762 .sp
763 The global setting of this parameter can be overwritten inside of a dumptype\-definition\&.
764 .sp
765 See also the options
766 \fBbumppercent\fR,
767 \fBbumpmult\fR
768 and
769 \fBbumpdays\fR\&.
770 .RE
771 .PP
772 \fBbumppercent\fR \fIint\fR
773 .RS 4
774 Default:
775 \fI0\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 Amanda determines that the next higher backup level will be this much smaller than the current level, it will do the next level\&.
776 .sp
777 If this parameter is set to 0, the value of the parameter
778 \fIbumpsize\fR
779 is used to trigger bumping\&.
780 .sp
781 The global setting of this parameter can be overwritten inside of a dumptype\-definition\&.
782 .sp
783 See also the options
784 \fBbumpsize\fR,
785 \fBbumpmult\fR
786 and
787 \fBbumpdays\fR\&.
788 .RE
789 .PP
790 \fBbumpmult\fR \fIfloat\fR
791 .RS 4
792 Default:
793 \fI1\&.5\fR\&. The bump size multiplier\&. Amanda multiplies
794 \fBbumpsize\fR
795 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
796 \fBbumpsize\fR
797 and
798 \fBbumpmult\fR
799 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\&.
800 .sp
801 The global setting of this parameter can be overwritten inside of a dumptype\-definition\&.
802 .RE
803 .PP
804 \fBbumpdays\fR \fIint\fR
805 .RS 4
806 Default:
807 \fI2 days\fR\&. To insure redundancy in the dumps, Amanda keeps filesystems at the same incremental level for at least
808 \fBbumpdays\fR
809 days, even if the other bump threshold criteria are met\&.
810 .sp
811 The global setting of this parameter can be overwritten inside of a dumptype\-definition\&.
812 .RE
813 .PP
814 \fBdiskfile\fR \fIstring\fR
815 .RS 4
816 Default:
817 \fI"disklist"\fR\&. The file name for the
818 \fIdisklist\fR
819 file holding client hosts, disks and other client dumping information\&.
820 .RE
821 .PP
822 \fBinfofile\fR \fIstring\fR
823 .RS 4
824 Default:
825 \fI"/usr/adm/amanda/curinfo"\fR\&. The file or directory name for the historical information database\&. If Amanda 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\&.
826 .RE
827 .PP
828 \fBlogdir\fR \fIstring\fR
829 .RS 4
830 Default:
831 \fI"/usr/adm/amanda"\fR\&. The directory for the
832 \fBamdump\fR
833 and
834 \fBlog\fR
835 files\&.
836 .RE
837 .PP
838 \fBindexdir\fR \fIstring\fR
839 .RS 4
840 Default
841 \fI"/usr/adm/amanda/index"\fR\&. The directory where index files (backup image catalogues) are stored\&. Index files are only generated for filesystems whose
842 \fBdumptype\fR
843 has the
844 \fBindex\fR
845 option enabled\&.
846 .RE
847 .PP
848 \fBtapelist\fR \fIstring\fR
849 .RS 4
850 Default:
851 \fI"tapelist"\fR\&. The file name for the active
852 \fBtapelist\fR(5)\&. Amanda maintains this file with information about the active set of tapes\&.
853 .RE
854 .PP
855 \fBdevice\-output\-buffer\-size\fR \fIint\fR
856 .RS 4
857 Default:
858 \fI1280k\fR\&. Controls the amount of memory used by Amanda 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\&.
859 .sp
860 The default unit is bytes if it is not specified\&.
861 .RE
862 .PP
863 \fBtapebufs\fR \fIint\fR
864 .RS 4
865 Default:
866 \fI20\fR\&. This option is deprecated; use the
867 \fBdevice\-output\-buffer\-size\fR
868 directive instead\&.
869 \fBtapebufs\fR
870 works the same way, but the number specified is multiplied by the device blocksize prior to use\&.
871 .RE
872 .PP
873 \fBreserve\fR \fIint\fR
874 .RS 4
875 Default:
876 \fI100\fR\&. 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\&.
877 .RE
878 .PP
879 \fBautoflush\fR \fBno\fR|\fByes\fR|\fBall\fR
880 .RS 4
881 Default:
882 \fBno\fR\&. Whether an amdump run will flush the dumps from holding disk to tape\&. With
883 \fByes\fR, only dump matching the command line argument are flushed\&. With
884 \fBall\fR, all dump are flushed\&.
885 .RE
886 .PP
887 \fBamrecover\-do\-fsf\fR \fIbool\fR
888 .RS 4
889 Deprecated; amrecover always uses fsf, and does not invoke amrestore\&.
890 .sp
891 Default:
892 \fBon\fR\&. Amrecover will call amrestore with the \-f flag for faster positioning of the tape\&.
893 .RE
894 .PP
895 \fBamrecover\-check\-label\fR \fIbool\fR
896 .RS 4
897 Deprecated; amrecover always checks the label, and does not invoke amrestore\&.
898 .sp
899 Default:
900 \fBon\fR\&. Amrecover will call amrestore with the \-l flag to check the label\&.
901 .RE
902 .PP
903 \fBamrecover\-changer\fR \fIstring\fR
904 .RS 4
905 Default: not set\&. Amrecover will use the changer if you use \*(Aqsettape <string>\*(Aq and that string is the same as the
906 \fBamrecover\-changer\fR
907 setting\&.
908 .RE
909 .PP
910 \fBcolumnspec\fR \fIstring\fR
911 .RS 4
912 default: "HostName=0:\-12:12,Disk=1:\-11:11,Level=1:\-1:1,OrigKB=1:\-7:0,OutKB=1:\-7:0,Compress=1:\-6:1,DumpTime=1:\-7:7,Dumprate=1:\-6:1,TapeTime=1:\-6:6,TapeRate=1:\-6:1"
913 .sp
914 Defines the width of columns
915 \fBamreport\fR
916 should use\&.
917 \fIString\fR
918 is a comma (\*(Aq,\*(Aq) separated list of triples\&. Each triple consists of three parts which are separated by a equal sign (\*(Aq=\*(Aq) and a colon (\*(Aq:\*(Aq) (see the example)\&. These four parts specify:
919 .sp
920 .RS 4
921 .ie n \{\
922 \h'-04' 1.\h'+01'\c
923 .\}
924 .el \{\
925 .sp -1
926 .IP "  1." 4.2
927 .\}
928 the name of the column, which may be:
929 .sp
930 .nf
931         Compress (compression ratio)
932         Disk (client disk name)
933         DumpRate (dump rate in KBytes/sec)
934         DumpTime (total dump time in hours:minutes)
935         HostName (client host name)
936         Level (dump level)
937         OrigKB (original image size in KBytes)
938         OutKB (output image size in KBytes)
939         TapeRate (tape writing rate in KBytes/sec)
940         TapeTime (total tape time in hours:minutes)
941 .fi
942 .RE
943 .sp
944 .RS 4
945 .ie n \{\
946 \h'-04' 2.\h'+01'\c
947 .\}
948 .el \{\
949 .sp -1
950 .IP "  2." 4.2
951 .\}
952 the amount of space to display before the column (used to get whitespace between columns)\&.
953 .RE
954 .sp
955 .RS 4
956 .ie n \{\
957 \h'-04' 3.\h'+01'\c
958 .\}
959 .el \{\
960 .sp -1
961 .IP "  3." 4.2
962 .\}
963 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\&.
964 .RE
965 .sp
966 .RS 4
967 .ie n \{\
968 \h'-04' 4.\h'+01'\c
969 .\}
970 .el \{\
971 .sp -1
972 .IP "  4." 4.2
973 .\}
974 the precision of the column, number of digit after the decimal point for number\&.
975 .RE
976 .sp
977 Here is an example:
978 .sp
979 .nf
980 columnspec "Disk=1:18,HostName=0:10,OrigKB=::2,OutKB=1:7"
981 .fi
982 .sp
983 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 Original KBytes print 2 decimal digit\&. The output KBytes column is seven characters wide with one space before it\&.
984 .RE
985 .PP
986 \fBincludefile\fR \fIstring\fR
987 .RS 4
988 Default:
989 \fIno default\fR\&. The name of an Amanda 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\&.
990 .RE
991 .PP
992 \fBdebug\-days\fR \fIint\fR
993 .RS 4
994 Default:
995 \fI3\fR\&. The number of days the debug files are kept\&.
996 .RE
997 .PP
998 \fBdebug\-auth\fR \fIint\fR
999 .RS 4
1000 Default:
1001 \fI0\fR\&. Debug level of the auth module
1002 .RE
1003 .PP
1004 \fBdebug\-event\fR \fIint\fR
1005 .RS 4
1006 Default:
1007 \fI0\fR\&. Debug level of the event module
1008 .RE
1009 .PP
1010 \fBdebug\-holding\fR \fIint\fR
1011 .RS 4
1012 Default:
1013 \fI0\fR\&. Debug level of the holdingdisk module
1014 .RE
1015 .PP
1016 \fBdebug\-protocol\fR \fIint\fR
1017 .RS 4
1018 Default:
1019 \fI0\fR\&. Debug level of the protocol module
1020 .RE
1021 .PP
1022 \fBdebug\-planner\fR \fIint\fR
1023 .RS 4
1024 Default:
1025 \fI0\fR\&. Debug level of the planner process
1026 .RE
1027 .PP
1028 \fBdebug\-driver\fR \fIint\fR
1029 .RS 4
1030 Default:
1031 \fI0\fR\&. Debug level of the driver process
1032 .RE
1033 .PP
1034 \fBdebug\-dumper\fR \fIint\fR
1035 .RS 4
1036 Default:
1037 \fI0\fR\&. Debug level of the dumper process
1038 .RE
1039 .PP
1040 \fBdebug\-chunker\fR \fIint\fR
1041 .RS 4
1042 Default:
1043 \fI0\fR\&. Debug level of the chunker process
1044 .RE
1045 .PP
1046 \fBdebug\-taper\fR \fIint\fR
1047 .RS 4
1048 Default:
1049 \fI0\fR\&. Debug level of the taper process
1050 .RE
1051 .PP
1052 \fBdebug\-recovery\fR \fIint\fR
1053 .RS 4
1054 Default:
1055 \fI1\fR\&. Debug level of all recovery process
1056 .RE
1057 .PP
1058 \fBflush\-threshold\-dumped\fR \fIint\fR
1059 .RS 4
1060 Default:
1061 \fI0\fR\&. Amanda 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, Amanda will not begin until the amount of data on the holding disk is greater than the tape length times this parameter\&. This parameter may be larger than 100%, for example to keep more recent dumps on the holding disk for faster recovery\&.
1062 .sp
1063 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 Amanda 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\&.
1064 .sp
1065 The value of this parameter may not exceed than that of the
1066 \fBflush\-threshold\-scheduled\fR
1067 parameter\&.
1068 .RE
1069 .PP
1070 \fBflush\-threshold\-scheduled\fR \fIint\fR
1071 .RS 4
1072 Default:
1073 \fI0\fR\&. Amanda 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, Amanda will not begin until the inequality
1074 h + s > t \(mu d
1075 is satisfied, where
1076 h
1077 is the amount of data on the holding disk,
1078 s
1079 is the total amount of data scheduled for this run but not dumped yet,
1080 t
1081 is the capacity of a volume, and
1082 d
1083 is this parameter, expressed as a percentage\&. This parameter may be larger than 100%\&.
1084 .sp
1085 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 Amanda 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\&.
1086 .sp
1087 The value of this parameter may not be less than that of the
1088 \fBflush\-threshold\-dumped\fR
1089 or
1090 \fBtaperflush\fR
1091 parameters\&.
1092 .RE
1093 .PP
1094 \fBtaperflush\fR \fIint\fR
1095 .RS 4
1096 Default:
1097 \fI0\fR\&. At the end of a run, Amanda 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, Amanda will begin a new tape if the inequality
1098 h > t \(mu f
1099 is satisfied, where
1100 h
1101 is the amount of data remaining on the holding disk from this or previous runs,
1102 t
1103 is the capacity of a volume, and
1104 f
1105 is this parameter, expressed as a percentage\&. This parameter may be greater than 100%\&.
1106 .sp
1107 The value of this parameter may not exceed that of the
1108 \fBflush\-threshold\-scheduled\fR
1109 parameter\&.;
1110 \fBautoflush\fR
1111 must be set to \*(Aqyes\*(Aq if
1112 \fBtaperflush\fR
1113 is greater than 0\&.
1114 .RE
1115 .PP
1116 \fBreserved\-udp\-port\fR \fIint\fR,\fIint\fR
1117 .RS 4
1118 Default: \-\-with\-udpportrange or
1119 \fI512,1023\fR\&. Reserved udp port that will be used (bsd, bsdudp)\&. Range is inclusive\&.
1120 .RE
1121 .PP
1122 \fBreserved\-tcp\-port\fR \fIint\fR,\fIint\fR
1123 .RS 4
1124 Default: \-\-with\-low\-tcpportrange or
1125 \fI512,1023\fR\&. Reserved tcp port that will be used (bsdtcp)\&. Range is inclusive\&.
1126 .RE
1127 .PP
1128 \fBunreserved\-tcp\-port\fR \fIint\fR,\fIint\fR
1129 .RS 4
1130 Default: \-\-with\-tcpportrange or
1131 \fI1024,65535\fR\&. Unreserved tcp port that will be used (bsd, bsdudp)\&. Range is inclusive\&.
1132 .RE
1133 .PP
1134 \fBrecovery\-limit\fR [ \fIstring\fR | \fBsame\-host\fR | \fBserver\fR]
1135 .RS 4
1136 Default: none (no limitations)\&. This parameter limits the hosts that may do recoveries\&. Hosts are identified by their authenticated peer name, as described in
1137 \fBamanda-auth\fR(7); if this is not available and the recovery\-limit parameter is present, recovery will be denied\&. The arguments to the parameter are strings giving host match expressions (see
1138 \fBamanda-match\fR(7)) or the special keywords
1139 \fBsame\-host\fR
1140 or
1141 \fBserver\fR\&. The
1142 \fBsame\-host\fR
1143 keyword requires an exact match to the hostname of the DLE being recovered\&. The
1144 \fBserver\fR
1145 keyword require the connection come from the fqdn of the server\&. Specifying no arguments at all will disable all recoveries from any host\&.
1146 .sp
1147 Note that match expressions can be constructed to be forgiving of e\&.g\&., fully\-qualified vs\&. unqualified hostnames, but
1148 \fBsame\-host\fR
1149 requires an exact match\&.
1150 .sp
1151 The error messages that appear in amrecover are intentionally vague to avoid information leakage\&. Consult the amindexd debug log for more details on the reasons a recovery was rejected\&.
1152 .sp
1153 Recovery limits can be refined on a per\-DLE basis using the dumptype parameter of the same name\&. Note that the default value will apply to any dumpfiles for disks which no longer appear in the disklist; thus leaving the global parameter at its default value but setting it for all DLEs is not sufficient to maintain secure backups\&.
1154 .RE
1155 .PP
1156 \fBtmpdir\fR \fIstring\fR
1157 .RS 4
1158 Default: none (system default)\&. Set it to a directory with lots of free space if sort in amindexd fail with \*(AqNo space left on device\*(Aq\&.
1159 .RE
1160 .SH "HOLDINGDISK SECTION"
1161 .PP
1162 The
1163 \fBamanda\&.conf\fR
1164 file may define one or more holding disks used as buffers to hold backup images before they are written to tape\&. The syntax is:
1165 .nf
1166 define holdingdisk \fIname\fR {
1167     \fIholdingdisk\-option\fR \fIholdingdisk\-value\fR
1168     \&.\&.\&.
1169 }
1170 .fi
1171 .PP
1172 The { must appear at the end of a line, and the } on its own line\&.
1173 .PP
1174 \fIName\fR
1175 is a logical name for this holding disk\&.
1176 .PP
1177 The options and values are:
1178 .PP
1179 \fBcomment\fR \fIstring\fR
1180 .RS 4
1181 Default: not set\&. A comment string describing this holding disk\&.
1182 .RE
1183 .PP
1184 \fBdirectory\fR \fIstring\fR
1185 .RS 4
1186 Default:
1187 \fI"/dumps/amanda"\fR\&. The path to this holding area\&.
1188 .RE
1189 .PP
1190 \fBuse\fR \fIint\fR
1191 .RS 4
1192 Default:
1193 \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, Amanda will use all available space minus that value\&.
1194 .RE
1195 .PP
1196 \fBchunksize\fR \fIint\fR
1197 .RS 4
1198 Default:
1199 \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\&.
1200 .sp
1201 The default unit is Kbytes if it is not specified\&.
1202 .sp
1203 If 0 is specified, Amanda will create holding disk chunks as large as ((INT_MAX/1024)\-64) Kbytes\&.
1204 .sp
1205 Each holding disk chunk includes a 32 Kbyte header, so the minimum chunk size is 64 Kbytes (but that would be really silly)\&.
1206 .sp
1207 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 Amanda 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\&.
1208 .RE
1209 .SH "DUMPTYPE SECTION"
1210 .PP
1211 The
1212 \fBamanda.conf\fR(5)
1213 file may define multiple sets of backup options and refer to them by name from the
1214 \fBdisklist\fR(5)
1215 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\&.
1216 .PP
1217 A set of backup options are entered in a
1218 \fBdumptype\fR
1219 section, which looks like this:
1220 .nf
1221 define dumptype "\fIname\fR" {
1222     \fIdumptype\-option\fR \fIdumptype\-value\fR
1223     \&.\&.\&.
1224 }
1225 .fi
1226 .PP
1227 The { must appear at the end of a line, and the } on its own line\&.
1228 .PP
1229 \fIName\fR
1230 is the name of this set of backup options\&. It is referenced from the
1231 \fBdisklist\fR(5)
1232 file\&.
1233 .PP
1234 Some of the options in a
1235 \fBdumptype\fR
1236 section are the same as those in the main part of
1237 \fBamanda.conf\fR(5)\&. The main option value is used to set the default for all
1238 \fBdumptype\fR
1239 sections\&. For instance, setting
1240 \fBdumpcycle\fR
1241 to 50 in the main part of the config file causes all following
1242 \fBdumptype\fR
1243 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
1244 \fBdumptype\fRs are defined\&.
1245 .PP
1246 The dumptype options and values are:
1247 .PP
1248 \fBauth\fR \fIstring\fR
1249 .RS 4
1250 Default:
1251 \fI"bsdtcp"\fR\&. Type of authorization to perform between tape server and backup client hosts\&. See
1252 \fBamanda-auth\fR(7)
1253 for more detail\&.
1254 .RE
1255 .PP
1256 \fBamandad\-path\fR \fIstring\fR
1257 .RS 4
1258 Default:
1259 \fI"$libexec/amandad"\fR\&. Specify the amandad path of the client, only use with rsh/ssh authentification\&.
1260 .RE
1261 .PP
1262 \fBclient\-username\fR \fIstring\fR
1263 .RS 4
1264 Default:
1265 \fICLIENT_LOGIN\fR\&. Specify the username to connect on the client, only use with rsh/ssh authentification\&.
1266 .RE
1267 .PP
1268 \fBclient\-port\fR [ \fIint\fR | \fIstring\fR ]
1269 .RS 4
1270 Default:
1271 \fI"amanda"\fR\&. Specifies the port to connect to on the client\&. It can be a service name or a numeric port number\&.
1272 .RE
1273 .PP
1274 \fBbumpsize\fR \fIint\fR
1275 .RS 4
1276 Default:
1277 \fI10 Mbytes\fR\&. The minimum savings required to trigger an automatic bump from one incremental level to the next, expressed as size\&. If Amanda 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
1278 \fIbumppercent\fR
1279 is set to 0\&.
1280 .sp
1281 The default unit is Kbytes if it is not specified\&.
1282 .sp
1283 See also the options
1284 \fBbumppercent\fR,
1285 \fBbumpmult\fR
1286 and
1287 \fBbumpdays\fR\&.
1288 .RE
1289 .PP
1290 \fBbumppercent\fR \fIint\fR
1291 .RS 4
1292 Default:
1293 \fI0\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 Amanda determines that the next higher backup level will be this much smaller than the current level, it will do the next level\&.
1294 .sp
1295 If this parameter is set to 0, the value of the parameter
1296 \fIbumpsize\fR
1297 is used to trigger bumping\&.
1298 .sp
1299 See also the options
1300 \fBbumpsize\fR,
1301 \fBbumpmult\fR
1302 and
1303 \fBbumpdays\fR\&.
1304 .RE
1305 .PP
1306 \fBbumpmult\fR \fIfloat\fR
1307 .RS 4
1308 Default:
1309 \fI1\&.5\fR\&. The bump size multiplier\&. Amanda multiplies
1310 \fBbumpsize\fR
1311 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
1312 \fBbumpsize\fR
1313 and
1314 \fBbumpmult\fR
1315 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\&.
1316 .RE
1317 .PP
1318 \fBbumpdays\fR \fIint\fR
1319 .RS 4
1320 Default:
1321 \fI2 days\fR\&. To insure redundancy in the dumps, Amanda keeps filesystems at the same incremental level for at least
1322 \fBbumpdays\fR
1323 days, even if the other bump threshold criteria are met\&.
1324 .RE
1325 .PP
1326 \fBcomment\fR \fIstring\fR
1327 .RS 4
1328 Default: not set\&. A comment string describing this set of backup options\&.
1329 .RE
1330 .PP
1331 \fBcomprate\fR \fIfloat\fR [, \fIfloat\fR ]
1332 .RS 4
1333 Default:
1334 \fI0\&.50, 0\&.50\fR\&. The expected full and incremental compression factor for dumps\&. It is only used if Amanda 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\&.
1335 .RE
1336 .PP
1337 \fBcompress\fR [ \fBnone\fR | \fBclient\fR | \fBserver\fR ] [ \fBbest\fR | \fBfast\fR | \fBcustom\fR ]
1338 .RS 4
1339 Default:
1340 \fBclient fast\fR\&. If Amanda 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\&.
1341 .sp
1342 For either type of compression, Amanda also allows the selection of three styles of compression\&.
1343 \fBbest\fR
1344 is the best compression available, often at the expense of CPU overhead\&.
1345 \fBfast\fR
1346 is often not as good a compression as
1347 \fBbest\fR, but usually less CPU overhead\&. Or to specify
1348 \fBcustom\fR
1349 to use your own compression method\&. (See dumptype custom\-compress in example/amanda\&.conf for reference)
1350 .sp
1351 So the
1352 \fBcompress\fR
1353 options line may be one of:
1354 .PP
1355 compress none
1356 .RS 4
1357 .RE
1358 .PP
1359 compress client fast
1360 .RS 4
1361 .RE
1362 .PP
1363 compress client best
1364 .RS 4
1365 .RE
1366 .PP
1367 compress client custom
1368 .RS 4
1369 Specify
1370 \fBclient\-custom\-compress\fR
1371 "PROG"
1372 .sp
1373 PROG must not contain white space and it must accept \-d for uncompress\&.
1374 .RE
1375 .PP
1376 compress server fast
1377 .RS 4
1378 .RE
1379 .PP
1380 compress server best
1381 .RS 4
1382 .RE
1383 .PP
1384 compress server custom
1385 .RS 4
1386 Specify
1387 \fBserver\-custom\-compress\fR
1388 "PROG"
1389 .sp
1390 PROG must not contain white space and it must accept \-d for uncompress\&.
1391 .RE
1392 .sp
1393 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
1394 \fBmt\fR
1395 option), Amanda (software) compression should be disabled\&.
1396 .RE
1397 .PP
1398 \fBclient\-custom\-compress\fR \fIstring\fR
1399 .RS 4
1400 Default: none\&. The program to use to perform compression/decompression on the client; used with "compress client custom"\&. Must not contain whitespace\&. Must accept \-d to uncompress\&.
1401 .RE
1402 .PP
1403 \fBserver\-custom\-compress\fR \fIstring\fR
1404 .RS 4
1405 Default: none\&. The program to use to perform compression/decompression on the server; used with "compress server custom"\&. Must not contain whitespace\&. Must accept \-d to uncompress\&.
1406 .RE
1407 .PP
1408 \fBdumpcycle\fR \fIint\fR
1409 .RS 4
1410 Default:
1411 \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\&.
1412 .RE
1413 .PP
1414 \fBencrypt\fR [ \fBnone\fR | \fBclient\fR | \fBserver\fR ]
1415 .RS 4
1416 Default: not set\&. 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\&.
1417 .sp
1418 So the
1419 \fBencrypt\fR
1420 options line may be one of:
1421 .PP
1422 encrypt none
1423 .RS 4
1424 .RE
1425 .PP
1426 encrypt client
1427 .RS 4
1428 Specify client\-encrypt "PROG"
1429 .sp
1430 PROG must not contain white space\&.
1431 .sp
1432 Specify client\-decrypt\-option "decryption\-parameter" Default: "\-d"
1433 .sp
1434 decryption\-parameter must not contain white space\&.
1435 .sp
1436 (See dumptype client\-encrypt\-nocomp in example/amanda\&.conf for reference)
1437 .RE
1438 .PP
1439 encrypt server
1440 .RS 4
1441 Specify server\-encrypt "PROG"
1442 .sp
1443 PROG must not contain white space\&.
1444 .sp
1445 Specify server\-decrypt\-option "decryption\-parameter" Default: "\-d"
1446 .sp
1447 decryption\-parameter must not contain white space\&.
1448 .sp
1449 (See dumptype server\-encrypt\-fast in example/amanda\&.conf for reference)
1450 .RE
1451 .sp
1452 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\&.
1453 \fIamcrypt\fR
1454 which is a wrapper of
1455 \fIaespipe\fR
1456 is provided as a reference symmetric encryption program\&.
1457 .RE
1458 .PP
1459 \fBclient\-encrypt\fR \fIstring\fR
1460 .RS 4
1461 Default: none\&. The program to use to perform encryption/decryption on the client; used with "encrypt client"\&. Must not contain whitespace\&.
1462 .RE
1463 .PP
1464 \fBclient\-decrypt\-option\fR \fIstring\fR
1465 .RS 4
1466 Default: \-d\&. The option that can be passed to client\-encrypt to make it decrypt instead\&. Must not contain whitespace\&.
1467 .RE
1468 .PP
1469 \fBserver\-encrypt\fR \fIstring\fR
1470 .RS 4
1471 Default: none\&. The program to use to perform encryption/decryption on the server; used with "encrypt server"\&. Must not contain whitespace\&.
1472 .RE
1473 .PP
1474 \fBserver\-decrypt\-option\fR \fIstring\fR
1475 .RS 4
1476 Default: \-d\&. The option that can be passed to server\-encrypt to make it decrypt instead\&. Must not contain whitespace\&.
1477 .RE
1478 .PP
1479 \fBestimate\fR [ \fBclient\fR | \fBcalcsize\fR | \fBserver\fR ]+
1480 .RS 4
1481 Default:
1482 \fBclient\fR\&. Determine the way Amanda estimates the size of each DLE before beginning a backup\&. This is a list of acceptable estimate methods, and Amanda applies the first method supported by the application\&. The methods are:
1483 .PP
1484 client
1485 .RS 4
1486 Use the same program as the dumping program\&. This is the most accurate method to do estimates, but it can take a long time\&.
1487 .RE
1488 .PP
1489 calcsize
1490 .RS 4
1491 Use a faster program to do estimates, but the result is less accurate\&.
1492 .RE
1493 .PP
1494 server
1495 .RS 4
1496 Use only statistics from the previous few runs to give an estimate\&. This very quick, but the result is not accurate if your disk usage changes from day to day\&. If this method is specified, but the server does not have enough data to make an estimate, then the option is internally moved to the end of the list, thereby preferring \*(Aqclient\*(Aq or \*(Aqcalcsize\*(Aq in this case\&.
1497 .RE
1498 .RE
1499 .PP
1500 \fBexclude\fR [ \fBlist\fR | \fBfile\fR ][[\fBoptional\fR][\fBappend\fR][ \fIstring\fR ]+]
1501 .RS 4
1502 Default:
1503 \fBfile\fR\&. Exclude is the opposite of
1504 \fBinclude\fR
1505 and specifies files that will be excluded from the backup\&. The format of the exclude expressions depends on the application, and some applications do not support excluding files at all\&.
1506 .sp
1507 There are two exclude parameters,
1508 \fBexclude\fR
1509 \fBfile\fR
1510 and
1511 \fBexclude\fR
1512 \fBlist\&.\fR
1513 With
1514 \fBexclude\fR
1515 \fBfile\fR, the
1516 \fIstring\fR
1517 is an exclude expression\&. With
1518 \fBexclude\fR
1519 \fBlist\fR
1520 , the
1521 \fIstring\fR
1522 is a file name on the client containing
1523 \fBGNU\-tar\fR
1524 exclude expressions\&. The path to the specified exclude list file, if present (see description of \*(Aqoptional\*(Aq below), must be readable by the Amanda user\&.
1525 .sp
1526 All exclude expressions are concatenated in one file and passed to the application as an
1527 \fB\-\-exclude\-from\fR
1528 argument\&.
1529 .sp
1530 For
1531 \fBGNU\-tar\fR, exclude expressions must always be specified as relative to the top\-level directory of the DLE, and must start with "\&./"\&. See the manpages for individual applications for more information on supported exclude expressions\&.
1532 .sp
1533 With the
1534 \fBappend\fR
1535 keyword, the
1536 \fIstring\fR
1537 is appended to the current list, without it, the
1538 \fIstring\fR
1539 overwrites the list\&.
1540 .sp
1541 If
1542 \fBoptional\fR
1543 is specified for
1544 \fBexclude\fR
1545 \fBlist\fR, then amcheck will not complain if the file doesn\*(Aqt exist or is not readable\&.
1546 .sp
1547 For
1548 \fBexclude\fR
1549 \fBlist\fR, if the file name is relative, the disk name being backed up is prepended\&. So if this is entered:
1550 .nf
1551     exclude list "\&.amanda\&.excludes"
1552 .fi
1553 the actual file used would be
1554 /var/\&.amanda\&.excludes
1555 for a backup of
1556 /var,
1557 /usr/local/\&.amanda\&.excludes
1558 for a backup of
1559 /usr/local, and so on\&.
1560 .RE
1561 .PP
1562 \fBholdingdisk\fR [ \fBnever\fR | \fBauto\fR | \fBrequired\fR ]
1563 .RS 4
1564 Default:
1565 \fBauto\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 Amanda is backing up, that file system should refer to a dumptype with
1566 \fBholdingdisk\fR
1567 set to
1568 \fInever\fR
1569 to avoid backing up the holding disk into itself\&.
1570 .PP
1571 \fBnever\fR|no|false|off
1572 .RS 4
1573 Never use a holdingdisk, the dump will always go directly to tape\&. There will be no dump if you have a tape error\&.
1574 .RE
1575 .PP
1576 \fBauto\fR|yes|true|on
1577 .RS 4
1578 Use the holding disk, unless there is a problem with the holding disk, the dump won\*(Aqt fit there or the medium doesn\*(Aqt require spooling (e\&.g\&., VFS device)
1579 .RE
1580 .PP
1581 \fBrequired\fR
1582 .RS 4
1583 Always dump to holdingdisk, never directly to tape\&. There will be no dump if it doesn\*(Aqt fit on holdingdisk
1584 .RE
1585 .RE
1586 .PP
1587 \fBignore\fR \fIboolean\fR
1588 .RS 4
1589 Default:
1590 \fBno\fR\&. Whether disks associated with this backup type should be backed up or not\&. This option is useful when the
1591 \fIdisklist\fR
1592 file is shared among several configurations, some of which should not back up all the listed file systems\&.
1593 .RE
1594 .PP
1595 \fBinclude\fR [ \fBlist\fR | \fBfile\fR ][[\fBoptional\fR][\fBappend\fR][ \fIstring\fR ]+]
1596 .RS 4
1597 Default:
1598 \fBfile\fR
1599 "\&."\&. There are two include lists,
1600 \fBinclude file\fR
1601 and
1602 \fBinclude list\&.\fR
1603 With
1604 \fBinclude file\fR
1605 , the
1606 \fIstring\fR
1607 is a glob expression\&. With
1608 \fBinclude list\fR
1609 , the
1610 \fIstring\fR
1611 is a file name on the client containing glob expressions\&.
1612 .sp
1613 All include expressions are expanded by Amanda, concatenated in one file and passed to
1614 \fBGNU\-tar\fR
1615 as a
1616 \fB\-\-files\-from\fR
1617 argument\&. They must start with "\&./" and contain no other "/"\&.
1618 .sp
1619 Include expressions must always be specified as relative to the head directory of the DLE\&.
1620 .if n \{\
1621 .sp
1622 .\}
1623 .RS 4
1624 .it 1 an-trap
1625 .nr an-no-space-flag 1
1626 .nr an-break-flag 1
1627 .br
1628 .ps +1
1629 \fBNote\fR
1630 .ps -1
1631 .br
1632 For globbing to work at all, even the limited single level, the top level directory of the DLE must be readable by the Amanda user\&.
1633 .sp .5v
1634 .RE
1635 With the
1636 \fBappend\fR
1637 keyword, the
1638 \fIstring\fR
1639 is appended to the current list, without it, the
1640 \fIstring\fR
1641 overwrites the list\&.
1642 .sp
1643 If
1644 \fBoptional\fR
1645 is specified for
1646 \fBinclude list\fR, then amcheck will not complain if the file doesn\*(Aqt exist or is not readable\&.
1647 .sp
1648 For
1649 \fBinclude list\fR, If the file name is relative, the disk name being backed up is prepended\&.
1650 .RE
1651 .PP
1652 \fBindex\fR \fIboolean\fR
1653 .RS 4
1654 Default:
1655 \fBno\fR\&. Whether an index (catalogue) of the backup should be generated and saved in
1656 \fBindexdir\fR\&. These catalogues are used by the
1657 \fBamrecover\fR
1658 utility\&.
1659 .RE
1660 .PP
1661 \fBkencrypt\fR \fIboolean\fR
1662 .RS 4
1663 Default:
1664 \fBno\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\&.
1665 .RE
1666 .PP
1667 \fBmaxdumps\fR \fIint\fR
1668 .RS 4
1669 Default:
1670 \fI1\fR\&. The maximum number of backups from a single host that Amanda will attempt to run in parallel\&. See also the main section parameter
1671 \fBinparallel\fR\&.
1672 .RE
1673 .PP
1674 \fBmaxpromoteday\fR \fIint\fR
1675 .RS 4
1676 Default:
1677 \fI10000\fR\&. The maximum number of day for a promotion, set it 0 if you don\*(Aqt want promotion, set it to 1 or 2 if your disks get overpromoted\&.
1678 .RE
1679 .PP
1680 \fBmax\-warnings\fR \fIint\fR
1681 .RS 4
1682 Default:
1683 \fI20\fR\&. The maximum number of error lines in the report for a dle\&. A value of \*(Aq0\*(Aq means unlimited\&. This is useful to reduce the size of the log file and the size of the report\&. All errors are put in separate files if a dle have more errors\&.
1684 .RE
1685 .PP
1686 \fBpriority\fR [ \fBlow\fR | \fBmedium\fR | \fBhigh\fR ]
1687 .RS 4
1688 Default:
1689 \fBmedium\fR\&. When there is no tape to write to, Amanda 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\&.
1690 .RE
1691 .PP
1692 \fBprogram\fR [ \fB"DUMP"\fR | \fB"GNUTAR"\fR | \fB"APPLICATION"\fR ]
1693 .RS 4
1694 Default:
1695 \fI"DUMP"\fR\&. The type of backup to perform\&. Valid values are:
1696 .PP
1697 \fB"DUMP"\fR
1698 .RS 4
1699 The native operating system backup program\&.
1700 .RE
1701 .PP
1702 \fB"GNUTAR"\fR
1703 .RS 4
1704 To use GNU\-tar or to do PC backups using Samba\&.
1705 .RE
1706 .PP
1707 \fB"APPLICATION"\fR
1708 .RS 4
1709 To use an application, see the
1710 \fIapplication\fR
1711 option\&.
1712 .RE
1713 .RE
1714 .PP
1715 \fBapplication\fR \fIstring\fR
1716 .RS 4
1717 No default\&. Must be the name of an application if
1718 \fIprogram\fR
1719 is set to
1720 \fIAPPLICATION\fR\&. See APPLICATION SECTION below\&.
1721 .RE
1722 .PP
1723 \fBscript\fR \fIstring\fR
1724 .RS 4
1725 No default\&. Must be the name of a script\&. You can have many script\&. See SCRIPT SECTION below\&.
1726 .RE
1727 .PP
1728 \fBproperty\fR [\fBappend\fR] \fIstring\fR \fIstring\fR+
1729 .RS 4
1730 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\&.
1731 \fBappend\fR
1732 keyword append the values to the list of values for that property\&.
1733 .RE
1734 .PP
1735 \fBrecord\fR \fIboolean\fR
1736 .RS 4
1737 Default:
1738 \fIyes\fR\&. Whether to ask the backup program to update its database (e\&.g\&.
1739 /var/lib/dumpdates
1740 for DUMP or
1741 /usr/local/var/amanda/gnutar\-lists
1742 for GNUTAR) of time stamps\&. This is normally enabled for daily backups and turned off for periodic archival runs\&.
1743 .RE
1744 .PP
1745 \fBskip\-full\fR \fIboolean\fR
1746 .RS 4
1747 Default:
1748 \fBno\fR\&. If
1749 \fBtrue\fR
1750 and
1751 \fBplanner\fR
1752 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 Amanda only schedules level 1 incrementals in this configuration; this is probably a bug\&.
1753 .RE
1754 .PP
1755 \fBskip\-incr\fR \fIboolean\fR
1756 .RS 4
1757 Default:
1758 \fBno\fR\&. If
1759 \fBtrue\fR
1760 and
1761 \fBplanner\fR
1762 has scheduled an incremental backup, these disks will be skipped\&.
1763 .RE
1764 .PP
1765 \fBssh\-keys\fR \fIstring\fR
1766 .RS 4
1767 Default: not set\&. 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\&.
1768 .RE
1769 .PP
1770 \fBstarttime\fR \fIint\fR
1771 .RS 4
1772 Default: not set\&. Backup of these disks 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
1773 1830\&.
1774 .RE
1775 .PP
1776 \fBstrategy\fR [ \fBstandard\fR | \fBnofull\fR | \fBnoinc\fR | \fBskip\fR | \fBincronly\fR ]
1777 .RS 4
1778 Default:
1779 \fBstandard\fR\&. Strategy to use when planning what level of backup to run next\&. Values are:
1780 .PP
1781 \fBstandard\fR
1782 .RS 4
1783 The standard Amanda schedule\&.
1784 .RE
1785 .PP
1786 \fBnofull\fR
1787 .RS 4
1788 Never do full backups, only level 1 incrementals\&.
1789 .RE
1790 .PP
1791 \fBnoinc\fR
1792 .RS 4
1793 Never do incremental backups, only full dumps\&.
1794 .RE
1795 .PP
1796 \fBskip\fR
1797 .RS 4
1798 Treat this DLE as if it doesn\*(Aqt exist (useful to disable DLEs when sharing the
1799 \fIdisklist\fR
1800 file between multiple configurations)\&. Skipped DLEs will not be checked or dumped, and will not be matched by disklist expressions\&.
1801 .RE
1802 .PP
1803 \fBincronly\fR
1804 .RS 4
1805 Only do incremental dumps\&.
1806 \fBamadmin force\fR
1807 should be used to tell Amanda that a full dump has been performed off\-line, so that it resets to level 1\&.
1808 .RE
1809 .RE
1810 .PP
1811 \fBallow\-split\fR \fIbool\fR
1812 .RS 4
1813 Default: true\&. If true, then dumps with this dumptype can be split on the storage media\&. If false, then the dump will be written in a single file on the media\&. See "Dump Splitting Configuration" below\&.
1814 .RE
1815 .PP
1816 \fBtape\-splitsize\fR \fIint\fR
1817 .RS 4
1818 Deprecated\&. See "Dump Splitting Configuration" below\&.
1819 .sp
1820 Default: not set\&. Split dump file on tape into pieces of a specified size\&. The default unit is Kbytes if it is not specified\&.
1821 .RE
1822 .PP
1823 \fBsplit\-diskbuffer\fR \fIstring\fR
1824 .RS 4
1825 .PP
1826 Deprecated\&. See "Dump Splitting Configuration" below\&.
1827 Default: not set\&. 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\&.
1828 .RE
1829 .PP
1830 \fBfallback\-splitsize\fR \fIint\fR
1831 .RS 4
1832 Deprecated\&. See "Dump Splitting Configuration" below\&.
1833 .sp
1834 Default:
1835 \fI10M\fR\&. This specifies the part size used when no
1836 \fBsplit\-diskbuffer\fR
1837 is specified, or when it is too small or does not exist, and thus the maximum amount of memory consumed for in\-memory splitting\&. The default unit is Kbytes if it is not specified\&.
1838 .RE
1839 .PP
1840 \fBrecovery\-limit\fR [ \fBserver\fR | \fBsame\-host\fR | \fIstring\fR ]*
1841 .RS 4
1842 Default: global value\&. This parameter overrides the global
1843 \fBrecovery\-limit\fR
1844 parameter for DLEs of this dumptype\&.
1845 .RE
1846 .PP
1847 \fBdump\-limit\fR [ \fBserver\fR | \fBsame\-host\fR ]*
1848 .RS 4
1849 Default:
1850 \fBserver\fR\&. Specify which host can initiate a backup of the dle\&. With
1851 \fBserver\fR, the server can initiate a backup with the
1852 \fBamdump\fR
1853 command\&. With
1854 \fBsame\-host\fR, the client can initiate a backup with the
1855 \fBamdump_client\fR
1856 command\&.
1857 .RE
1858 .PP
1859 The following
1860 \fBdumptype\fR
1861 entries are predefined by Amanda:
1862 .nf
1863 define dumptype "no\-compress" {
1864     compress none
1865 }
1866 define dumptype "compress\-fast" {
1867     compress client fast
1868 }
1869 define dumptype "compress\-best" {
1870     compress client best
1871 }
1872 define dumptype "srvcompress" {
1873     compress server fast
1874 }
1875 define dumptype "bsd\-auth" {
1876     auth "bsd"
1877 }
1878 define dumptype "bsdtcp\-auth" {
1879     auth "bsdtcp"
1880 }
1881 define dumptype "no\-record" {
1882     record no
1883 }
1884 define dumptype "no\-hold" {
1885     holdingdisk no
1886 }
1887 define dumptype "no\-full" {
1888     skip\-full yes
1889
1890 .fi
1891 .PP
1892 In addition to options in a
1893 \fBdumptype\fR
1894 section, one or more other
1895 \fBdumptype\fR
1896 names may be supplied as identifiers, which make this
1897 \fBdumptype\fR
1898 inherit options from other previously defined
1899 \fBdumptype\fRs\&. For instance, two sections might be the same except for the
1900 \fBrecord\fR
1901 option:
1902 .nf
1903 define dumptype "normal" {
1904     comment "Normal backup, no compression, do indexing"
1905     no\-compress
1906     index yes
1907     maxdumps 2
1908 }
1909 define dumptype "testing" {
1910     comment "Test backup, no compression, do indexing, no recording"
1911     "normal"
1912     record no
1913 }
1914 .fi
1915 .PP
1916 Amanda provides a
1917 \fBdumptype\fR
1918 named
1919 \fIglobal\fR
1920 in the sample
1921 \fBamanda\&.conf\fR
1922 file that all
1923 \fBdumptype\fRs should reference\&. This provides an easy place to make changes that will affect every
1924 \fBdumptype\fR, although you must be careful that every dumptype explicitly inherits from the
1925 \fIglobal\fR
1926 dumptype \- Amanda does not do so automatically\&.
1927 .SH "TAPETYPE SECTION"
1928 .PP
1929 The
1930 \fBamanda\&.conf\fR
1931 file may define multiple types of tape media and devices\&. The information is entered in a
1932 \fBtapetype\fR
1933 section, which looks like this in the config file:
1934 .nf
1935 define tapetype "\fIname\fR" {
1936     \fItapetype\-option\fR \fItapetype\-value\fR
1937     \&.\&.\&.
1938 }
1939 .fi
1940 .PP
1941 The { must appear at the end of a line, and the } on its own line\&.
1942 .PP
1943 \fIName\fR
1944 is the name of this type of tape medium/device\&. It is referenced from the
1945 \fBtapetype\fR
1946 option in the main part of the config file\&.
1947 .PP
1948 The tapetype options and values are:
1949 .PP
1950 \fBcomment\fR \fIstring\fR
1951 .RS 4
1952 Default: not set\&. A comment string describing this set of tape information\&.
1953 .RE
1954 .PP
1955 \fBfilemark\fR \fIint\fR
1956 .RS 4
1957 Default:
1958 \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\&.
1959 .RE
1960 .PP
1961 \fBlength\fR \fIint\fR
1962 .RS 4
1963 Default:
1964 \fI2000 kbytes\fR\&. How much data will fit on a tape, expressed in kbytes\&.
1965 .sp
1966 Note that this value is only used by Amanda to schedule which backups will be run\&. Once the backups start, Amanda will continue to write to a tape until it gets an error, regardless of what value is entered for
1967 \fBlength\fR
1968 (but see
1969 \fBamanda-devices\fR(7)
1970 for exceptions)\&.
1971 .RE
1972 .PP
1973 \fBblocksize\fR \fIint\fR
1974 .RS 4
1975 Default:
1976 \fI32 kbytes\fR\&. How much data will be written in each tape record, expressed in kbytes\&. This is similar to the
1977 \fIBLOCK_SIZE\fR
1978 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\&.
1979 .RE
1980 .PP
1981 \fBreadblocksize\fR \fIint\fR
1982 .RS 4
1983 Default:
1984 \fI32 kytes\fR
1985 How much data will be read in each tape record\&. This can be used to override a device\*(Aqs 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\&.
1986 .sp
1987 The default unit is Kbytes if it is not specified\&.
1988 .RE
1989 .PP
1990 \fBpart\-size\fR \fIint\fR
1991 .RS 4
1992 If this is set to zero (default), then no splitting will take place, and the entire dump will fail, if end\-of\-medium is encountered before the dump is complete, unless the device property LEOM is true, and the device can detect EOM\&. See "Dump Splitting Configuration" below\&.
1993 .RE
1994 .PP
1995 \fBpart\-cache\-type\fR [ \fBnone\fR | \fBdisk\fR | \fBmemory\fR ]
1996 .RS 4
1997 Default: none\&. When part caching is required, this parameter specifies the type of caching that will be used\&. The options include no caching (\fBnone\fR), in which case a failed part will cause the entire dump to fail; on\-disk caching (\fBdisk\fR), for which
1998 \fBpart\-cache\-dir\fR
1999 must be set properly; and in\-memory caching (\fBmemory\fR), which on most systems severely restrains the size of the part that can be written\&. See "Dump Splitting Configuration" below\&.
2000 .RE
2001 .PP
2002 \fBpart\-cache\-dir\fR \fIstring\fR
2003 .RS 4
2004 Default: none\&. The directory in which part\-cache files can be written when caching on disk\&. See "Dump Splitting Configuration" below\&.
2005 .RE
2006 .PP
2007 \fBpart\-cache\-max\-size\fR \fIint\fR
2008 .RS 4
2009 Default: none\&. The maximum part size to use when caching is in effect\&. This is used to limit the part size when disk or memory space for caching is constrained\&. This value must be greater than zero\&.
2010 .RE
2011 .PP
2012 \fBspeed\fR \fIint\fR
2013 .RS 4
2014 Default:
2015 \fI200 bps\fR\&. How fast the drive will accept data, in bytes per second\&. This parameter is NOT currently used by Amanda\&.
2016 .RE
2017 .PP
2018 \fBlbl\-templ\fR \fIstring\fR
2019 .RS 4
2020 Default: not set\&. A PostScript template file used by
2021 \fBamreport\fR
2022 to generate labels\&. Several sample files are provided with the Amanda sources in the
2023 \fIexample\fR
2024 directory\&. See the
2025 \fBamreport\fR(8)
2026 man page for more information\&.
2027 .RE
2028 .PP
2029 In addition to options, another
2030 \fBtapetype\fR
2031 name may be supplied as an identifier, which makes this
2032 \fBtapetype\fR
2033 inherit options from another
2034 \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:
2035 .nf
2036 define tapetype "DLT4000\-III" {
2037     comment "DLT4000 tape drives with Compact\-III tapes"
2038     length 12500 mbytes         # 10 Gig tapes with some compression
2039     filemark 2000 kbytes
2040     speed 1536 kps
2041 }
2042 define tapetype "DLT4000\-IV" {
2043     "DLT4000\-III"
2044     comment "DLT4000 tape drives with Compact\-IV tapes"
2045     length 25000 mbytes         # 20 Gig tapes with some compression
2046 }
2047 .fi
2048 .SH "INTERFACE SECTION"
2049 .PP
2050 The
2051 \fBamanda\&.conf\fR
2052 file may define multiple types of network interfaces\&. The information is entered in an
2053 \fBinterface\fR
2054 section, which looks like this:
2055 .nf
2056 define interface "\fIname\fR" {
2057     \fIinterface\-option\fR \fIinterface\-value\fR
2058     \&.\&.\&.
2059 }
2060 .fi
2061 .PP
2062 The { must appear at the end of a line, and the } on its own line\&.
2063 .PP
2064 \fIname\fR
2065 is the name of this type of network interface\&. It is referenced from the
2066 \fIdisklist\fR
2067 file\&.
2068 .PP
2069 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 Amanda\&. Amanda 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, Amanda will use as much of the network as it can leaving throttling up to the operating system and network hardware\&.
2070 .PP
2071 The interface options and values are:
2072 .PP
2073 \fBcomment\fR \fIstring\fR
2074 .RS 4
2075 Default: not set\&. A comment string describing this set of network information\&.
2076 .RE
2077 .PP
2078 \fBuse\fR \fIint\fR
2079 .RS 4
2080 Default:
2081 \fI80000 Kbps\fR\&. The speed of the interface in Kbytes per second\&.
2082 .RE
2083 .PP
2084 In addition to options, another
2085 \fBinterface\fR
2086 name may be supplied as an identifier, which makes this
2087 \fBinterface\fR
2088 inherit options from another
2089 \fBinterface\fR\&. At the moment, this is of little use\&.
2090 .SH "APPLICATION SECTION"
2091 .PP
2092 The
2093 \fBamanda\&.conf\fR
2094 file may define multiple types of application\&. The information is entered in a
2095 \fBapplication\fR
2096 section, which looks like this:
2097 .nf
2098 define application "\fIname\fR" {
2099     \fIapplication\-option\fR \fIapplication\-value\fR
2100     \&.\&.\&.
2101 }
2102 .fi
2103 .PP
2104 The { must appear at the end of a line, and the } on its own line\&.
2105 .PP
2106 \fIname\fR
2107 is the name of this type of application\&. It is referenced from the
2108 \fIdumptype\fR
2109 .PP
2110 The application options and values are:
2111 .PP
2112 \fBclient\-name\fR \fIstring\fR
2113 .RS 4
2114 No default, specifies an application name that is in the amanda\-client\&.conf on the client\&. The setting from that application will be merged with the current application\&. If
2115 \fBclient\-name\fR
2116 is set then it is an error if that application is not defined on the client\&.
2117 .sp
2118 If
2119 \fBclient\-name\fR
2120 is not set then the merge is done with the application that have the name equal to the plugin\&. eg\&. if the plugin is \*(Aqamgtar\*(Aq, then the setting from the application \*(Aqamgtar\*(Aq is used if it is defined\&.
2121 .RE
2122 .PP
2123 \fBcomment\fR \fIstring\fR
2124 .RS 4
2125 Default: not set\&. A comment string describing this application\&.
2126 .RE
2127 .PP
2128 \fBplugin\fR \fIstring\fR
2129 .RS 4
2130 No default\&. Must be set to the name of the program\&. This program must be in the
2131 \fI$libexecdir/amanda/application\fR
2132 directory on the client\&.
2133 .RE
2134 .PP
2135 \fBproperty\fR [\fBappend\fR] [\fBpriority\fR] \fIstring\fR \fIstring\fR+
2136 .RS 4
2137 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\&.
2138 \fBappend\fR
2139 keyword append the values to the list of values for that property\&.
2140 \fBpriority\fR
2141 keyword disallow the setting of that property on the client\&.
2142 .RE
2143 .SH "SCRIPT SECTION"
2144 .PP
2145 The
2146 \fBamanda\&.conf\fR
2147 file may define multiple types of script\&. The information is entered in a
2148 \fBscript\fR
2149 section, which looks like this:
2150 .nf
2151 define script "\fIname\fR" {
2152     \fIscript\-option\fR \fIscript\-value\fR
2153     \&.\&.\&.
2154 }
2155 .fi
2156 .PP
2157 The { must appear at the end of a line, and the } on its own line\&.
2158 .PP
2159 \fIname\fR
2160 is the name of this type of script\&. It is referenced from the
2161 \fIdumptype\fR
2162 .PP
2163 The script options and values are:
2164 .PP
2165 \fBclient\-name\fR \fIstring\fR
2166 .RS 4
2167 No default, specifies a script name that is in the amanda\-client\&.conf on the client\&. The setting from that script will be merged with the currect script\&. If
2168 \fBclient\-name\fR
2169 is set then it is an error if that script is not defined on the client\&.
2170 .sp
2171 If
2172 \fBclient\-name\fR
2173 is not set then the merge is done with the script that have the name equal to the plugin\&. eg\&. if the plugin is \*(Aqamlog\-script\*(Aq, then the setting from the script \*(Aqamlog\-script\*(Aq is used\&.
2174 .RE
2175 .PP
2176 \fBcomment\fR \fIstring\fR
2177 .RS 4
2178 Default: not set\&. A comment string describing this script\&.
2179 .RE
2180 .PP
2181 \fBplugin\fR \fIstring\fR
2182 .RS 4
2183 No default\&. Must be set to the name of the program\&. This program must be in the
2184 \fI$libexecdir/amanda/application\fR
2185 directory on the client and/or server\&.
2186 .RE
2187 .PP
2188 \fBorder\fR \fIint\fR
2189 .RS 4
2190 Default:
2191 \fI5000\fR\&. Scripts are executed in that order, it is useful if you have many scripts and they must be executed in a spefific order\&.
2192 .RE
2193 .PP
2194 \fBsingle\-execution\fR \fIboolean\fR
2195 .RS 4
2196 Default:
2197 \fIno\fR\&. The script is executed for each dle\&. If
2198 \fIyes\fR, the script is executed one time only\&.
2199 .RE
2200 .PP
2201 \fBexecute\-where\fR [ \fBclient\fR | \fBserver\fR ]
2202 .RS 4
2203 Default:
2204 \fBclient\fR\&. Where the script must be executed, on the client or server\&.
2205 .RE
2206 .PP
2207 \fBexecute\-on\fR \fIexecute_on\fR [,\fIexecute_on\fR]*
2208 .RS 4
2209 No default\&. When the script must be executed, you can specify many of them:
2210 .PP
2211 \fBpre\-amcheck\fR
2212 .RS 4
2213 Execute before the amcheck command for all dle\&. Can only be run on server\&.
2214 .RE
2215 .PP
2216 \fBpre\-dle\-amcheck\fR
2217 .RS 4
2218 Execute before the amcheck command for the dle\&.
2219 .RE
2220 .PP
2221 \fBpre\-host\-amcheck\fR
2222 .RS 4
2223 Execute before the amcheck command for all dle for the client\&.
2224 .RE
2225 .PP
2226 \fBpost\-amcheck\fR
2227 .RS 4
2228 Execute after the amcheck command for all dle\&. Can only be run on server\&.
2229 .RE
2230 .PP
2231 \fBpost\-dle\-amcheck\fR
2232 .RS 4
2233 Execute after the amcheck command for the dle\&.
2234 .RE
2235 .PP
2236 \fBpost\-host\-amcheck\fR
2237 .RS 4
2238 Execute after the amcheck command for all dle for the client\&.
2239 .RE
2240 .PP
2241 \fBpre\-estimate\fR
2242 .RS 4
2243 Execute before the estimate command for all dle\&. Can only be run on server\&.
2244 .RE
2245 .PP
2246 \fBpre\-dle\-estimate\fR
2247 .RS 4
2248 Execute before the estimate command for the dle\&.
2249 .RE
2250 .PP
2251 \fBpre\-host\-estimate\fR
2252 .RS 4
2253 Execute before the estimate command for all dle for the client\&.
2254 .RE
2255 .PP
2256 \fBpost\-estimate\fR
2257 .RS 4
2258 Execute after the estimate command for all dle\&. Can only be run on server\&.
2259 .RE
2260 .PP
2261 \fBpost\-dle\-estimate\fR
2262 .RS 4
2263 Execute after the estimate command for the dle\&.
2264 .RE
2265 .PP
2266 \fBpost\-host\-estimate\fR
2267 .RS 4
2268 Execute after the estimate command for all dle for the client\&.
2269 .RE
2270 .PP
2271 \fBpre\-backup\fR
2272 .RS 4
2273 Execute before the backup command for all dle\&. Can only be run on server\&.
2274 .RE
2275 .PP
2276 \fBpre\-dle\-backup\fR
2277 .RS 4
2278 Execute before the backup command for the dle\&.
2279 .RE
2280 .PP
2281 \fBpre\-host\-backup\fR
2282 .RS 4
2283 Execute before the backup command for all dle for the client\&. It can\*(Aqt be run on client, it must be run on server
2284 .RE
2285 .PP
2286 \fBpost\-backup\fR
2287 .RS 4
2288 Execute after the backup command for all dle\&. Can only be run on server\&.
2289 .RE
2290 .PP
2291 \fBpost\-dle\-backup\fR
2292 .RS 4
2293 Execute after the backup command for the dle\&.
2294 .RE
2295 .PP
2296 \fBpost\-host\-backup\fR
2297 .RS 4
2298 Execute after the backup command for all dle for the client\&. It can\*(Aqt be run on client, it must be run on server
2299 .RE
2300 .PP
2301 \fBpre\-recover\fR
2302 .RS 4
2303 Execute before any level is recovered\&.
2304 .RE
2305 .PP
2306 \fBpost\-recover\fR
2307 .RS 4
2308 Execute after all levels are recovered\&.
2309 .RE
2310 .PP
2311 \fBpre\-level\-recover\fR
2312 .RS 4
2313 Execute before each level recovery\&.
2314 .RE
2315 .PP
2316 \fBpost\-level\-recover\fR
2317 .RS 4
2318 Execute after each level recovery\&.
2319 .RE
2320 .PP
2321 \fBinter\-level\-recover\fR
2322 .RS 4
2323 Execute between two levels of recovery\&.
2324 .RE
2325 .sp
2326 If you recover level 0 and 2 of the disk /usr with amrecover, it will execute:
2327 .nf
2328 script \-\-pre\-recover
2329 script \-\-pre\-level\-recover \-\-level 0
2330 #recovering level 0
2331 script \-\-post\-level\-recover \-\-level 0
2332 script \-\-inter\-level\-recover \-\-level 0 \-\-level 2
2333 script \-\-pre\-level\-recover \-\-level 2
2334 #recovering level 2
2335 script \-\-post\-level\-recover \-\-level 2
2336 script \-\-post\-recover
2337 .fi
2338 .RE
2339 .PP
2340 \fBproperty\fR [\fBappend\fR] [\fBpriority\fR] \fIstring\fR \fIstring\fR+
2341 .RS 4
2342 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\&.
2343 \fBappend\fR
2344 keyword append the values to the list of values for that property\&.
2345 \fBpriority\fR
2346 keyword disallow the setting of that property on the client\&.
2347 .RE
2348 .SH "DEVICE SECTION"
2349 .PP
2350 Backend storage devices are specified in
2351 \fBamanda\&.conf\fR
2352 in the form of "device" sections, which look like this:
2353 .nf
2354 define device \fIname\fR {
2355     commend "\fIcomment (optional)\fR"
2356     tapedev "\fIdevice\-specifier\fR"
2357     device\-property "\fIprop\-name\fR" "\fIprop\-value\fR"
2358     \&.\&.\&.
2359 }
2360 .fi
2361 .PP
2362 The { must appear at the end of a line, and the } on its own line\&.
2363 .PP
2364 \fIname\fR
2365 is the user\-specified name of this device\&. It is referenced from the global
2366 \fItapedev\fR
2367 parameter\&. The
2368 \fIdevice\-specifier\fR
2369 specifies the device name to use; see
2370 \fBamanda-devices\fR(7)\&. As with most sections, the
2371 \fIcomment\fR
2372 parmeter is optional and only for the user\*(Aqs convenience\&.
2373 .PP
2374 An arbitrary number of
2375 \fIdevice\-property\fR
2376 parameters can be specified\&. Again, see
2377 \fBamanda-devices\fR(7)
2378 for information on device properties\&.
2379 .SH "CHANGER SECTION"
2380 .PP
2381 Changers are described in
2382 \fBamanda\&.conf\fR
2383 in the form of "changer" sections, which look like this:
2384 .nf
2385 define changer \fIname\fR {
2386     comment "\fIcomment (optional)\fR"
2387     tpchanger "\fIchanger\-spec\fR"
2388     changerdev "\fIdevice\-name\fR"
2389     changerfile "\fIstate\-file\fR"
2390     \&.\&.\&.
2391 }
2392 .fi
2393 .PP
2394 The { must appear at the end of a line, and the } on its own line\&.
2395 .PP
2396 \fIname\fR
2397 is the user\-specified name of this device\&. The remaining parameters are specific to the changer type selected\&.
2398 .PP
2399 See
2400 \fBamanda-changers\fR(7)
2401 for more information on configuring changers\&.
2402 .SH "INTERACTIVITY SECTION"
2403 .PP
2404 The
2405 \fBamanda\&.conf\fR
2406 file may define multiple interactivyt methods, although only one will be used \- that specified by the
2407 \fBinteractivity\fR
2408 parameter\&. The information is entered in a
2409 \fBinteractivity\fR
2410 section, which looks like this:
2411 .nf
2412 define interactivity \fIname\fR {
2413     \fIinteractivity\-option\fR \fIinteractivity\-value\fR
2414     \&.\&.\&.
2415 }
2416 .fi
2417 .PP
2418 The { must appear at the end of a line, and the } on its own line\&.
2419 .PP
2420 \fIname\fR
2421 is the user\-specified name of this interactivity\&. The remaining parameters are specific to the interactivity type selected\&.
2422 .PP
2423 The interactivity options and values are:
2424 .PP
2425 \fBcomment\fR \fIstring\fR
2426 .RS 4
2427 Default: not set\&. A comment string describing this interactivity\&.
2428 .RE
2429 .PP
2430 \fBplugin\fR \fIstring\fR
2431 .RS 4
2432 No default\&. Must be set to the name of the interactivity module, as described in
2433 \fBamanda-interactivity\fR(7)\&.
2434 .RE
2435 .PP
2436 \fBproperty\fR [\fBappend\fR] \fIstring\fR \fIstring\fR+
2437 .RS 4
2438 No default\&. You can set arbitrary properties for the interactivity\&. Each interactivity module has a different set of properties\&. The first string contains the name of the property to set, and the others contains its values\&. All strings should be quoted\&. The
2439 \fBappend\fR
2440 keyword appends the given values to an existing list of values for that property\&.
2441 .RE
2442 .PP
2443 See
2444 \fBamanda-interactivity\fR(7)
2445 for more information on configuring interactivity methods\&.
2446 .SH "TAPERSCAN SECTION"
2447 .PP
2448 The
2449 \fBamanda\&.conf\fR
2450 file may define multiple taperscan methods, although only one will be used \- that specified by the
2451 \fBtaperscan\fR
2452 parameter\&. The information is entered in a
2453 \fBtaperscan\fR
2454 section, which looks like this:
2455 .nf
2456 define taperscan \fIname\fR {
2457     \fItaperscan\-option\fR \fItaperscan\-value\fR
2458     \&.\&.\&.
2459 }
2460 .fi
2461 .PP
2462 The { must appear at the end of a line, and the } on its own line\&.
2463 .PP
2464 \fIname\fR
2465 is the user\-specified name of this taperscan\&. The remaining parameters are specific to the taperscan type selected\&.
2466 .PP
2467 The taperscan options and values are:
2468 .PP
2469 \fBcomment\fR \fIstring\fR
2470 .RS 4
2471 Default: not set\&. A comment string describing this taperscan\&.
2472 .RE
2473 .PP
2474 \fBplugin\fR \fIstring\fR
2475 .RS 4
2476 No default\&. Must be set to the name of the taperscan module\&. See
2477 \fBamanda-taperscan\fR(7)
2478 for a list of defined taperscan modules\&.
2479 .RE
2480 .PP
2481 \fBproperty\fR [\fBappend\fR] \fIstring\fR \fIstring\fR+
2482 .RS 4
2483 No default\&. Operates just like properties for interactivity methods, above\&.
2484 .RE
2485 .PP
2486 See
2487 \fBamanda-taperscan\fR(7)
2488 for more information on configuring taperscan\&.
2489 .SH "DUMP SPLITTING CONFIGURATION"
2490 .PP
2491 Amanda can "split" dumps into parts while writing them to storage media\&. This allows Amanda to recover gracefully from a failure while writing a part to a volume, by simply selecting a new volume and re\-writing the dump from the beginning of the failed part\&. Parts also allow Amanda to seek directly to the required data, although this functionality is not yet used\&.
2492 .PP
2493 In order to support re\-writing from the beginning of a failed part, Amanda must have access to the contents of the part after it has been partially written\&. If the dump is being read from holding disk, then the part contents are availble there\&. Otherwise, the part must be cached, and this can be done memory or on disk\&. In either of the latter cases, the cache must have enough space to hold an entire part\&.
2494 .PP
2495 Because it is common for a single Amanda configuration to use both holding\-disk (FILE\-WRITE) and direct (known as PORT\-WRITE) dumps, Amanda allows the configuration of different split sizes for the two cases\&. This allows, for example, for a part size appropriate to large tapes when performing FILE\-WRITE dumps, with a part size limited by available disk or memory when performing PORT\-WRITE dumps\&.
2496 .PP
2497 Selecting a proper split size is a delicate matter\&. If the parts are too large, substantial storage space may be wasted in failed parts\&. If too small, large dumps will be split into innumerable tiny dumpfiles, adding to restoration complexity; furthermore, an excess of filemarks will cause slower tape drive operation and reduce the usable space on tape\&. A good rule of thumb is 1/10 of the size of a volume of storage media\&.
2498 .PP
2499 In versions of Amanda through 3\&.1\&.*, splitting was controlled by the dumptype parameters
2500 \fBtape\-splitsize\fR,
2501 \fBsplit\-diskbuffer\fR, and
2502 \fBfallback\-splitsize\fR\&. These keywords had confusing and non\-intuitive interactions, and have since been deprecated\&.
2503 .PP
2504 If the deprecated keywords are not present, subsequent versions of Amanda use the dumptype parameter
2505 \fBallow\-split\fR
2506 to control whether a DLE can be split, and the
2507 \fItapetype\fR
2508 parameters
2509 \fBpart\-size\fR,
2510 \fBpart\-cache\-type\fR,
2511 \fBpart\-cache\-dir\fR, and
2512 \fBpart\-cache\-max\-size\fR\&. The
2513 \fBpart\-size\fR
2514 specifies the "normal" part size, while the
2515 \fBpart\-cache\-*\fR
2516 parameters describe how to behave when caching is required (on PORT\-WRITE)\&. Full details on these parameters are given above\&.
2517 .SH "SEE ALSO"
2518 .PP
2519 \fBamanda\fR(8),
2520 \fBamanda-client.conf\fR(5),
2521 \fBamanda-applications\fR(7),
2522 \fBamanda-auth\fR(7),
2523 \fBamanda-changers\fR(7),
2524 \fBamanda-devices\fR(7),
2525 \fBamanda-interactivity\fR(7),
2526 \fBamanda-scripts\fR(7),
2527 \fBamanda-taperscan\fR(7)
2528 .PP
2529 The Amanda Wiki:
2530 : http://wiki.zmanda.com/
2531 .SH "AUTHORS"
2532 .PP
2533 \fBJames da Silva\fR <\&jds@amanda\&.org\&>
2534 .PP
2535 \fBStefan G\&. Weichinger\fR <\&sgw@amanda\&.org\&>