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