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