Merge commit 'upstream/3.1.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/01/2010
6 .\"    Manual: File formats and conventions
7 .\"    Source: Amanda 3.1.0
8 .\"  Language: English
9 .\"
10 .TH "AMANDA\&.CONF" "5" "06/01/2010" "Amanda 3\&.1\&.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\&.
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 noincr         # 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\&. Typically tapes are used by Amanda in an ordered rotation\&. The
326 \fBtapecycle\fR
327 parameter defines the size of that rotation\&. This parameter must be be larger than the number of tapes used in a dumpcycle\&.
328 .sp
329 The number of tapes per dumpcycle is calculated by multiplying the number of
330 \fBamdump\fR
331 runs per dump cycle
332 \fBrunspercycle\fR
333 (the number of
334 \fBamdump\fR
335 runs per dump cycle) and
336 \fBruntapes\fR
337 (the number of tapes used per run)\&. Typically
338 \fBtapecycle\fR
339 is set to two or four times the tapes per dumpcycle\&.
340 .if n \{\
341 .sp
342 .\}
343 .RS 4
344 .it 1 an-trap
345 .nr an-no-space-flag 1
346 .nr an-break-flag 1
347 .br
348 .ps +1
349 \fBNote\fR
350 .ps -1
351 .br
352 Amanda is commonly misconfigured with \fBtapecycle\fR
353 equal to the number of tapes per \fBdumpcycle\fR\&.  In this
354 misconfiguration, amanda may erase a full dump before a new one is completed,
355 the recovery is then impossible\&. tapecycle must be at least one tape larger
356 than the number of tapes per dumpcycle\&.
357 .sp .5v
358 .RE
359 While Amanda is always willing to use a new tape in its rotation, it refuses to reuse a tape until at least \'\fBtapecycle\fR
360 \-1\' number of other tapes have been used\&.
361 .sp
362 It is considered good administrative practice to set the
363 \fBtapecycle\fR
364 parameter slightly lower than the actual number of tapes in rotation\&. This allows the administrator to more easily cope with damaged or misplaced tapes or schedule adjustments that call for slight adjustments in the rotation order\&.
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\'t 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\&.
378 .sp
379 Default: not set\&. When set, this directive will cause Amanda to automatically write an Amanda tape label to any blank tape she encounters\&. This option is DANGEROUS because when set, Amanda will ERASE any non\-Amanda tapes you may have, and may also ERASE any near\-failing tapes\&. Use with caution\&.
380 .sp
381 When using this directive, specify the template for new tape labels\&. The template should contain some number of contiguous \'%\' characters, which will be replaced with a generated number\&. Be sure to specify enough \'%\' characters that you do not run out of tape labels\&. Example:
382 \fBlabel_new_tapes "DailySet1\-%%%"\fR
383 .RE
384 .PP
385 \fBautolabel\fR \fIstring\fR [\fBany\fR] [\fBother_config\fR] [\fBnon_amanda\fR] [\fBvolume_error\fR] [\fBempty\fR]
386 .RS 4
387 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\&.
388 .sp
389 When using this directive, specify the template for new tape labels\&. The template should contain some number of contiguous \'%\' characters, which will be replaced with a generated number\&. Be sure to specify enough \'%\' characters that you do not run out of tape labels\&. Example:
390 \fBautolabel "DailySet1\-%%%" empty\fR
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 \fBdumpuser\fR \fIstring\fR
424 .RS 4
425 Default:
426 \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
427 \fB\&.rhosts\fR
428 or
429 \fB\&.amandahosts\fR, depending on how the Amanda software was built\&.
430 .RE
431 .PP
432 \fBprinter\fR \fIstring\fR
433 .RS 4
434 Printer to use when doing tape labels\&. See the
435 \fBlbl\-templ\fR
436 \fBtapetype\fR
437 option\&.
438 .RE
439 .PP
440 \fBtapedev\fR \fIstring\fR
441 .RS 4
442 Default:
443 \fI"null:"\fR\&. The device name, referencing the name of a "device" section in the configuration file\&. See
444 \fBamanda-devices\fR(7)
445 for more information on device names\&.
446 .sp
447 If a tape changer is configured (see the
448 \fBtpchanger\fR
449 option), this option might not be used\&.
450 .sp
451 If
452 \fBtapedev\fR
453 is
454 \fBnull:\fR, programs such as
455 \fBamdump\fR
456 will run normally but all images will be thrown away\&. This should only be used for debugging and testing, and probably only with the
457 \fBrecord\fR
458 option set to
459 \fIno\fR\&.
460 .RE
461 .PP
462 \fBdevice_property\fR \fIstring\fR \fIstring\fR
463 .RS 4
464 These options can set various device properties\&. See
465 \fBamanda-devices\fR(7)
466 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:
467 .nf
468 device_property "BLOCK_SIZE" "128k"
469 .fi
470 .RE
471 .PP
472 \fBproperty\fR [\fBappend\fR] \fIstring\fR \fIstring\fR+
473 .RS 4
474 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\&.
475 \fBappend\fR
476 keyword append the values to the list of values for that property\&.
477 .RE
478 .PP
479 \fBtpchanger\fR \fIstring\fR
480 .RS 4
481 Default: not set\&. The name of the tape changer\&. If a tape changer is not configured, this option is not used and should be commented out of the configuration file\&.
482 .sp
483 If a tape changer is configured, choose one of the changer scripts (e\&.g\&.
484 \fBchg\-scsi\fR) and enter that here\&.
485 .RE
486 .PP
487 \fBchangerdev\fR \fIstring\fR
488 .RS 4
489 Default:
490 \fI"dev/null"\fR\&. A tape changer configuration parameter\&. Usage depends on the particular changer defined with the
491 \fBtpchanger\fR
492 option\&.
493 .RE
494 .PP
495 \fBchangerfile\fR \fIstring\fR
496 .RS 4
497 Default:
498 \fI"usr/adm/amanda/log/changer\-status"\fR\&. A tape changer configuration parameter\&. Usage depends on the particular changer defined with the
499 \fBtpchanger\fR
500 option\&.
501 .RE
502 .PP
503 \fBruntapes\fR \fIint\fR
504 .RS 4
505 Default:
506 \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\&.
507 .sp
508 If a tape changer is configured, this may be set larger than one to let Amanda write to more than one tape\&.
509 .sp
510 Note that this is an upper bound on the number of tapes, and Amanda may use less\&.
511 .sp
512 Also note that as of this release, Amanda does not support true tape overflow\&. When it reaches the end of one tape, the backup image Amanda was processing starts over again on the next tape\&.
513 .RE
514 .PP
515 \fBmaxdumpsize\fR \fIint\fR
516 .RS 4
517 Default:
518 \fI\fBruntapes\fR\fR\fI*\fR\fI\fBtape_length\fR\fR\&. Maximum number of bytes the planner will schedule for a run\&.
519 .sp
520 The default unit is Kbytes if it is not specified\&.
521 .RE
522 .PP
523 \fBtaperalgo\fR [ \fBfirst\fR | \fBfirstfit\fR | \fBlargest\fR | \fBlargestfit\fR | \fBsmallest\fR | \fBlast\fR ]
524 .RS 4
525 Default:
526 \fBfirst\fR\&. The algorithm used to choose which dump image to send to the taper\&.
527 .PP
528 \fBfirst\fR
529 .RS 4
530 First in, first out\&.
531 .RE
532 .PP
533 \fBfirstfit\fR
534 .RS 4
535 The first dump image that will fit on the current tape\&.
536 .RE
537 .PP
538 \fBlargest\fR
539 .RS 4
540 The largest dump image\&.
541 .RE
542 .PP
543 \fBlargestfit\fR
544 .RS 4
545 The largest dump image that will fit on the current tape\&.
546 .RE
547 .PP
548 \fBsmallest\fR
549 .RS 4
550 The smallest dump image\&.
551 .RE
552 .PP
553 \fBlast\fR
554 .RS 4
555 Last in, first out\&.
556 .RE
557 .RE
558 .PP
559 \fBlabelstr\fR \fIstring\fR
560 .RS 4
561 Default:
562 \fI"\&.*"\fR\&. The tape label constraint regular expression\&. All tape labels generated (see
563 \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\&.
564 .RE
565 .PP
566 \fBtapetype\fR \fIstring\fR
567 .RS 4
568 Default:
569 \fIno default\fR\&. The type of tape drive associated with
570 \fBtapedev\fR
571 or
572 \fBtpchanger\fR\&. This refers to one of the defined
573 \fBtapetype\fRs in the config file (see below), which specify various tape parameters, like the
574 \fBlength\fR,
575 \fBfilemark\fR
576 size, and
577 \fBspeed\fR
578 of the tape media and device\&.
579 .RE
580 .PP
581 \fBctimeout\fR \fIint\fR
582 .RS 4
583 Default:
584 \fI30 seconds\fR\&. Maximum amount of time that
585 \fBamcheck\fR
586 will wait for each client host\&.
587 .RE
588 .PP
589 \fBdtimeout\fR \fIint\fR
590 .RS 4
591 Default:
592 \fI1800 seconds\fR\&. Amount of idle time per disk on a given client that a
593 \fBdumper\fR
594 running from within
595 \fBamdump\fR
596 will wait before it fails with a data timeout error\&.
597 .RE
598 .PP
599 \fBetimeout\fR \fIint\fR
600 .RS 4
601 Default:
602 \fI300 seconds\fR\&. Amount of time per estimate on a given client that the
603 \fBplanner\fR
604 step of
605 \fBamdump\fR
606 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,
607 \fBplanner\fR
608 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\&.
609 .RE
610 .PP
611 \fBconnect_tries\fR \fIint\fR
612 .RS 4
613 Default:
614 \fI3\fR\&. How many times the server will try a connection\&.
615 .RE
616 .PP
617 \fBreq_tries\fR \fIint\fR
618 .RS 4
619 Default:
620 \fI3\fR\&. How many times the server will resend a REQ packet if it doesn\'t get the ACK packet\&.
621 .RE
622 .PP
623 \fBnetusage\fR \fIint\fR
624 .RS 4
625 Default:
626 \fI8000 Kbps\fR\&. The maximum network bandwidth allocated to Amanda, in Kbytes per second\&. See also the
627 \fBinterface\fR
628 section\&.
629 .RE
630 .PP
631 \fBinparallel\fR \fIint\fR
632 .RS 4
633 Default:
634 \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\&.
635 .RE
636 .PP
637 \fBdisplayunit\fR "k|m|g|t"
638 .RS 4
639 Default:
640 \fI"k"\fR\&. The unit used to print many numbers, k=kilo, m=mega, g=giga, t=tera\&.
641 .RE
642 .PP
643 \fBdumporder\fR \fIstring\fR
644 .RS 4
645 Default:
646 \fI"tttTTTTTTT"\fR\&. The priority order of each dumper:
647 .sp
648 .nf
649 s: smallest size
650 S: largest size
651 t: smallest time
652 T: largest time
653 b: smallest bandwidth
654 B: largest bandwidth
655 .fi
656 .RE
657 .PP
658 \fBmaxdumps\fR \fIint\fR
659 .RS 4
660 Default:
661 \fI1\fR\&. The maximum number of backups from a single host that Amanda will attempt to run in parallel\&. See also the
662 \fBinparallel\fR
663 option\&.
664 .sp
665 Note that this parameter may also be set in a specific
666 \fBdumptype\fR
667 (see below)\&. This value sets the default for all
668 \fBdumptype\fRs so must appear in
669 \fBamanda\&.conf\fR
670 before any
671 \fBdumptype\fRs are defined\&.
672 .RE
673 .PP
674 \fBbumpsize\fR \fIint\fR
675 .RS 4
676 Default:
677 \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
678 \fIbumppercent\fR
679 is set to 0\&.
680 .sp
681 The default unit is Kbytes if it is not specified\&.
682 .sp
683 The global setting of this parameter can be overwritten inside of a dumptype\-definition\&.
684 .sp
685 See also the options
686 \fBbumppercent\fR,
687 \fBbumpmult\fR
688 and
689 \fBbumpdays\fR\&.
690 .RE
691 .PP
692 \fBbumppercent\fR \fIint\fR
693 .RS 4
694 Default:
695 \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\&.
696 .sp
697 If this parameter is set to 0, the value of the parameter
698 \fIbumpsize\fR
699 is used to trigger bumping\&.
700 .sp
701 The global setting of this parameter can be overwritten inside of a dumptype\-definition\&.
702 .sp
703 See also the options
704 \fBbumpsize\fR,
705 \fBbumpmult\fR
706 and
707 \fBbumpdays\fR\&.
708 .RE
709 .PP
710 \fBbumpmult\fR \fIfloat\fR
711 .RS 4
712 Default:
713 \fI1\&.5\fR\&. The bump size multiplier\&. Amanda multiplies
714 \fBbumpsize\fR
715 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
716 \fBbumpsize\fR
717 and
718 \fBbumpmult\fR
719 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\&.
720 .sp
721 The global setting of this parameter can be overwritten inside of a dumptype\-definition\&.
722 .RE
723 .PP
724 \fBbumpdays\fR \fIint\fR
725 .RS 4
726 Default:
727 \fI2 days\fR\&. To insure redundancy in the dumps, Amanda keeps filesystems at the same incremental level for at least
728 \fBbumpdays\fR
729 days, even if the other bump threshold criteria are met\&.
730 .sp
731 The global setting of this parameter can be overwritten inside of a dumptype\-definition\&.
732 .RE
733 .PP
734 \fBdiskfile\fR \fIstring\fR
735 .RS 4
736 Default:
737 \fI"disklist"\fR\&. The file name for the
738 \fIdisklist\fR
739 file holding client hosts, disks and other client dumping information\&.
740 .RE
741 .PP
742 \fBinfofile\fR \fIstring\fR
743 .RS 4
744 Default:
745 \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\&.
746 .RE
747 .PP
748 \fBlogdir\fR \fIstring\fR
749 .RS 4
750 Default:
751 \fI"/usr/adm/amanda"\fR\&. The directory for the
752 \fBamdump\fR
753 and
754 \fBlog\fR
755 files\&.
756 .RE
757 .PP
758 \fBindexdir\fR \fIstring\fR
759 .RS 4
760 Default
761 \fI"/usr/adm/amanda/index"\fR\&. The directory where index files (backup image catalogues) are stored\&. Index files are only generated for filesystems whose
762 \fBdumptype\fR
763 has the
764 \fBindex\fR
765 option enabled\&.
766 .RE
767 .PP
768 \fBtapelist\fR \fIstring\fR
769 .RS 4
770 Default:
771 \fI"tapelist"\fR\&. The file name for the active
772 \fBtapelist\fR(5)\&. Amanda maintains this file with information about the active set of tapes\&.
773 .RE
774 .PP
775 \fBdevice_output_buffer_size\fR \fIint\fR
776 .RS 4
777 Default:
778 \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\&.
779 .sp
780 The default unit is bytes if it is not specified\&.
781 .RE
782 .PP
783 \fBtapebufs\fR \fIint\fR
784 .RS 4
785 Default:
786 \fI20\fR\&. This option is deprecated; use the
787 \fBdevice_output_buffer_size\fR
788 directive instead\&.
789 \fBtapebufs\fR
790 works the same way, but the number specified is multiplied by the device blocksize prior to use\&.
791 .RE
792 .PP
793 \fBreserve\fR \fIint\fR
794 .RS 4
795 Default:
796 \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\&.
797 .RE
798 .PP
799 \fBautoflush\fR \fIbool\fR
800 .RS 4
801 Default:
802 \fBoff\fR\&. Whether an amdump run will flush the dumps from holding disk to tape\&.
803 .RE
804 .PP
805 \fBamrecover_do_fsf\fR \fIbool\fR
806 .RS 4
807 Default:
808 \fBon\fR\&. Amrecover will call amrestore with the \-f flag for faster positioning of the tape\&.
809 .RE
810 .PP
811 \fBamrecover_check_label\fR \fIbool\fR
812 .RS 4
813 Default:
814 \fBon\fR\&. Amrecover will call amrestore with the \-l flag to check the label\&.
815 .RE
816 .PP
817 \fBamrecover_changer\fR \fIstring\fR
818 .RS 4
819 Default: not set\&. Amrecover will use the changer if you use \'settape <string>\' and that string is the same as the amrecover_changer setting\&.
820 .RE
821 .PP
822 \fBcolumnspec\fR \fIstring\fR
823 .RS 4
824 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"
825 .sp
826 Defines the width of columns
827 \fBamreport\fR
828 should use\&.
829 \fIString\fR
830 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:
831 .sp
832 .RS 4
833 .ie n \{\
834 \h'-04' 1.\h'+01'\c
835 .\}
836 .el \{\
837 .sp -1
838 .IP "  1." 4.2
839 .\}
840 the name of the column, which may be:
841 .sp
842 .nf
843         Compress (compression ratio)
844         Disk (client disk name)
845         DumpRate (dump rate in KBytes/sec)
846         DumpTime (total dump time in hours:minutes)
847         HostName (client host name)
848         Level (dump level)
849         OrigKB (original image size in KBytes)
850         OutKB (output image size in KBytes)
851         TapeRate (tape writing rate in KBytes/sec)
852         TapeTime (total tape time in hours:minutes)
853 .fi
854 .RE
855 .sp
856 .RS 4
857 .ie n \{\
858 \h'-04' 2.\h'+01'\c
859 .\}
860 .el \{\
861 .sp -1
862 .IP "  2." 4.2
863 .\}
864 the amount of space to display before the column (used to get whitespace between columns)\&.
865 .RE
866 .sp
867 .RS 4
868 .ie n \{\
869 \h'-04' 3.\h'+01'\c
870 .\}
871 .el \{\
872 .sp -1
873 .IP "  3." 4.2
874 .\}
875 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\&.
876 .RE
877 .sp
878 .RS 4
879 .ie n \{\
880 \h'-04' 4.\h'+01'\c
881 .\}
882 .el \{\
883 .sp -1
884 .IP "  4." 4.2
885 .\}
886 the precision of the column, number of digit after the decimal point for number\&.
887 .RE
888 .sp
889 Here is an example:
890 .sp
891 .nf
892 columnspec "Disk=1:18,HostName=0:10,OrigKB=::2,OutKB=1:7"
893 .fi
894 .sp
895 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\&.
896 .RE
897 .PP
898 \fBincludefile\fR \fIstring\fR
899 .RS 4
900 Default:
901 \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\&.
902 .RE
903 .PP
904 \fBdebug_days\fR \fIint\fR
905 .RS 4
906 Default:
907 \fI3\fR\&. The number of days the debug files are kept\&.
908 .RE
909 .PP
910 \fBdebug_auth\fR \fIint\fR
911 .RS 4
912 Default:
913 \fI0\fR\&. Debug level of the auth module
914 .RE
915 .PP
916 \fBdebug_event\fR \fIint\fR
917 .RS 4
918 Default:
919 \fI0\fR\&. Debug level of the event module
920 .RE
921 .PP
922 \fBdebug_holding\fR \fIint\fR
923 .RS 4
924 Default:
925 \fI0\fR\&. Debug level of the holdingdisk module
926 .RE
927 .PP
928 \fBdebug_protocol\fR \fIint\fR
929 .RS 4
930 Default:
931 \fI0\fR\&. Debug level of the protocol module
932 .RE
933 .PP
934 \fBdebug_planner\fR \fIint\fR
935 .RS 4
936 Default:
937 \fI0\fR\&. Debug level of the planner process
938 .RE
939 .PP
940 \fBdebug_driver\fR \fIint\fR
941 .RS 4
942 Default:
943 \fI0\fR\&. Debug level of the driver process
944 .RE
945 .PP
946 \fBdebug_dumper\fR \fIint\fR
947 .RS 4
948 Default:
949 \fI0\fR\&. Debug level of the dumper process
950 .RE
951 .PP
952 \fBdebug_chunker\fR \fIint\fR
953 .RS 4
954 Default:
955 \fI0\fR\&. Debug level of the chunker process
956 .RE
957 .PP
958 \fBdebug_taper\fR \fIint\fR
959 .RS 4
960 Default:
961 \fI0\fR\&. Debug level of the taper process
962 .RE
963 .PP
964 \fBflush\-threshold\-dumped\fR \fIint\fR
965 .RS 4
966 Default:
967 \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\&.
968 .sp
969 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\&.
970 .sp
971 The value of this parameter may not exceed than that of the
972 \fBflush\-threshold\-scheduled\fR
973 parameter\&.
974 .RE
975 .PP
976 \fBflush\-threshold\-scheduled\fR \fIint\fR
977 .RS 4
978 Default:
979 \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
980 h + s > t \(mu d
981 is satisfied, where
982 h
983 is the amount of data on the holding disk,
984 s
985 is the total amount of data scheduled for this run but not dumped yet,
986 t
987 is the capacity of a volume, and
988 d
989 is this parameter, expressed as a percentage\&. This parameter may be larger than 100%\&.
990 .sp
991 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\&.
992 .sp
993 The value of this parameter may not be less than that of the
994 \fBflush\-threshold\-dumped\fR
995 or
996 \fBtaperflush\fR
997 parameters\&.
998 .RE
999 .PP
1000 \fBtaperflush\fR \fIint\fR
1001 .RS 4
1002 Default:
1003 \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
1004 h > t \(mu f
1005 is satisfied, where
1006 h
1007 is the amount of data remaining on the holding disk from this or previous runs,
1008 t
1009 is the capacity of a volume, and
1010 f
1011 is this parameter, expressed as a percentage\&. This parameter may be greater than 100%\&.
1012 .sp
1013 The value of this parameter may not exceed that of the
1014 \fBflush\-threshold\-scheduled\fR
1015 parameter\&.;
1016 \fBautoflush\fR
1017 must be set to \'yes\' if
1018 \fBtaperflush\fR
1019 is greater than 0\&.
1020 .RE
1021 .PP
1022 \fBreserved\-udp\-port\fR \fIint\fR,\fIint\fR
1023 .RS 4
1024 Default: \-\-with\-udpportrange or
1025 \fI512,1023\fR\&. Reserved udp port that will be used (bsd, bsdudp)\&. Range is inclusive\&.
1026 .RE
1027 .PP
1028 \fBreserved\-tcp\-port\fR \fIint\fR,\fIint\fR
1029 .RS 4
1030 Default: \-\-with\-low\-tcpportrange or
1031 \fI512,1023\fR\&. Reserved tcp port that will be used (bsdtcp)\&. Range is inclusive\&.
1032 .RE
1033 .PP
1034 \fBunreserved\-tcp\-port\fR \fIint\fR,\fIint\fR
1035 .RS 4
1036 Default: \-\-with\-tcpportrange or
1037 \fI1024,65535\fR\&. Unreserved tcp port that will be used (bsd, bsdudp)\&. Range is inclusive\&.
1038 .RE
1039 .SH "HOLDINGDISK SECTION"
1040 .PP
1041 The
1042 \fBamanda\&.conf\fR
1043 file may define one or more holding disks used as buffers to hold backup images before they are written to tape\&. The syntax is:
1044 .nf
1045 define holdingdisk \fIname\fR {
1046     \fIholdingdisk\-option\fR \fIholdingdisk\-value\fR
1047     \&.\&.\&.
1048 }
1049 .fi
1050 .PP
1051 The { must appear at the end of a line, and the } on its own line\&.
1052 .PP
1053 \fIName\fR
1054 is a logical name for this holding disk\&.
1055 .PP
1056 The options and values are:
1057 .PP
1058 \fBcomment\fR \fIstring\fR
1059 .RS 4
1060 Default: not set\&. A comment string describing this holding disk\&.
1061 .RE
1062 .PP
1063 \fBdirectory\fR \fIstring\fR
1064 .RS 4
1065 Default:
1066 \fI"/dumps/amanda"\fR\&. The path to this holding area\&.
1067 .RE
1068 .PP
1069 \fBuse\fR \fIint\fR
1070 .RS 4
1071 Default:
1072 \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\&.
1073 .RE
1074 .PP
1075 \fBchunksize\fR \fIint\fR
1076 .RS 4
1077 Default:
1078 \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\&.
1079 .sp
1080 The default unit is Kbytes if it is not specified\&.
1081 .sp
1082 If 0 is specified, Amanda will create holding disk chunks as large as ((INT_MAX/1024)\-64) Kbytes\&.
1083 .sp
1084 Each holding disk chunk includes a 32 Kbyte header, so the minimum chunk size is 64 Kbytes (but that would be really silly)\&.
1085 .sp
1086 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\&.
1087 .RE
1088 .SH "DUMPTYPE SECTION"
1089 .PP
1090 The
1091 \fBamanda.conf\fR(5)
1092 file may define multiple sets of backup options and refer to them by name from the
1093 \fBdisklist\fR(5)
1094 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\&.
1095 .PP
1096 A set of backup options are entered in a
1097 \fBdumptype\fR
1098 section, which looks like this:
1099 .nf
1100 define dumptype "\fIname\fR" {
1101     \fIdumptype\-option\fR \fIdumptype\-value\fR
1102     \&.\&.\&.
1103 }
1104 .fi
1105 .PP
1106 The { must appear at the end of a line, and the } on its own line\&.
1107 .PP
1108 \fIName\fR
1109 is the name of this set of backup options\&. It is referenced from the
1110 \fBdisklist\fR(5)
1111 file\&.
1112 .PP
1113 Some of the options in a
1114 \fBdumptype\fR
1115 section are the same as those in the main part of
1116 \fBamanda.conf\fR(5)\&. The main option value is used to set the default for all
1117 \fBdumptype\fR
1118 sections\&. For instance, setting
1119 \fBdumpcycle\fR
1120 to 50 in the main part of the config file causes all following
1121 \fBdumptype\fR
1122 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
1123 \fBdumptype\fRs are defined\&.
1124 .PP
1125 The dumptype options and values are:
1126 .PP
1127 \fBauth\fR \fIstring\fR
1128 .RS 4
1129 Default:
1130 \fI"bsd"\fR\&. Type of authorization to perform between tape server and backup client hosts\&. See
1131 \fBamanda-auth\fR(7)
1132 for more detail\&.
1133 .RE
1134 .PP
1135 \fBamandad_path\fR \fIstring\fR
1136 .RS 4
1137 Default:
1138 \fI"$libexec/amandad"\fR\&. Specify the amandad path of the client, only use with rsh/ssh authentification\&.
1139 .RE
1140 .PP
1141 \fBclient_username\fR \fIstring\fR
1142 .RS 4
1143 Default:
1144 \fICLIENT_LOGIN\fR\&. Specify the username to connect on the client, only use with rsh/ssh authentification\&.
1145 .RE
1146 .PP
1147 \fBclient_port\fR [ \fIint\fR | \fIstring\fR ]
1148 .RS 4
1149 Default:
1150 \fI"amanda"\fR\&. Specifies the port to connect to on the client\&. It can be a service name or a numeric port number\&.
1151 .RE
1152 .PP
1153 \fBbumpsize\fR \fIint\fR
1154 .RS 4
1155 Default:
1156 \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
1157 \fIbumppercent\fR
1158 is set to 0\&.
1159 .sp
1160 The default unit is Kbytes if it is not specified\&.
1161 .sp
1162 See also the options
1163 \fBbumppercent\fR,
1164 \fBbumpmult\fR
1165 and
1166 \fBbumpdays\fR\&.
1167 .RE
1168 .PP
1169 \fBbumppercent\fR \fIint\fR
1170 .RS 4
1171 Default:
1172 \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\&.
1173 .sp
1174 If this parameter is set to 0, the value of the parameter
1175 \fIbumpsize\fR
1176 is used to trigger bumping\&.
1177 .sp
1178 See also the options
1179 \fBbumpsize\fR,
1180 \fBbumpmult\fR
1181 and
1182 \fBbumpdays\fR\&.
1183 .RE
1184 .PP
1185 \fBbumpmult\fR \fIfloat\fR
1186 .RS 4
1187 Default:
1188 \fI1\&.5\fR\&. The bump size multiplier\&. Amanda multiplies
1189 \fBbumpsize\fR
1190 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
1191 \fBbumpsize\fR
1192 and
1193 \fBbumpmult\fR
1194 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\&.
1195 .RE
1196 .PP
1197 \fBbumpdays\fR \fIint\fR
1198 .RS 4
1199 Default:
1200 \fI2 days\fR\&. To insure redundancy in the dumps, Amanda keeps filesystems at the same incremental level for at least
1201 \fBbumpdays\fR
1202 days, even if the other bump threshold criteria are met\&.
1203 .RE
1204 .PP
1205 \fBcomment\fR \fIstring\fR
1206 .RS 4
1207 Default: not set\&. A comment string describing this set of backup options\&.
1208 .RE
1209 .PP
1210 \fBcomprate\fR \fIfloat\fR [, \fIfloat\fR ]
1211 .RS 4
1212 Default:
1213 \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\&.
1214 .RE
1215 .PP
1216 \fBcompress\fR [ \fBnone\fR | \fBclient\fR | \fBserver\fR ] [ \fBbest\fR | \fBfast\fR | \fBcustom\fR ]
1217 .RS 4
1218 Default:
1219 \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\&.
1220 .sp
1221 For either type of compression, Amanda also allows the selection of three styles of compression\&.
1222 \fBbest\fR
1223 is the best compression available, often at the expense of CPU overhead\&.
1224 \fBfast\fR
1225 is often not as good a compression as
1226 \fBbest\fR, but usually less CPU overhead\&. Or to specify
1227 \fBcustom\fR
1228 to use your own compression method\&. (See dumptype custom\-compress in example/amanda\&.conf for reference)
1229 .sp
1230 So the
1231 \fBcompress\fR
1232 options line may be one of:
1233 .PP
1234 compress none
1235 .RS 4
1236 .RE
1237 .PP
1238 compress client fast
1239 .RS 4
1240 .RE
1241 .PP
1242 compress client best
1243 .RS 4
1244 .RE
1245 .PP
1246 compress client custom
1247 .RS 4
1248 Specify
1249 \fIclient_custom_compress\fR
1250 "PROG"
1251 .sp
1252 PROG must not contain white space and it must accept \-d for uncompress\&.
1253 .RE
1254 .PP
1255 compress server fast
1256 .RS 4
1257 .RE
1258 .PP
1259 compress server best
1260 .RS 4
1261 .RE
1262 .PP
1263 compress server custom
1264 .RS 4
1265 Specify
1266 \fBserver_custom_compress\fR
1267 "PROG"
1268 .sp
1269 PROG must not contain white space and it must accept \-d for uncompress\&.
1270 .RE
1271 .sp
1272 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
1273 \fBmt\fR
1274 option), Amanda (software) compression should be disabled\&.
1275 .RE
1276 .PP
1277 \fBclient_custom_compress\fR \fIstring\fR
1278 .RS 4
1279 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\&.
1280 .RE
1281 .PP
1282 \fBserver_custom_compress\fR \fIstring\fR
1283 .RS 4
1284 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\&.
1285 .RE
1286 .PP
1287 \fBdumpcycle\fR \fIint\fR
1288 .RS 4
1289 Default:
1290 \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\&.
1291 .RE
1292 .PP
1293 \fBencrypt\fR [ \fBnone\fR | \fBclient\fR | \fBserver\fR ]
1294 .RS 4
1295 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\&.
1296 .sp
1297 So the
1298 \fBencrypt\fR
1299 options line may be one of:
1300 .PP
1301 encrypt none
1302 .RS 4
1303 .RE
1304 .PP
1305 encrypt client
1306 .RS 4
1307 Specify client_encrypt "PROG"
1308 .sp
1309 PROG must not contain white space\&.
1310 .sp
1311 Specify client_decrypt_option "decryption\-parameter" Default: "\-d"
1312 .sp
1313 decryption\-parameter must not contain white space\&.
1314 .sp
1315 (See dumptype client\-encrypt\-nocomp in example/amanda\&.conf for reference)
1316 .RE
1317 .PP
1318 encrypt server
1319 .RS 4
1320 Specify server_encrypt "PROG"
1321 .sp
1322 PROG must not contain white space\&.
1323 .sp
1324 Specify server_decrypt_option "decryption\-parameter" Default: "\-d"
1325 .sp
1326 decryption\-parameter must not contain white space\&.
1327 .sp
1328 (See dumptype server\-encrypt\-fast in example/amanda\&.conf for reference)
1329 .RE
1330 .sp
1331 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\&.
1332 \fIamcrypt\fR
1333 which is a wrapper of
1334 \fIaespipe\fR
1335 is provided as a reference symmetric encryption program\&.
1336 .RE
1337 .PP
1338 \fBclient_encrypt\fR \fIstring\fR
1339 .RS 4
1340 Default: none\&. The program to use to perform encryption/decryption on the client; used with "encrypt client"\&. Must not contain whitespace\&.
1341 .RE
1342 .PP
1343 \fBclient_decrypt_option\fR \fIstring\fR
1344 .RS 4
1345 Default: \-d\&. The option that can be passed to client_encrypt to make it decrypt instead\&. Must not contain whitespace\&.
1346 .RE
1347 .PP
1348 \fBserver_encrypt\fR \fIstring\fR
1349 .RS 4
1350 Default: none\&. The program to use to perform encryption/decryption on the server; used with "encrypt server"\&. Must not contain whitespace\&.
1351 .RE
1352 .PP
1353 \fBserver_decrypt_option\fR \fIstring\fR
1354 .RS 4
1355 Default: \-d\&. The option that can be passed to server_encrypt to make it decrypt instead\&. Must not contain whitespace\&.
1356 .RE
1357 .PP
1358 \fBestimate\fR [ \fBclient\fR | \fBcalcsize\fR | \fBserver\fR ]+
1359 .RS 4
1360 Default:
1361 \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:
1362 .PP
1363 client
1364 .RS 4
1365 Use the same program as the dumping program\&. This is the most accurate method to do estimates, but it can take a long time\&.
1366 .RE
1367 .PP
1368 calcsize
1369 .RS 4
1370 Use a faster program to do estimates, but the result is less accurate\&.
1371 .RE
1372 .PP
1373 server
1374 .RS 4
1375 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\&.
1376 .RE
1377 .RE
1378 .PP
1379 \fBexclude\fR [ \fBlist\fR | \fBfile\fR ][[\fBoptional\fR][\fBappend\fR][ \fIstring\fR ]+]
1380 .RS 4
1381 Default:
1382 \fBfile\fR\&. Exclude is the opposite of
1383 \fBinclude\fR
1384 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\&.
1385 .sp
1386 There are two exclude parameters,
1387 \fBexclude\fR
1388 \fBfile\fR
1389 and
1390 \fBexclude\fR
1391 \fBlist\&.\fR
1392 With
1393 \fBexclude\fR
1394 \fBfile\fR, the
1395 \fIstring\fR
1396 is an exclude expression\&. With
1397 \fBexclude\fR
1398 \fBlist\fR
1399 , the
1400 \fIstring\fR
1401 is a file name on the client containing
1402 \fBGNU\-tar\fR
1403 exclude expressions\&. The path to the specified exclude list file, if present (see description of \'optional\' below), must be readable by the Amanda user\&.
1404 .sp
1405 All exclude expressions are concatenated in one file and passed to the application as an
1406 \fB\-\-exclude\-from\fR
1407 argument\&.
1408 .sp
1409 For
1410 \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\&.
1411 .sp
1412 With the
1413 \fBappend\fR
1414 keyword, the
1415 \fIstring\fR
1416 is appended to the current list, without it, the
1417 \fIstring\fR
1418 overwrites the list\&.
1419 .sp
1420 If
1421 \fBoptional\fR
1422 is specified for
1423 \fBexclude\fR
1424 \fBlist\fR, then amcheck will not complain if the file doesn\'t exist or is not readable\&.
1425 .sp
1426 For
1427 \fBexclude\fR
1428 \fBlist\fR, if the file name is relative, the disk name being backed up is prepended\&. So if this is entered:
1429 .nf
1430     exclude list "\&.amanda\&.excludes"
1431 .fi
1432 the actual file used would be
1433 /var/\&.amanda\&.excludes
1434 for a backup of
1435 /var,
1436 /usr/local/\&.amanda\&.excludes
1437 for a backup of
1438 /usr/local, and so on\&.
1439 .RE
1440 .PP
1441 \fBholdingdisk\fR [ \fBnever\fR | \fBauto\fR | \fBrequired\fR ]
1442 .RS 4
1443 Default:
1444 \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
1445 \fBholdingdisk\fR
1446 set to
1447 \fInever\fR
1448 to avoid backing up the holding disk into itself\&.
1449 .PP
1450 \fBnever\fR|no|false|off
1451 .RS 4
1452 Never use a holdingdisk, the dump will always go directly to tape\&. There will be no dump if you have a tape error\&.
1453 .RE
1454 .PP
1455 \fBauto\fR|yes|true|on
1456 .RS 4
1457 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)
1458 .RE
1459 .PP
1460 \fBrequired\fR
1461 .RS 4
1462 Always dump to holdingdisk, never directly to tape\&. There will be no dump if it doesn\'t fit on holdingdisk
1463 .RE
1464 .RE
1465 .PP
1466 \fBignore\fR \fIboolean\fR
1467 .RS 4
1468 Default:
1469 \fBno\fR\&. Whether disks associated with this backup type should be backed up or not\&. This option is useful when the
1470 \fIdisklist\fR
1471 file is shared among several configurations, some of which should not back up all the listed file systems\&.
1472 .RE
1473 .PP
1474 \fBinclude\fR [ \fBlist\fR | \fBfile\fR ][[\fBoptional\fR][\fBappend\fR][ \fIstring\fR ]+]
1475 .RS 4
1476 Default:
1477 \fBfile\fR
1478 "\&."\&. There are two include lists,
1479 \fBinclude file\fR
1480 and
1481 \fBinclude list\&.\fR
1482 With
1483 \fBinclude file\fR
1484 , the
1485 \fIstring\fR
1486 is a glob expression\&. With
1487 \fBinclude list\fR
1488 , the
1489 \fIstring\fR
1490 is a file name on the client containing glob expressions\&.
1491 .sp
1492 All include expressions are expanded by Amanda, concatenated in one file and passed to
1493 \fBGNU\-tar\fR
1494 as a
1495 \fB\-\-files\-from\fR
1496 argument\&. They must start with "\&./" and contain no other "/"\&.
1497 .sp
1498 Include expressions must always be specified as relative to the head directory of the DLE\&.
1499 .if n \{\
1500 .sp
1501 .\}
1502 .RS 4
1503 .it 1 an-trap
1504 .nr an-no-space-flag 1
1505 .nr an-break-flag 1
1506 .br
1507 .ps +1
1508 \fBNote\fR
1509 .ps -1
1510 .br
1511 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\&.
1512 .sp .5v
1513 .RE
1514 With the
1515 \fBappend\fR
1516 keyword, the
1517 \fIstring\fR
1518 is appended to the current list, without it, the
1519 \fIstring\fR
1520 overwrites the list\&.
1521 .sp
1522 If
1523 \fBoptional\fR
1524 is specified for
1525 \fBinclude list\fR, then amcheck will not complain if the file doesn\'t exist or is not readable\&.
1526 .sp
1527 For
1528 \fBinclude list\fR, If the file name is relative, the disk name being backed up is prepended\&.
1529 .RE
1530 .PP
1531 \fBindex\fR \fIboolean\fR
1532 .RS 4
1533 Default:
1534 \fBno\fR\&. Whether an index (catalogue) of the backup should be generated and saved in
1535 \fBindexdir\fR\&. These catalogues are used by the
1536 \fBamrecover\fR
1537 utility\&.
1538 .RE
1539 .PP
1540 \fBkencrypt\fR \fIboolean\fR
1541 .RS 4
1542 Default:
1543 \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\&.
1544 .RE
1545 .PP
1546 \fBmaxdumps\fR \fIint\fR
1547 .RS 4
1548 Default:
1549 \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
1550 \fBinparallel\fR\&.
1551 .RE
1552 .PP
1553 \fBmaxpromoteday\fR \fIint\fR
1554 .RS 4
1555 Default:
1556 \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\&.
1557 .RE
1558 .PP
1559 \fBpriority\fR [ \fBlow\fR | \fBmedium\fR | \fBhigh\fR ]
1560 .RS 4
1561 Default:
1562 \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\&.
1563 .RE
1564 .PP
1565 \fBprogram\fR [ \fB"DUMP"\fR | \fB"GNUTAR"\fR | \fB"APPLICATION"\fR ]
1566 .RS 4
1567 Default:
1568 \fI"DUMP"\fR\&. The type of backup to perform\&. Valid values are:
1569 .PP
1570 \fB"DUMP"\fR
1571 .RS 4
1572 The native operating system backup program\&.
1573 .RE
1574 .PP
1575 \fB"GNUTAR"\fR
1576 .RS 4
1577 To use GNU\-tar or to do PC backups using Samba\&.
1578 .RE
1579 .PP
1580 \fB"APPLICATION"\fR
1581 .RS 4
1582 To use an application, see the
1583 \fIapplication\fR
1584 option\&.
1585 .RE
1586 .RE
1587 .PP
1588 \fBapplication\fR \fIstring\fR
1589 .RS 4
1590 No default\&. Must be the name of an application if
1591 \fIprogram\fR
1592 is set to
1593 \fIAPPLICATION\fR\&. See APPLICATION SECTION below\&.
1594 .RE
1595 .PP
1596 \fBscript\fR \fIstring\fR
1597 .RS 4
1598 No default\&. Must be the name of a script\&. You can have many script\&. See SCRIPT SECTION below\&.
1599 .RE
1600 .PP
1601 \fBproperty\fR [\fBappend\fR] \fIstring\fR \fIstring\fR+
1602 .RS 4
1603 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\&.
1604 \fBappend\fR
1605 keyword append the values to the list of values for that property\&.
1606 .RE
1607 .PP
1608 \fBrecord\fR \fIboolean\fR
1609 .RS 4
1610 Default:
1611 \fIyes\fR\&. Whether to ask the backup program to update its database (e\&.g\&.
1612 /var/lib/dumpdates
1613 for DUMP or
1614 /usr/local/var/amanda/gnutar\-lists
1615 for GNUTAR) of time stamps\&. This is normally enabled for daily backups and turned off for periodic archival runs\&.
1616 .RE
1617 .PP
1618 \fBskip\-full\fR \fIboolean\fR
1619 .RS 4
1620 Default:
1621 \fBno\fR\&. If
1622 \fBtrue\fR
1623 and
1624 \fBplanner\fR
1625 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\&.
1626 .RE
1627 .PP
1628 \fBskip\-incr\fR \fIboolean\fR
1629 .RS 4
1630 Default:
1631 \fBno\fR\&. If
1632 \fBtrue\fR
1633 and
1634 \fBplanner\fR
1635 has scheduled an incremental backup, these disks will be skipped\&.
1636 .RE
1637 .PP
1638 \fBssh_keys\fR \fIstring\fR
1639 .RS 4
1640 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\&.
1641 .RE
1642 .PP
1643 \fBstarttime\fR \fIint\fR
1644 .RS 4
1645 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
1646 1830\&.
1647 .RE
1648 .PP
1649 \fBstrategy\fR [ \fBstandard\fR | \fBnofull\fR | \fBnoinc\fR | \fBskip\fR | \fBincronly\fR ]
1650 .RS 4
1651 Default:
1652 \fBstandard\fR\&. Strategy to use when planning what level of backup to run next\&. Values are:
1653 .PP
1654 \fBstandard\fR
1655 .RS 4
1656 The standard Amanda schedule\&.
1657 .RE
1658 .PP
1659 \fBnofull\fR
1660 .RS 4
1661 Never do full backups, only level 1 incrementals\&.
1662 .RE
1663 .PP
1664 \fBnoinc\fR
1665 .RS 4
1666 Never do incremental backups, only full dumps\&.
1667 .RE
1668 .PP
1669 \fBskip\fR
1670 .RS 4
1671 Treat this DLE as if it doesn\'t exist (useful to disable DLEs when sharing the
1672 \fIdisklist\fR
1673 file between multiple configurations)\&. Skipped DLEs will not be checked or dumped, and will not be matched by disklist expressions\&.
1674 .RE
1675 .PP
1676 \fBincronly\fR
1677 .RS 4
1678 Only do incremental dumps\&.
1679 \fBamadmin force\fR
1680 should be used to tell Amanda that a full dump has been performed off\-line, so that it resets to level 1\&.
1681 .RE
1682 .RE
1683 .PP
1684 \fBtape_splitsize\fR \fIint\fR
1685 .RS 4
1686 Default: not set\&. Split dump file on tape into pieces of a specified size\&. This allows dumps to be spread across multiple tapes, and can potentially make more efficient use of tape space\&. Note that if this value is too large (more than half the size of the average dump being split), substantial tape space can be wasted\&. If too small, large dumps will be split into innumerable tiny dumpfiles, adding to restoration complexity\&. A good rule of thumb, usually, is 1/10 of the size of your tape\&.
1687 .sp
1688 The default unit is Kbytes if it is not specified\&.
1689 .RE
1690 .PP
1691 \fBsplit_diskbuffer\fR \fIstring\fR
1692 .RS 4
1693 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\&.
1694 .RE
1695 .PP
1696 \fBfallback_splitsize\fR \fIint\fR
1697 .RS 4
1698 Default:
1699 \fI10M\fR\&. When dumping a split dump in PORT\-WRITE mode, if no split_diskbuffer is specified (or if we somehow fail to use our split_diskbuffer), we must buffer split chunks in memory\&. This specifies the maximum size split chunks can be in this scenario, and thus the maximum amount of memory consumed for in\-memory splitting\&. The size of this buffer can be changed from its (very conservative) default to a value reflecting the amount of memory that each taper process on the dump server may reasonably consume\&.
1700 .sp
1701 The default unit is Kbytes if it is not specified\&.
1702 .RE
1703 .PP
1704 The following
1705 \fBdumptype\fR
1706 entries are predefined by Amanda:
1707 .nf
1708 define dumptype "no\-compress" {
1709     compress none
1710 }
1711 define dumptype "compress\-fast" {
1712     compress client fast
1713 }
1714 define dumptype "compress\-best" {
1715     compress client best
1716 }
1717 define dumptype "srvcompress" {
1718     compress server fast
1719 }
1720 define dumptype "bsd\-auth" {
1721     auth bsd
1722 }
1723 define dumptype "no\-record" {
1724     record no
1725 }
1726 define dumptype "no\-hold" {
1727     holdingdisk no
1728 }
1729 define dumptype "no\-full" {
1730     skip\-full yes
1731
1732 .fi
1733 .PP
1734 In addition to options in a
1735 \fBdumptype\fR
1736 section, one or more other
1737 \fBdumptype\fR
1738 names may be supplied as identifiers, which make this
1739 \fBdumptype\fR
1740 inherit options from other previously defined
1741 \fBdumptype\fRs\&. For instance, two sections might be the same except for the
1742 \fBrecord\fR
1743 option:
1744 .nf
1745 define dumptype "normal" {
1746     comment "Normal backup, no compression, do indexing"
1747     no\-compress
1748     index yes
1749     maxdumps 2
1750 }
1751 define dumptype "testing" {
1752     comment "Test backup, no compression, do indexing, no recording"
1753     "normal"
1754     record no
1755 }
1756 .fi
1757 .PP
1758 Amanda provides a
1759 \fBdumptype\fR
1760 named
1761 \fIglobal\fR
1762 in the sample
1763 \fBamanda\&.conf\fR
1764 file that all
1765 \fBdumptype\fRs should reference\&. This provides an easy place to make changes that will affect every
1766 \fBdumptype\fR, although you must be careful that every dumptype explicitly inherits from the
1767 \fIglobal\fR
1768 dumptype \- Amanda does not do so automatically\&.
1769 .SH "TAPETYPE SECTION"
1770 .PP
1771 The
1772 \fBamanda\&.conf\fR
1773 file may define multiple types of tape media and devices\&. The information is entered in a
1774 \fBtapetype\fR
1775 section, which looks like this in the config file:
1776 .nf
1777 define tapetype "\fIname\fR" {
1778     \fItapetype\-option\fR \fItapetype\-value\fR
1779     \&.\&.\&.
1780 }
1781 .fi
1782 .PP
1783 The { must appear at the end of a line, and the } on its own line\&.
1784 .PP
1785 \fIName\fR
1786 is the name of this type of tape medium/device\&. It is referenced from the
1787 \fBtapetype\fR
1788 option in the main part of the config file\&.
1789 .PP
1790 The tapetype options and values are:
1791 .PP
1792 \fBcomment\fR \fIstring\fR
1793 .RS 4
1794 Default: not set\&. A comment string describing this set of tape information\&.
1795 .RE
1796 .PP
1797 \fBfilemark\fR \fIint\fR
1798 .RS 4
1799 Default:
1800 \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\&.
1801 .RE
1802 .PP
1803 \fBlength\fR \fIint\fR
1804 .RS 4
1805 Default:
1806 \fI2000 kbytes\fR\&. How much data will fit on a tape, expressed in kbytes\&.
1807 .sp
1808 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
1809 \fBlength\fR
1810 (but see
1811 \fBamanda-devices\fR(7)
1812 for exceptions)\&.
1813 .RE
1814 .PP
1815 \fBblocksize\fR \fIint\fR
1816 .RS 4
1817 Default:
1818 \fI32 kbytes\fR\&. How much data will be written in each tape record, expressed in kbytes\&. This is similar to the
1819 \fIBLOCK_SIZE\fR
1820 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\&.
1821 .RE
1822 .PP
1823 \fBreadblocksize\fR \fIint\fR
1824 .RS 4
1825 Default:
1826 \fI32 kytes\fR
1827 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\&.
1828 .sp
1829 The default unit is Kbytes if it is not specified\&.
1830 .RE
1831 .PP
1832 \fBspeed\fR \fIint\fR
1833 .RS 4
1834 Default:
1835 \fI200 bps\fR\&. How fast the drive will accept data, in bytes per second\&. This parameter is NOT currently used by Amanda\&.
1836 .RE
1837 .PP
1838 \fBlbl\-templ\fR \fIstring\fR
1839 .RS 4
1840 Default: not set\&. A PostScript template file used by
1841 \fBamreport\fR
1842 to generate labels\&. Several sample files are provided with the Amanda sources in the
1843 \fIexample\fR
1844 directory\&. See the
1845 \fBamreport\fR(8)
1846 man page for more information\&.
1847 .RE
1848 .PP
1849 In addition to options, another
1850 \fBtapetype\fR
1851 name may be supplie as an identifier, which makes this
1852 \fBtapetype\fR
1853 inherit options from another
1854 \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:
1855 .nf
1856 define tapetype "DLT4000\-III" {
1857     comment "DLT4000 tape drives with Compact\-III tapes"
1858     length 12500 mbytes         # 10 Gig tapes with some compression
1859     filemark 2000 kbytes
1860     speed 1536 kps
1861 }
1862 define tapetype "DLT4000\-IV" {
1863     "DLT4000\-III"
1864     comment "DLT4000 tape drives with Compact\-IV tapes"
1865     length 25000 mbytes         # 20 Gig tapes with some compression
1866 }
1867 .fi
1868 .SH "INTERFACE SECTION"
1869 .PP
1870 The
1871 \fBamanda\&.conf\fR
1872 file may define multiple types of network interfaces\&. The information is entered in an
1873 \fBinterface\fR
1874 section, which looks like this:
1875 .nf
1876 define interface "\fIname\fR" {
1877     \fIinterface\-option\fR \fIinterface\-value\fR
1878     \&.\&.\&.
1879 }
1880 .fi
1881 .PP
1882 The { must appear at the end of a line, and the } on its own line\&.
1883 .PP
1884 \fIname\fR
1885 is the name of this type of network interface\&. It is referenced from the
1886 \fIdisklist\fR
1887 file\&.
1888 .PP
1889 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\&.
1890 .PP
1891 The interface options and values are:
1892 .PP
1893 \fBcomment\fR \fIstring\fR
1894 .RS 4
1895 Default: not set\&. A comment string describing this set of network information\&.
1896 .RE
1897 .PP
1898 \fBuse\fR \fIint\fR
1899 .RS 4
1900 Default:
1901 \fI8000 Kbps\fR\&. The speed of the interface in Kbytes per second\&.
1902 .RE
1903 .PP
1904 In addition to options, another
1905 \fBinterface\fR
1906 name may be supplied as an identifier, which makes this
1907 \fBinterface\fR
1908 inherit options from another
1909 \fBinterface\fR\&. At the moment, this is of little use\&.
1910 .SH "APPLICATION SECTION"
1911 .PP
1912 The
1913 \fBamanda\&.conf\fR
1914 file may define multiple types of application\&. The information is entered in a
1915 \fBapplication\fR
1916 section, which looks like this:
1917 .nf
1918 define application "\fIname\fR" {
1919     \fIapplication\-option\fR \fIapplication\-value\fR
1920     \&.\&.\&.
1921 }
1922 .fi
1923 .PP
1924 The { must appear at the end of a line, and the } on its own line\&.
1925 .PP
1926 \fIname\fR
1927 is the name of this type of application\&. It is referenced from the
1928 \fIdumptype\fR
1929 .PP
1930 The application options and values are:
1931 .PP
1932 \fBcomment\fR \fIstring\fR
1933 .RS 4
1934 Default: not set\&. A comment string describing this application\&.
1935 .RE
1936 .PP
1937 \fBplugin\fR \fIstring\fR
1938 .RS 4
1939 No default\&. Must be set to the name of the program\&. This program must be in the
1940 \fI$libexecdir/amanda/application\fR
1941 directory on the client\&.
1942 .RE
1943 .PP
1944 \fBproperty\fR [\fBappend\fR] [\fBpriority\fR] \fIstring\fR \fIstring\fR+
1945 .RS 4
1946 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\&.
1947 \fBappend\fR
1948 keyword append the values to the list of values for that property\&.
1949 \fBpriority\fR
1950 keyword disallow the setting of that property on the client\&.
1951 .RE
1952 .SH "SCRIPT SECTION"
1953 .PP
1954 The
1955 \fBamanda\&.conf\fR
1956 file may define multiple types of script\&. The information is entered in a
1957 \fBscript\fR
1958 section, which looks like this:
1959 .nf
1960 define script "\fIname\fR" {
1961     \fIscript\-option\fR \fIscript\-value\fR
1962     \&.\&.\&.
1963 }
1964 .fi
1965 .PP
1966 The { must appear at the end of a line, and the } on its own line\&.
1967 .PP
1968 \fIname\fR
1969 is the name of this type of script\&. It is referenced from the
1970 \fIdumptype\fR
1971 .PP
1972 The script options and values are:
1973 .PP
1974 \fBcomment\fR \fIstring\fR
1975 .RS 4
1976 Default: not set\&. A comment string describing this script\&.
1977 .RE
1978 .PP
1979 \fBplugin\fR \fIstring\fR
1980 .RS 4
1981 No default\&. Must be set to the name of the program\&. This program must be in the
1982 \fI$libexecdir/amanda/application\fR
1983 directory on the client and/or server\&.
1984 .RE
1985 .PP
1986 \fBorder\fR \fIint\fR
1987 .RS 4
1988 Default:
1989 \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\&.
1990 .RE
1991 .PP
1992 \fBexecute_where\fR [ \fBclient\fR | \fBserver\fR ]
1993 .RS 4
1994 Default:
1995 \fBclient\fR\&. Where the script must be executed, on the client or server\&.
1996 .RE
1997 .PP
1998 \fB>execute_on\fR \fIexecute_on\fR [,\fIexecute_on\fR]*
1999 .RS 4
2000 No default\&. When the script must be executed, you can specify many of them:
2001 .PP
2002 \fBpre\-dle\-amcheck\fR
2003 .RS 4
2004 Execute before the amcheck command for the dle\&.
2005 .RE
2006 .PP
2007 \fBpre\-host\-amcheck\fR
2008 .RS 4
2009 Execute before the amcheck command for all dle for the client\&.
2010 .RE
2011 .PP
2012 \fBpost\-dle\-amcheck\fR
2013 .RS 4
2014 Execute after the amcheck command for the dle\&.
2015 .RE
2016 .PP
2017 \fBpost\-host\-amcheck\fR
2018 .RS 4
2019 Execute after the amcheck command for all dle for the client\&.
2020 .RE
2021 .PP
2022 \fBpre\-dle\-estimate\fR
2023 .RS 4
2024 Execute before the estimate command for the dle\&.
2025 .RE
2026 .PP
2027 \fBpre\-host\-estimate\fR
2028 .RS 4
2029 Execute before the estimate command for all dle for the client\&.
2030 .RE
2031 .PP
2032 \fBpost\-dle\-estimate\fR
2033 .RS 4
2034 Execute after the estimate command for the dle\&.
2035 .RE
2036 .PP
2037 \fBpost\-host\-estimate\fR
2038 .RS 4
2039 Execute after the estimate command for all dle for the client\&.
2040 .RE
2041 .PP
2042 \fBpre\-dle\-backup\fR
2043 .RS 4
2044 Execute before the backup command for the dle\&.
2045 .RE
2046 .PP
2047 \fBpre\-host\-backup\fR
2048 .RS 4
2049 Execute before the backup command for all dle for the client\&. It can\'t be run on client, it must be run on server
2050 .RE
2051 .PP
2052 \fBpost\-dle\-backup\fR
2053 .RS 4
2054 Execute after the backup command for the dle\&.
2055 .RE
2056 .PP
2057 \fBpost\-host\-backup\fR
2058 .RS 4
2059 Execute after the backup command for all dle for the client\&. It can\'t be run on client, it must be run on server
2060 .RE
2061 .PP
2062 \fBpre\-recover\fR
2063 .RS 4
2064 Execute before any level is recovered\&.
2065 .RE
2066 .PP
2067 \fBpost\-recover\fR
2068 .RS 4
2069 Execute after all levels are recovered\&.
2070 .RE
2071 .PP
2072 \fBpre\-level\-recover\fR
2073 .RS 4
2074 Execute before each level recovery\&.
2075 .RE
2076 .PP
2077 \fBpost\-level\-recover\fR
2078 .RS 4
2079 Execute after each level recovery\&.
2080 .RE
2081 .PP
2082 \fBinter\-level\-recover\fR
2083 .RS 4
2084 Execute between two levels of recovery\&.
2085 .RE
2086 .sp
2087 If you recover level 0 and 2 of the disk /usr with amrecover, it will execute:
2088 .nf
2089 script \-\-pre\-recover
2090 script \-\-pre\-level\-recover \-\-level 0
2091 #recovering level 0
2092 script \-\-post\-level\-recover \-\-level 0
2093 script \-\-inter\-level\-recover \-\-level 0 \-\-level 2
2094 script \-\-pre\-level\-recover \-\-level 2
2095 #recovering level 2
2096 script \-\-post\-level\-recover \-\-level 2
2097 script \-\-post\-recover
2098 .fi
2099 .RE
2100 .PP
2101 \fBproperty\fR> [\fBappend\fR] [\fBpriority\fR] \fIstring\fR \fIstring\fR+
2102 .RS 4
2103 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\&.
2104 \fBappend\fR
2105 keyword append the values to the list of values for that property\&.
2106 \fBpriority\fR
2107 keyword disallow the setting of that property on the client\&.
2108 .RE
2109 .SH "DEVICE SECTION"
2110 .PP
2111 Backend storage devices are specified in
2112 \fBamanda\&.conf\fR
2113 in the form of "device" sections, which look like this:
2114 .nf
2115 define device \fIname\fR {
2116     commend "\fIcomment (optional)\fR"
2117     tapedev "\fIdevice\-specifier\fR"
2118     device_property "\fIprop\-name\fR" "\fIprop\-value\fR"
2119     \&.\&.\&.
2120 }
2121 .fi
2122 .PP
2123 The { must appear at the end of a line, and the } on its own line\&.
2124 .PP
2125 \fIname\fR
2126 is the user\-specified name of this device\&. It is referenced from the global
2127 \fItapedev\fR
2128 parameter\&. The
2129 \fIdevice\-specifier\fR
2130 specifies the device name to use; see
2131 \fBamanda-devices\fR(7)\&. As with most sections, the
2132 \fIcomment\fR
2133 parmeter is optional and only for the user\'s convenience\&.
2134 .PP
2135 An arbitrary number of
2136 \fIdevice_property\fR
2137 parameters can be specified\&. Again, see
2138 \fBamanda-devices\fR(7)
2139 for information on device properties\&.
2140 .SH "CHANGER SECTION"
2141 .PP
2142 Changers are described in
2143 \fBamanda\&.conf\fR
2144 in the form of "changer" sections, which look like this:
2145 .nf
2146 define changer \fIname\fR {
2147     comment "\fIcomment (optional)\fR"
2148     tpchanger "\fIchanger\-spec\fR"
2149     changerdev "\fIdevice\-name\fR"
2150     changerfile "\fIstate\-file\fR"
2151     \&.\&.\&.
2152 }
2153 .fi
2154 .PP
2155 The { must appear at the end of a line, and the } on its own line\&.
2156 .PP
2157 \fIname\fR
2158 is the user\-specified name of this device\&. The remaining parameters are specific to the changer type selected\&.
2159 .PP
2160 See
2161 \fBamanda-changers\fR(7)
2162 for more information on configuring changers\&.
2163 .SH "SEE ALSO"
2164 .PP
2165 \fBamanda\fR(8),
2166 \fBamanda-client.conf\fR(5),
2167 \fBamanda-applications\fR(7),
2168 \fBamanda-auth\fR(7),
2169 \fBamanda-changers\fR(7),
2170 \fBamanda-devices\fR(7),
2171 \fBamanda-scripts\fR(7)
2172 .PP
2173 The Amanda Wiki:
2174 : http://wiki.zmanda.com/
2175 .SH "AUTHORS"
2176 .PP
2177 \fBJames da Silva\fR <\&jds@amanda\&.org\&>
2178 .PP
2179 \fBStefan G\&. Weichinger\fR <\&sgw@amanda\&.org\&>