Imported Upstream version 2.6.0p1
[debian/amanda] / man / amanda.conf.5
1 .\"     Title: amanda.conf
2 .\"    Author: 
3 .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
4 .\"      Date: 05/14/2008
5 .\"    Manual: 
6 .\"    Source: 
7 .\"
8 .TH "AMANDA\.CONF" "5" "05/14/2008" "" ""
9 .\" disable hyphenation
10 .nh
11 .\" disable justification (adjust text to left margin only)
12 .ad l
13 .SH "NAME"
14 amanda.conf - Main configuration file for Amanda, the Advanced Maryland Automatic Network Disk Archiver
15 .SH "DESCRIPTION"
16 .PP
17 \fIamanda\.conf\fR
18 is the main configuration file for
19 \fIAmanda\fR\. This manpage lists the relevant sections and parameters of this file for quick reference\.
20 .PP
21 The file
22 \fB<CONFIG_DIR>/<config>/amanda\.conf\fR
23 is loaded\.
24 .SH "PARAMETERS"
25 .PP
26 There are a number of configuration parameters that control the behavior of the
27 \fIAmanda\fR
28 programs\. All have default values, so you need not specify the parameter in
29 \fBamanda\.conf\fR
30 if the default is suitable\.
31 .PP
32 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\.
33 .PP
34 Keywords are case insensitive, i\.e\.
35 \fBmailto\fR
36 and
37 \fBMailTo\fR
38 are treated the same\.
39 .PP
40 Integer arguments may have one of the following (case insensitive) suffixes, some of which have a multiplier effect:
41 .SS "POSSIBLE SUFFIXES"
42 .PP
43 \fBb byte bytes\fR
44 .RS 4
45 Some number of bytes\.
46 .RE
47 .PP
48 \fBbps\fR
49 .RS 4
50 Some number of bytes per second\.
51 .RE
52 .PP
53 \fBk kb kbyte kbytes kilobyte kilobytes\fR
54 .RS 4
55 Some number of kilobytes (bytes*1024)\.
56 .RE
57 .PP
58 \fBkps kbps\fR
59 .RS 4
60 Some number of kilobytes per second (bytes*1024)\.
61 .RE
62 .PP
63 \fBm mb meg mbyte mbytes megabyte megabytes\fR
64 .RS 4
65 Some number of megabytes (bytes*1024*1024)\.
66 .RE
67 .PP
68 \fBmps mbps\fR
69 .RS 4
70 Some number of megabytes per second (bytes*1024*1024)\.
71 .RE
72 .PP
73 \fBg gb gbyte gbytes gigabyte gigabytes\fR
74 .RS 4
75 Some number of gigabytes (bytes*1024*1024*1024)\.
76 .RE
77 .PP
78 \fBtape tapes\fR
79 .RS 4
80 Some number of tapes\.
81 .RE
82 .PP
83 \fBday days\fR
84 .RS 4
85 Some number of days\.
86 .RE
87 .PP
88 \fBweek weeks\fR
89 .RS 4
90 Some number of weeks (days*7)\.
91 .sp
92 .it 1 an-trap
93 .nr an-no-space-flag 1
94 .nr an-break-flag 1
95 .br
96 Note
97 The value
98 \fBinf\fR
99 may be used in most places where an integer is expected to mean an infinite amount\.
100 .sp
101 Boolean arguments may have any of the values
102 \fBy\fR,
103 \fByes\fR,
104 \fBt\fR,
105 \fBtrue\fR
106 or
107 \fBon\fR
108 to indicate a true state, or
109 \fBn\fR,
110 \fBno\fR,
111 \fBf\fR,
112 \fBfalse\fR
113 or
114 \fBoff\fR
115 to indicate a false state\. If no argument is given,
116 \fBtrue\fR
117 is assumed\.
118 .RE
119 .SS "PARAMETERS"
120 .PP
121 \fBorg\fR \fI string\fR
122 .RS 4
123 Default:
124 \fIdaily\fR\. A descriptive name for the configuration\. This string appears in the Subject line of mail reports\. Each
125 \fIAmanda\fR
126 configuration should have a different string to keep mail reports distinct\.
127 .RE
128 .PP
129 \fBmailto\fR \fI string\fR
130 .RS 4
131 Default:
132 \fIoperators\fR\. A space separated list of recipients for mail reports\.
133 .RE
134 .PP
135 \fBdumpcycle\fR \fI int\fR
136 .RS 4
137 Default:
138 \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\.
139 .sp
140 .it 1 an-trap
141 .nr an-no-space-flag 1
142 .nr an-break-flag 1
143 .br
144 Note
145 This parameter may also be set in a specific
146 \fBdumptype\fR
147 (see below)\. This value sets the default for all
148 \fBdumptype\fRs so must appear in
149 \fBamanda\.conf\fR
150 before any
151 \fBdumptype\fRs are defined\.
152 .RE
153 .PP
154 \fBrunspercycle\fR \fI int\fR
155 .RS 4
156 Default:
157 \fIsame as dumpcycle\fR\. The number of amdump runs in
158 \fBdumpcycle\fR
159 days\. A value of 0 means the same value as
160 \fBdumpcycle\fR\. A value of \-1 means guess the number of runs from the
161 \fItapelist\fR
162 file, which is the number of tapes used in the last
163 \fBdumpcycle\fR
164 days /
165 \fBruntapes\fR\.
166 .RE
167 .PP
168 \fBtapecycle\fR \fI int\fR
169 .RS 4
170 Default:
171 \fI15 tapes\fR\. Typically tapes are used by
172 \fIAmanda\fR
173 in an ordered rotation\. The
174 \fBtapecycle\fR
175 parameter defines the size of that rotation\. The number of tapes in rotation must be larger than the number of tapes required for a complete dump cycle (see the
176 \fBdumpcycle\fR
177 parameter)\.
178 .sp
179 This is calculated by multiplying the number of
180 \fBamdump\fR
181 runs per dump cycle (\fBrunspercycle\fR
182 parameter) times the number of tapes used per run (\fBruntapes\fR
183 parameter)\. Typically two to four times this calculated number of tapes are in rotation\. While
184 \fIAmanda\fR
185 is always willing to use a new tape in its rotation, it refuses to reuse a tape until at least \'\fBtapecycle\fR
186 \-1\' number of other tapes have been used\.
187 .sp
188 It is considered good administrative practice to set the
189 \fBtapecycle\fR
190 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\.
191 .RE
192 .PP
193 \fBusetimestamps\fR \fI bool\fR
194 .RS 4
195 Default:
196 \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\.
197 .RE
198 .PP
199 \fBlabel_new_tapes\fR \fI string\fR
200 .RS 4
201 Default: not set\. When set, this directive will cause
202 \fIAmanda\fR
203 to automatically write an
204 \fIAmanda\fR
205 tape label to any blank tape she encounters\. This option is DANGEROUS because when set,
206 \fIAmanda\fR
207 will ERASE any non\-\fIAmanda\fR
208 tapes you may have, and may also ERASE any near\-failing tapes\. Use with caution\.
209 .sp
210 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:
211 \fBlabel_new_tapes "DailySet1\-%%%"\fR
212 .RE
213 .PP
214 \fBdumpuser\fR \fI string\fR
215 .RS 4
216 Default:
217 \fIamanda\fR\. The login name
218 \fIAmanda\fR
219 uses to run the backups\. The backup client hosts must allow access from the tape server host as this user via
220 \fB\.rhosts\fR
221 or
222 \fB\.amandahosts\fR, depending on how the
223 \fIAmanda\fR
224 software was built\.
225 .RE
226 .PP
227 \fBprinter\fR string
228 .RS 4
229 Printer to use when doing tape labels\. See the
230 \fBlbl\-templ\fR
231 \fBtapetype\fR
232 option\.
233 .RE
234 .PP
235 \fBtapedev\fR string
236 .RS 4
237 Default:
238 \fInull:\fR\. The path name of the non\-rewinding tape device\. Non\-rewinding tape device names often have an \'n\' in the name, e\.g\.
239 \fI/dev/rmt/0mn\fR, however this is operating system specific and you should consult that documentation for detailed naming information\.
240 .sp
241 If a tape changer is configured (see the
242 \fBtpchanger\fR
243 option), this option might not be used\.
244 .sp
245 If the
246 \fBnull\fR
247 output driver is selected (see the section OUTPUT DRIVERS in the
248 \fBamanda\fR(8)
249 manpage for more information), programs such as
250 \fBamdump\fR
251 will run normally but all images will be thrown away\. This should only be used for debugging and testing, and probably only with the
252 \fBrecord\fR
253 option set to
254 \fIno\fR\.
255 .RE
256 .PP
257 \fBdevice_property\fR string string
258 .RS 4
259 These options can set various device properties, including block size, maximum volume usage, authentication information, hardware feature support, and more\.Specifics of how properties are used are device\-dependent, though some common properties are supported across multiple device drivers\.
260 .sp
261 Both strings are 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, do:
262 .sp
263 .RS 4
264 .nf
265 device_property "BLOCK_SIZE" "131072"
266 .fi
267 .RE
268 .sp
269 The order in which device properties are set is as follows:
270 .sp
271 .RS 4
272 \h'-04' 1.\h'+02'Tapetype parameters, including length, blocksize, readblocksize, file\-pad, are translated into device properties and set accordingly\.
273 .RE
274 .sp
275 .RS 4
276 \h'-04' 2.\h'+02'Device properties from any device_property configuration directives are set, in the order they appear in the configuration file\.
277 .RE
278 .RE
279 .PP
280 \fBtpchanger\fR string
281 .RS 4
282 Default:
283 \fInone\fR\. The name of the tape changer\. If a tape changer is not configured, this option is not used and should be commented out of the configuration file\.
284 .sp
285 If a tape changer is configured, choose one of the changer scripts (e\.g\.
286 \fBchg\-scsi\fR) and enter that here\.
287 .RE
288 .PP
289 \fBchangerdev\fR string
290 .RS 4
291 Default:
292 \fI/dev/null\fR\. A tape changer configuration parameter\. Usage depends on the particular changer defined with the
293 \fBtpchanger\fR
294 option\.
295 .RE
296 .PP
297 \fBchangerfile\fR string
298 .RS 4
299 Default:
300 \fI/usr/adm/amanda/log/changer\-status\fR\. A tape changer configuration parameter\. Usage depends on the particular changer defined with the
301 \fBtpchanger\fR
302 option\.
303 .RE
304 .PP
305 \fBruntapes\fR int
306 .RS 4
307 Default:
308 1\. The maximum number of tapes used in a single run\. If a tape changer is not configured, this option is not used and should be commented out of the configuration file\.
309 .sp
310 If a tape changer is configured, this may be set larger than one to let
311 \fIAmanda\fR
312 write to more than one tape\.
313 .sp
314 Note that this is an upper bound on the number of tapes, and
315 \fIAmanda\fR
316 may use less\.
317 .sp
318 Also note that as of this release,
319 \fIAmanda\fR
320 does not support true tape overflow\. When it reaches the end of one tape, the backup image
321 \fIAmanda\fR
322 was processing starts over again on the next tape\.
323 .RE
324 .PP
325 \fBmaxdumpsize\fR int
326 .RS 4
327 Default:
328 \fIruntapes\fR*\fItape_length\fR\. Maximum number of bytes the planner will schedule for a run\.
329 .RE
330 .PP
331 \fBtaperalgo\fR [first|firstfit|largest|largestfit|smallest|last]
332 .RS 4
333 Default:
334 \fIfirst\fR\. The algorithm used to choose which dump image to send to the taper\.
335 .PP
336 \fBfirst\fR
337 .RS 4
338 First in, first out\.
339 .RE
340 .PP
341 \fBfirstfit\fR
342 .RS 4
343 The first dump image that will fit on the current tape\.
344 .RE
345 .PP
346 \fBlargest\fR
347 .RS 4
348 The largest dump image\.
349 .RE
350 .PP
351 \fBlargestfit\fR
352 .RS 4
353 The largest dump image that will fit on the current tape\.
354 .RE
355 .PP
356 \fBsmallest\fR
357 .RS 4
358 The smallest dump image\.
359 .RE
360 .PP
361 \fBlast\fR
362 .RS 4
363 Last in, first out\.
364 .RE
365 .RE
366 .PP
367 \fBlabelstr\fR \fI string\fR
368 .RS 4
369 Default:
370 \fI\.*\fR\. The tape label constraint regular expression\. All tape labels generated (see
371 \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\.
372 .RE
373 .PP
374 \fBtapetype\fR \fI string\fR
375 .RS 4
376 Default:
377 \fIEXABYTE\fR\. The type of tape drive associated with
378 \fBtapedev\fR
379 or
380 \fBtpchanger\fR\. This refers to one of the defined
381 \fBtapetype\fRs in the config file (see below), which specify various tape parameters, like the
382 \fBlength\fR,
383 \fBfilemark\fR
384 size, and
385 \fBspeed\fR
386 of the tape media and device\.
387 .sp
388 First character of a
389 \fBtapetype\fR
390 string must be an alphabetic character
391 .RE
392 .PP
393 \fBctimeout\fR int
394 .RS 4
395 Default:
396 \fI30 seconds\fR\. Maximum amount of time that
397 \fBamcheck\fR
398 will wait for each client host\.
399 .RE
400 .PP
401 \fBdtimeout\fR int
402 .RS 4
403 Default:
404 \fI1800 seconds\fR\. Amount of idle time per disk on a given client that a
405 \fBdumper\fR
406 running from within
407 \fBamdump\fR
408 will wait before it fails with a data timeout error\.
409 .RE
410 .PP
411 \fBetimeout\fR int
412 .RS 4
413 Default:
414 \fI300 seconds\fR\. Amount of time per estimate on a given client that the
415 \fBplanner\fR
416 step of
417 \fBamdump\fR
418 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,
419 \fBplanner\fR
420 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\.
421 .RE
422 .PP
423 \fBconnect_tries\fR int
424 .RS 4
425 Default:
426 \fI3\fR\. How many times the server will try a connection\.
427 .RE
428 .PP
429 \fBreq_tries\fR int
430 .RS 4
431 Default:
432 \fI3\fR\. How many times the server will resend a REQ packet if it doesn\'t get the ACK packet\.
433 .RE
434 .PP
435 \fBnetusage\fR int
436 .RS 4
437 Default:
438 \fI8000 Kbps\fR\. The maximum network bandwidth allocated to
439 \fIAmanda\fR, in Kbytes per second\. See also the
440 \fBinterface\fR
441 section\.
442 .RE
443 .PP
444 \fBinparallel\fR int
445 .RS 4
446 Default:
447 10\. The maximum number of backups that
448 \fIAmanda\fR
449 will attempt to run in parallel\.
450 \fIAmanda\fR
451 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\.
452 .RE
453 .PP
454 \fBdisplayunit\fR "k|m|g|t"
455 .RS 4
456 Default:
457 "k"\. The unit used to print many numbers, k=kilo, m=mega, g=giga, t=tera\.
458 .RE
459 .PP
460 \fBdumporder\fR string
461 .RS 4
462 Default:
463 \fItttTTTTTTT\fR\. The priority order of each dumper:
464 .sp
465 .RS 4
466 .nf
467 s: smallest size
468 S: largest size
469 t: smallest time
470 T: largest time
471 b: smallest bandwidth
472 B: largest bandwidth
473 .fi
474 .RE
475 .RE
476 .PP
477 \fBmaxdumps\fR int
478 .RS 4
479 Default:
480 1\. The maximum number of backups from a single host that
481 \fIAmanda\fR
482 will attempt to run in parallel\. See also the
483 \fBinparallel\fR
484 option\.
485 .sp
486 Note that this parameter may also be set in a specific
487 \fBdumptype\fR
488 (see below)\. This value sets the default for all
489 \fBdumptype\fRs so must appear in
490 \fBamanda\.conf\fR
491 before any
492 \fBdumptype\fRs are defined\.
493 .RE
494 .PP
495 \fBbumpsize\fR int
496 .RS 4
497 Default:
498 \fI10 Mbytes\fR\. The minimum savings required to trigger an automatic bump from one incremental level to the next, expressed as size\. If
499 \fIAmanda\fR
500 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
501 \fIbumppercent\fR
502 is set to 0\.
503 .sp
504 The global setting of this parameter can be overwritten inside of a dumptype\-definition\.
505 .sp
506 See also the options
507 \fBbumppercent\fR,
508 \fBbumpmult\fR
509 and
510 \fBbumpdays\fR\.
511 .RE
512 .PP
513 \fBbumppercent\fR int
514 .RS 4
515 Default:
516 \fI0 percent\fR\. The minimum savings required to trigger an automatic bump from one incremental level to the next, expressed as percentage of the current size of the DLE (size of current level 0)\. If
517 \fIAmanda\fR
518 determines that the next higher backup level will be this much smaller than the current level, it will do the next level\.
519 .sp
520 If this parameter is set to 0, the value of the parameter
521 \fIbumpsize\fR
522 is used to trigger bumping\.
523 .sp
524 The global setting of this parameter can be overwritten inside of a dumptype\-definition\.
525 .sp
526 See also the options
527 \fBbumpsize\fR,
528 \fBbumpmult\fR
529 and
530 \fBbumpdays\fR\.
531 .RE
532 .PP
533 \fBbumpmult\fR \fI float\fR
534 .RS 4
535 Default:
536 1\.5\. The bump size multiplier\.
537 \fIAmanda\fR
538 multiplies
539 \fBbumpsize\fR
540 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
541 \fBbumpsize\fR
542 and
543 \fBbumpmult\fR
544 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\.
545 .sp
546 The global setting of this parameter can be overwritten inside of a dumptype\-definition\.
547 .RE
548 .PP
549 \fBbumpdays\fR \fI int\fR
550 .RS 4
551 Default:
552 \fI2 days\fR\. To insure redundancy in the dumps,
553 \fIAmanda\fR
554 keeps filesystems at the same incremental level for at least
555 \fBbumpdays\fR
556 days, even if the other bump threshold criteria are met\.
557 .sp
558 The global setting of this parameter can be overwritten inside of a dumptype\-definition\.
559 .RE
560 .PP
561 \fBdiskfile\fR \fI string\fR
562 .RS 4
563 Default:
564 \fIdisklist\fR\. The file name for the
565 \fIdisklist\fR
566 file holding client hosts, disks and other client dumping information\.
567 .RE
568 .PP
569 \fBinfofile\fR \fI string\fR
570 .RS 4
571 Default:
572 \fI/usr/adm/amanda/curinfo\fR\. The file or directory name for the historical information database\. If
573 \fIAmanda\fR
574 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\.
575 .RE
576 .PP
577 \fBlogdir\fR \fI string\fR
578 .RS 4
579 Default:
580 \fI/usr/adm/amanda\fR\. The directory for the
581 \fBamdump\fR
582 and
583 \fBlog\fR
584 files\.
585 .RE
586 .PP
587 \fBindexdir\fR \fI string\fR
588 .RS 4
589 Default
590 \fI/usr/adm/amanda/index\fR\. The directory where index files (backup image catalogues) are stored\. Index files are only generated for filesystems whose
591 \fBdumptype\fR
592 has the
593 \fBindex\fR
594 option enabled\.
595 .RE
596 .PP
597 \fBtapelist\fR \fI string\fR
598 .RS 4
599 Default:
600 \fItapelist\fR\. The file name for the active
601 \fItapelist\fR
602 file\.
603 \fIAmanda\fR
604 maintains this file with information about the active set of tapes\.
605 .RE
606 .PP
607 \fBdevice_output_buffer_size\fR \fI int\fR
608 .RS 4
609 Default:
610 640k\. Controls the amount of memory used by
611 \fIAmanda\fR
612 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\.
613 .RE
614 .PP
615 \fBtapebufs\fR \fI int\fR
616 .RS 4
617 Default:
618 20\. This option is deprecated; use the
619 \fBdevice_output_buffer_size\fR
620 directive instead\.
621 \fBtapebufs\fR
622 works the same way, but the number specified is multiplied by the device blocksize prior to use\.
623 .RE
624 .PP
625 \fBreserve\fR \fI number\fR
626 .RS 4
627 Default:
628 100\. The part of holding\-disk space that should be reserved for incremental backups if no tape is available, expressed as a percentage of the available holding\-disk space (0\-100)\. By default, when there is no tape to write to, degraded mode (incremental) backups will be performed to the holding disk\. If full backups should also be allowed in this case, the amount of holding disk space reserved for incrementals should be lowered\.
629 .RE
630 .PP
631 \fBautoflush\fR \fI bool\fR
632 .RS 4
633 Default:
634 \fIoff\fR\. Whether an amdump run will flush the dumps from holding disk to tape\.
635 .RE
636 .PP
637 \fBamrecover_do_fsf\fR \fI bool\fR
638 .RS 4
639 Default:
640 \fIon\fR\. Amrecover will call amrestore with the \-f flag for faster positioning of the tape\.
641 .RE
642 .PP
643 \fBamrecover_check_label\fR \fI bool\fR
644 .RS 4
645 Default:
646 \fIon\fR\. Amrecover will call amrestore with the \-l flag to check the label\.
647 .RE
648 .PP
649 \fBamrecover_changer\fR \fI string\fR
650 .RS 4
651 Default: \'\'\. Amrecover will use the changer if you use \'settape <string>\' and that string is the same as the amrecover_changer setting\.
652 .RE
653 .PP
654 \fBcolumnspec\fR \fI string\fR
655 .RS 4
656 Defines the width of columns
657 \fBamreport\fR
658 should use\.
659 \fIString\fR
660 is a comma (\',\') separated list of triples\. Each triple consists of three parts which are separated by a equal sign (\'=\') and a colon (\':\') (see the example)\. These three parts specify:
661 .sp
662 .RS 4
663 \h'-04' 1.\h'+02'the name of the column, which may be:
664 .sp
665 .RS 4
666 .nf
667         Compress (compression ratio)
668         Disk (client disk name)
669         DumpRate (dump rate in KBytes/sec)
670         DumpTime (total dump time in hours:minutes)
671         HostName (client host name)
672         Level (dump level)
673         OrigKB (original image size in KBytes)
674         OutKB (output image size in KBytes)
675         TapeRate (tape writing rate in KBytes/sec)
676         TapeTime (total tape time in hours:minutes)
677         
678 .fi
679 .RE
680 .RE
681 .sp
682 .RS 4
683 \h'-04' 2.\h'+02'the amount of space to display before the column (used to get whitespace between columns)\.
684 .sp
685 .RE
686 .sp
687 .RS 4
688 \h'-04' 3.\h'+02'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\.
689 .RE
690 .IP "" 4
691 Here is an example:
692 .sp
693 .RS 4
694 .nf
695 columnspec "Disk=1:18,HostName=0:10,OutKB=1:7"
696 .fi
697 .RE
698 .sp
699 The above will display the disk information in 18 characters and put one space before it\. The hostname column will be 10 characters wide with no space to the left\. The output KBytes column is seven characters wide with one space before it\.
700 .RE
701 .PP
702 \fBincludefile\fR \fI string\fR
703 .RS 4
704 Default:
705 \fInone\fR\. The name of an
706 \fIAmanda\fR
707 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\.
708 .RE
709 .PP
710 \fBdebug_auth\fR int
711 .RS 4
712 Default:
713 \fI0\fR\. Debug level of the auth module
714 .RE
715 .PP
716 \fBdebug_event\fR int
717 .RS 4
718 Default:
719 \fI0\fR\. Debug level of the event module
720 .RE
721 .PP
722 \fBdebug_holding\fR int
723 .RS 4
724 Default:
725 \fI0\fR\. Debug level of the holdingdisk module
726 .RE
727 .PP
728 \fBdebug_protocol\fR int
729 .RS 4
730 Default:
731 \fI0\fR\. Debug level of the protocol module
732 .RE
733 .PP
734 \fBdebug_planner\fR int
735 .RS 4
736 Default:
737 \fI0\fR\. Debug level of the planner process
738 .RE
739 .PP
740 \fBdebug_driver\fR int
741 .RS 4
742 Default:
743 \fI0\fR\. Debug level of the driver process
744 .RE
745 .PP
746 \fBdebug_dumper\fR int
747 .RS 4
748 Default:
749 \fI0\fR\. Debug level of the dumper process
750 .RE
751 .PP
752 \fBdebug_chunker\fR int
753 .RS 4
754 Default:
755 \fI0\fR\. Debug level of the chunker process
756 .RE
757 .PP
758 \fBdebug_taper\fR int
759 .RS 4
760 Default:
761 \fI0\fR\. Debug level of the taper process
762 .RE
763 .PP
764 \fBflush\-threshold\-dumped\fR int
765 .RS 4
766 Default:
767 \fI0\fR\.
768 \fIAmanda\fR
769 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,
770 \fIAmanda\fR
771 will not begin until the inequality
772 h < t \(mu d
773 is satisfied, where
774 h
775 is the amount of data on the holding disk,
776 t
777 is the capacity of a volume, and
778 d
779 is this parameter, expressed as a percentage\.
780 .sp
781 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
782 \fIAmanda\fR
783 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\.
784 .sp
785 The value of this parameter may not exceed than that of the
786 \fBflush\-threshold\-scheduled\fR
787 parameter\.
788 .RE
789 .PP
790 \fBflush\-threshold\-scheduled\fR int
791 .RS 4
792 Default:
793 \fI0\fR\.
794 \fIAmanda\fR
795 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,
796 \fIAmanda\fR
797 will not begin until the inequality
798 h + s < t \(mu d
799 is satisfied, where
800 h
801 is the amount of data on the holding disk,
802 s
803 is the total amount of data scheduled for this run but not dumped yet,
804 t
805 is the capacity of a volume, and
806 d
807 is this parameter, expressed as a percentage\.
808 .sp
809 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
810 \fIAmanda\fR
811 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\.
812 .sp
813 The value of this parameter may not be less than that of the
814 \fBflush\-threshold\-dumped\fR
815 or
816 \fBtaperflush\fR
817 parameters\.
818 .RE
819 .PP
820 \fBtaperflush\fR int
821 .RS 4
822 Default:
823 \fI0\fR\. At the end of a run,
824 \fIAmanda\fR
825 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,
826 \fIAmanda\fR
827 will begin a new tape if the inequality
828 h < t \(mu f
829 is satisfied, where
830 h
831 is the amount of data remaining on the holding disk from this or previous runs,
832 t
833 is the capacity of a volume, and
834 f
835 is this parameter, expressed as a percentage\.
836 .sp
837 The value of this parameter may not exceed that of the
838 \fBflush\-threshold\-scheduled\fR
839 parameter\.;
840 \fBautoflush\fR
841 must be set to \'yes\' if
842 \fBtaperflush\fR
843 is greater than 0\.
844 .RE
845 .PP
846 \fBreserved\-udp\-port\fR int,int
847 .RS 4
848 Default: \-\-with\-udpportrange or
849 \fI512,1023\fR\. Reserved udp port that will be used (bsd, bsdudp)\. Range is inclusive\.
850 .RE
851 .PP
852 \fBreserved\-tcp\-port\fR int,int
853 .RS 4
854 Default: \-\-with\-low\-tcpportrange or
855 \fI512,1023\fR\. Reserved tcp port that will be used (bsdtcp)\. Range is inclusive\.
856 .RE
857 .PP
858 \fBunreserved\-tcp\-port\fR int,int
859 .RS 4
860 Default: \-\-with\-tcpportrange or
861 \fI1024,65535\fR\. Unreserved tcp port that will be used (bsd, bsdudp)\. Range is inclusive\.
862 .RE
863 .SH "HOLDINGDISK SECTION"
864 .PP
865 The
866 \fBamanda\.conf\fR
867 file may define one or more holding disks used as buffers to hold backup images before they are written to tape\. The syntax is:
868 .sp
869 .RS 4
870 .nf
871 holdingdisk \fIname\fR {
872     \fIholdingdisk\-option\fR \fIholdingdisk\-value\fR
873     \.\.\.
874 }
875 .fi
876 .RE
877 .PP
878 \fIName\fR
879 is a logical name for this holding disk\.
880 .PP
881 The options and values are:
882 .PP
883 \fBcomment\fR \fI string\fR
884 .RS 4
885 Default:
886 \fInone\fR\. A comment string describing this holding disk\.
887 .RE
888 .PP
889 \fBdirectory\fR \fI disk\fR
890 .RS 4
891 Default:
892 \fI/dumps/amanda\fR\. The path to this holding area\.
893 .RE
894 .PP
895 \fBuse\fR \fI int\fR
896 .RS 4
897 Default:
898 \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,
899 \fIAmanda\fR
900 will use all available space minus that value\.
901 .RE
902 .PP
903 \fBchunksize\fR \fI int\fR
904 .RS 4
905 Default:
906 \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\.
907 .sp
908 If 0 is specified,
909 \fIAmanda\fR
910 will create holding disk chunks as large as ((INT_MAX/1024)\-64) Kbytes\.
911 .sp
912 Each holding disk chunk includes a 32 Kbyte header, so the minimum chunk size is 64 Kbytes (but that would be really silly)\.
913 .sp
914 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
915 \fIAmanda\fR
916 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\.
917 .RE
918 .SH "DUMPTYPE SECTION"
919 .PP
920 The
921 \fIamanda\.conf\fR
922 file may define multiple sets of backup options and refer to them by name from the
923 \fIdisklist\fR
924 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\.
925 .PP
926 A set of backup options are entered in a
927 \fBdumptype\fR
928 section, which looks like this:
929 .sp
930 .RS 4
931 .nf
932 define dumptype \fIname\fR {
933     \fIdumptype\-option\fR \fIdumptype\-value\fR
934     \.\.\.
935 }
936 .fi
937 .RE
938 .PP
939 \fIName\fR
940 is the name of this set of backup options\. It is referenced from the
941 \fIdisklist\fR
942 file\.
943 .PP
944 Some of the options in a
945 \fBdumptype\fR
946 section are the same as those in the main part of
947 \fIamanda\.conf\fR\. The main option value is used to set the default for all
948 \fBdumptype\fR
949 sections\. For instance, setting
950 \fBdumpcycle\fR
951 to 50 in the main part of the config file causes all following
952 \fBdumptype\fR
953 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
954 \fBdumptype\fRs are defined\.
955 .PP
956 The dumptype options and values are:
957 .PP
958 \fBauth\fR \fI string\fR
959 .RS 4
960 Default:
961 \fIbsd\fR\. Type of authorization to perform between tape server and backup client hosts\.
962 .sp
963 \fBbsd\fR, bsd authorization with udp initial connection and one tcp connection by data stream\.
964 .sp
965 \fBbsdtcp\fR, bsd authorization but use only one tcp connection\.
966 .sp
967 \fBbsdudp\fR, like bsd, but will use only one tcp connection for all data stream\.
968 .sp
969 \fBkrb4\fR
970 to use Kerberos\-IV authorization\.
971 .sp
972 \fBkrb5\fR
973 to use Kerberos\-V authorization\.
974 .sp
975 \fBlocal\fR, if the client is the server, it doesn\'t require authencation setup\.
976 .sp
977 \fBrsh\fR
978 to use rsh authorization\.
979 .sp
980 \fBssh\fR
981 to use OpenSSH authorization\.
982 .RE
983 .PP
984 \fBamandad_path\fR \fI string\fR
985 .RS 4
986 Default:
987 \fI$libexec/amandad\fR\. Specify the amandad path of the client, only use with rsh/ssh authentification\.
988 .RE
989 .PP
990 \fBclient_username\fR \fI string\fR
991 .RS 4
992 Default:
993 \fICLIENT_LOGIN\fR\. Specify the username to connect on the client, only use with rsh/ssh authentification\.
994 .RE
995 .PP
996 \fBbumpsize\fR int
997 .RS 4
998 Default:
999 \fI10 Mbytes\fR\. The minimum savings required to trigger an automatic bump from one incremental level to the next, expressed as size\. If
1000 \fIAmanda\fR
1001 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
1002 \fIbumppercent\fR
1003 is set to 0\.
1004 .sp
1005 See also the options
1006 \fBbumppercent\fR,
1007 \fBbumpmult\fR
1008 and
1009 \fBbumpdays\fR\.
1010 .RE
1011 .PP
1012 \fBbumppercent\fR int
1013 .RS 4
1014 Default:
1015 \fI0 percent\fR\. The minimum savings required to trigger an automatic bump from one incremental level to the next, expressed as percentage of the current size of the DLE (size of current level 0)\. If
1016 \fIAmanda\fR
1017 determines that the next higher backup level will be this much smaller than the current level, it will do the next level\.
1018 .sp
1019 If this parameter is set to 0, the value of the parameter
1020 \fIbumpsize\fR
1021 is used to trigger bumping\.
1022 .sp
1023 See also the options
1024 \fBbumpsize\fR,
1025 \fBbumpmult\fR
1026 and
1027 \fBbumpdays\fR\.
1028 .RE
1029 .PP
1030 \fBbumpmult\fR \fI float\fR
1031 .RS 4
1032 Default:
1033 1\.5\. The bump size multiplier\.
1034 \fIAmanda\fR
1035 multiplies
1036 \fBbumpsize\fR
1037 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
1038 \fBbumpsize\fR
1039 and
1040 \fBbumpmult\fR
1041 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\.
1042 .RE
1043 .PP
1044 \fBbumpdays\fR \fI int\fR
1045 .RS 4
1046 Default:
1047 \fI2 days\fR\. To insure redundancy in the dumps,
1048 \fIAmanda\fR
1049 keeps filesystems at the same incremental level for at least
1050 \fBbumpdays\fR
1051 days, even if the other bump threshold criteria are met\.
1052 .RE
1053 .PP
1054 \fBcomment\fR \fI string\fR
1055 .RS 4
1056 Default:
1057 \fInone\fR\. A comment string describing this set of backup options\.
1058 .RE
1059 .PP
1060 \fBcomprate\fR \fIfloat\fR [, \fIfloat\fR ]
1061 .RS 4
1062 Default:
1063 0\.50,
1064 0\.50\. The expected full and incremental compression factor for dumps\. It is only used if
1065 \fIAmanda\fR
1066 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\.
1067 .RE
1068 .PP
1069 \fBcompress [client|server]\fR \fI string\fR
1070 .RS 4
1071 Default:
1072 \fIclient fast\fR\. If
1073 \fIAmanda\fR
1074 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\.
1075 .sp
1076 For either type of compression,
1077 \fIAmanda\fR
1078 also allows the selection of three styles of compression\.
1079 \fBBest\fR
1080 is the best compression available, often at the expense of CPU overhead\.
1081 \fBFast\fR
1082 is often not as good a compression as
1083 \fBbest\fR, but usually less CPU overhead\. Or to specify
1084 \fBCustom\fR
1085 to use your own compression method\. (See dumptype custom\-compress in example/amanda\.conf for reference)
1086 .sp
1087 So the
1088 \fBcompress\fR
1089 options line may be one of:
1090 .PP
1091 compress none
1092 .RS 4
1093 .RE
1094 .PP
1095 compress client fast
1096 .RS 4
1097 .RE
1098 .PP
1099 compress client best
1100 .RS 4
1101 .RE
1102 .PP
1103 compress client custom
1104 .RS 4
1105 Specify
1106 \fIclient_custom_compress\fR
1107 "PROG"
1108 .sp
1109 PROG must not contain white space and it must accept \-d for uncompress\.
1110 .RE
1111 .PP
1112 compress server fast
1113 .RS 4
1114 .RE
1115 .PP
1116 compress server best
1117 .RS 4
1118 .RE
1119 .PP
1120 compress server custom
1121 .RS 4
1122 Specify
1123 \fIserver_custom_compress\fR
1124 "PROG"
1125 .sp
1126 PROG must not contain white space and it must accept \-d for uncompress\.
1127 .RE
1128 .sp
1129 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
1130 \fBmt\fR
1131 option),
1132 \fIAmanda\fR
1133 (software) compression should be disabled\.
1134 .RE
1135 .PP
1136 \fBdumpcycle\fR \fI int\fR
1137 .RS 4
1138 Default:
1139 \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\.
1140 .RE
1141 .PP
1142 \fBencrypt [none|client|server]\fR
1143 .RS 4
1144 Default:
1145 \fInone\fR\. To encrypt backup images, it can do so either on the backup client host before it crosses the network or on the tape server host as it goes from the network into the holding disk or to tape\.
1146 .sp
1147 So the
1148 \fBencrypt\fR
1149 options line may be one of:
1150 .PP
1151 encrypt none
1152 .RS 4
1153 .RE
1154 .PP
1155 encrypt client
1156 .RS 4
1157 Specify client_encrypt "PROG"
1158 .sp
1159 PROG must not contain white space\.
1160 .sp
1161 Specify client_decrypt_option "decryption\-parameter" Default: "\-d"
1162 .sp
1163 decryption\-parameter must not contain white space\.
1164 .sp
1165 (See dumptype server\-encrypt\-fast in example/amanda\.conf for reference)
1166 .RE
1167 .PP
1168 encrypt server
1169 .RS 4
1170 Specify server_encrypt "PROG"
1171 .sp
1172 PROG must not contain white space\.
1173 .sp
1174 Specify server_decrypt_option "decryption\-parameter" Default: "\-d"
1175 .sp
1176 decryption\-parameter must not contain white space\.
1177 .sp
1178 (See dumptype client\-encrypt\-nocomp in example/amanda\.conf for reference)
1179 .RE
1180 .sp
1181 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\.
1182 \fIamcrypt\fR
1183 which is a wrapper of
1184 \fIaespipe\fR
1185 is provided as a reference symmetric encryption program\.
1186 .RE
1187 .PP
1188 \fBestimate\fR \fIclient|calcsize|server\fR
1189 .RS 4
1190 Default:
1191 \fIclient\fR\. Determine the way
1192 \fIAmanda\fR
1193 does it\'s estimate\.
1194 .PP
1195 client
1196 .RS 4
1197 Use the same program as the dumping program, this is the most accurate way to do estimates, but it can take a long time\.
1198 .RE
1199 .PP
1200 calcsize
1201 .RS 4
1202 Use a faster program to do estimates, but the result is less accurate\.
1203 .RE
1204 .PP
1205 server
1206 .RS 4
1207 Use only statistics from the previous run to give an estimate, it takes only a few seconds but the result is not accurate if your disk usage changes from day to day\.
1208 .RE
1209 .RE
1210 .PP
1211 \fBexclude\fR [ list|file ][[optional][ append ][ \fIstring\fR ]+]
1212 .RS 4
1213 Default:
1214 \fIfile\fR\. There are two exclude lists,
1215 \fBexclude file\fR
1216 and
1217 \fBexclude list\.\fR
1218 With
1219 \fBexclude file\fR
1220 , the
1221 \fIstring\fR
1222 is a
1223 \fBGNU\-tar\fR
1224 exclude expression\. With
1225 \fBexclude list\fR
1226 , the
1227 \fIstring\fR
1228 is a file name on the client containing
1229 \fBGNU\-tar\fR
1230 exclude expressions\. The path to the specified exclude list file, if present (see description of \'optional\' below), must be readable by the
1231 \fIAmanda\fR
1232 user\.
1233 .sp
1234 All exclude expressions are concatenated in one file and passed to
1235 \fBGNU\-tar\fR
1236 as an
1237 \fB\-\-exclude\-from\fR
1238 argument\.
1239 .sp
1240 Exclude expressions must always be specified as relative to the head directory of the DLE\.
1241 .sp
1242 With the
1243 \fBappend\fR
1244 keyword, the
1245 \fIstring\fR
1246 is appended to the current list, without it, the
1247 \fIstring\fR
1248 overwrites the list\.
1249 .sp
1250 If
1251 \fBoptional\fR
1252 is specified for
1253 \fBexclude list\fR, then amcheck will not complain if the file doesn\'t exist or is not readable\.
1254 .sp
1255 For
1256 \fBexclude list\fR, if the file name is relative, the disk name being backed up is prepended\. So if this is entered:
1257 .sp
1258 .RS 4
1259 .nf
1260     exclude list "\.amanda\.excludes"
1261 .fi
1262 .RE
1263 the actual file used would be
1264 \fI/var/\.amanda\.excludes\fR
1265 for a backup of
1266 \fI/var\fR,
1267 \fI/usr/local/\.amanda\.excludes\fR
1268 for a backup of
1269 \fI/usr/local\fR, and so on\.
1270 .RE
1271 .PP
1272 \fBholdingdisk\fR [ never|auto|required ]
1273 .RS 4
1274 Default:
1275 \fIauto\fR\. Whether a holding disk should be used for these backups or whether they should go directly to tape\. If the holding disk is a portion of another file system that
1276 \fIAmanda\fR
1277 is backing up, that file system should refer to a dumptype with
1278 \fBholdingdisk\fR
1279 set to
1280 \fInever\fR
1281 to avoid backing up the holding disk into itself\.
1282 .PP
1283 \fBnever\fR|no|false|off
1284 .RS 4
1285 Never use a holdingdisk, the dump will always go directly to tape\. There will be no dump if you have a tape error\.
1286 .RE
1287 .PP
1288 \fBauto\fR|yes|true|on
1289 .RS 4
1290 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)
1291 .RE
1292 .PP
1293 \fBrequired\fR
1294 .RS 4
1295 Always dump to holdingdisk, never directly to tape\. There will be no dump if it doesn\'t fit on holdingdisk
1296 .RE
1297 .RE
1298 .PP
1299 \fBignore\fR \fI boolean\fR
1300 .RS 4
1301 Default:
1302 \fIno\fR\. Whether disks associated with this backup type should be backed up or not\. This option is useful when the
1303 \fIdisklist\fR
1304 file is shared among several configurations, some of which should not back up all the listed file systems\.
1305 .RE
1306 .PP
1307 \fBinclude\fR [ list|file ][[optional][ append ][ \fIstring\fR ]+]
1308 .RS 4
1309 Default:
1310 \fIfile\fR
1311 "\."\. There are two include lists,
1312 \fBinclude file\fR
1313 and
1314 \fBinclude list\.\fR
1315 With
1316 \fBinclude file\fR
1317 , the
1318 \fIstring\fR
1319 is a glob expression\. With
1320 \fBinclude list\fR
1321 , the
1322 \fIstring\fR
1323 is a file name on the client containing glob expressions\.
1324 .sp
1325 All include expressions are expanded by
1326 \fIAmanda\fR, concatenated in one file and passed to
1327 \fBGNU\-tar\fR
1328 as a
1329 \fB\-\-files\-from\fR
1330 argument\. They must start with "\./" and contain no other "/"\.
1331 .sp
1332 Include expressions must always be specified as relative to the head directory of the DLE\.
1333 .sp
1334 .it 1 an-trap
1335 .nr an-no-space-flag 1
1336 .nr an-break-flag 1
1337 .br
1338 Note
1339 For globbing to work at all, even the limited single level, the top level directory of the DLE must be readable by the
1340 \fIAmanda\fR
1341 user\.
1342
1343 With the
1344 \fBappend\fR
1345 keyword, the
1346 \fIstring\fR
1347 is appended to the current list, without it, the
1348 \fIstring\fR
1349 overwrites the list\.
1350 .sp
1351 If
1352 \fBoptional\fR
1353 is specified for
1354 \fBinclude list,\fR
1355 then amcheck will not complain if the file doesn\'t exist or is not readable\.
1356 .sp
1357 For
1358 \fBinclude list\fR, If the file name is relative, the disk name being backed up is prepended\.
1359 .RE
1360 .PP
1361 \fBindex\fR \fI boolean\fR
1362 .RS 4
1363 Default:
1364 \fIno\fR\. Whether an index (catalogue) of the backup should be generated and saved in
1365 \fBindexdir\fR\. These catalogues are used by the
1366 \fBamrecover\fR
1367 utility\.
1368 .RE
1369 .PP
1370 \fBkencrypt\fR \fI boolean\fR
1371 .RS 4
1372 Default:
1373 \fIno\fR\. Whether the backup image should be encrypted by Kerberos as it is sent across the network from the backup client host to the tape server host\.
1374 .RE
1375 .PP
1376 \fBmaxdumps\fR \fI int\fR
1377 .RS 4
1378 Default:
1379 1\. The maximum number of backups from a single host that
1380 \fIAmanda\fR
1381 will attempt to run in parallel\. See also the main section parameter
1382 \fBinparallel\fR\.
1383 .RE
1384 .PP
1385 \fBmaxpromoteday\fR \fI int\fR
1386 .RS 4
1387 Default:
1388 10000\. The maximum number of day for a promotion, set it 0 if you don\'t want promotion, set it to 1 or 2 if your disks get overpromoted\.
1389 .RE
1390 .PP
1391 \fBpriority\fR \fI string\fR
1392 .RS 4
1393 Default:
1394 \fImedium\fR\. When there is no tape to write to,
1395 \fIAmanda\fR
1396 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\.
1397 .RE
1398 .PP
1399 \fBprogram\fR \fI string\fR
1400 .RS 4
1401 Default:
1402 \fIDUMP\fR\. The type of backup to perform\. Valid values are
1403 \fBDUMP\fR
1404 for the native operating system backup program, and
1405 \fBGNUTAR\fR
1406 to use
1407 \fBGNU\-tar\fR
1408 or to do PC backups using Samba\.
1409 .RE
1410 .PP
1411 \fBrecord\fR \fI boolean\fR
1412 .RS 4
1413 Default:
1414 \fIyes\fR\. Whether to ask the backup program to update its database (e\.g\.
1415 \fI/etc/dumpdates\fR
1416 for DUMP or
1417 \fI/usr/local/var/amanda/gnutar\-lists\fR
1418 for GNUTAR) of time stamps\. This is normally enabled for daily backups and turned off for periodic archival runs\.
1419 .RE
1420 .PP
1421 \fBskip\-full\fR \fI boolean\fR
1422 .RS 4
1423 Default:
1424 \fIno\fR\. If
1425 \fItrue\fR
1426 and
1427 \fBplanner\fR
1428 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
1429 \fIAmanda\fR
1430 only schedules level 1 incrementals in this configuration; this is probably a bug\.
1431 .RE
1432 .PP
1433 \fBskip\-incr\fR \fI boolean\fR
1434 .RS 4
1435 Default:
1436 \fIno\fR\. If
1437 \fItrue\fR
1438 and
1439 \fBplanner\fR
1440 has scheduled an incremental backup, these disks will be skipped\.
1441 .RE
1442 .PP
1443 \fBstarttime\fR \fI int\fR
1444 .RS 4
1445 Default:
1446 \fInone\fR\. Backups will not start until after this time of day\. The value should be hh*100+mm, e\.g\. 6:30PM (18:30) would be entered as
1447 1830\.
1448 .RE
1449 .PP
1450 \fBstrategy\fR \fI string\fR
1451 .RS 4
1452 Default:
1453 \fIstandard\fR\. Strategy to use when planning what level of backup to run next\. Values are:
1454 .PP
1455 \fBstandard\fR
1456 .RS 4
1457 The standard
1458 \fIAmanda\fR
1459 schedule\.
1460 .RE
1461 .PP
1462 \fBnofull\fR
1463 .RS 4
1464 Never do full backups, only level 1 incrementals\.
1465 .RE
1466 .PP
1467 \fBnoinc\fR
1468 .RS 4
1469 Never do incremental backups, only full dumps\.
1470 .RE
1471 .PP
1472 \fBskip\fR
1473 .RS 4
1474 Never do backups (useful when sharing the
1475 \fIdisklist\fR
1476 file)\.
1477 .RE
1478 .PP
1479 \fBincronly\fR
1480 .RS 4
1481 Only do incremental dumps\.
1482 \fBamadmin force\fR
1483 should be used to tell
1484 \fIAmanda\fR
1485 that a full dump has been performed off\-line, so that it resets to level 1\.
1486 .RE
1487 .RE
1488 .PP
1489 \fBtape_splitsize\fR \fI int\fR
1490 .RS 4
1491 Default:
1492 \fInone\fR\. Split dump file on tape into pieces of a specified size\. This allows dumps to be spread across multiple tapes, and can potentially make more efficient use of tape space\. Note that if this value is too large (more than half the size of the average dump being split), substantial tape space can be wasted\. If too small, large dumps will be split into innumerable tiny dumpfiles, adding to restoration complexity\. A good rule of thumb, usually, is 1/10 of the size of your tape\.
1493 .RE
1494 .PP
1495 \fBsplit_diskbuffer\fR \fI string\fR
1496 .RS 4
1497 Default:
1498 \fInone\fR\. When dumping a split dump in PORT\-WRITE mode (usually meaning "no holding disk"), buffer the split chunks to a file in the directory specified by this option\.
1499 .RE
1500 .PP
1501 \fBfallback_splitsize\fR \fI int\fR
1502 .RS 4
1503 Default:
1504 \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\.
1505 .RE
1506 .PP
1507 The following
1508 \fBdumptype\fR
1509 entries are predefined by
1510 \fIAmanda\fR:
1511 .sp
1512 .RS 4
1513 .nf
1514 define dumptype no\-compress {
1515     compress none
1516 }
1517 define dumptype compress\-fast {
1518     compress client fast
1519 }
1520 define dumptype compress\-best {
1521     compress client best
1522 }
1523 define dumptype srvcompress {
1524     compress server fast
1525 }
1526 define dumptype bsd\-auth {
1527     auth bsd
1528 }
1529 define dumptype krb4\-auth {
1530     auth krb4
1531 }
1532 define dumptype no\-record {
1533     record no
1534 }
1535 define dumptype no\-hold {
1536     holdingdisk no
1537 }
1538 define dumptype no\-full {
1539     skip\-full yes
1540
1541 .fi
1542 .RE
1543 .PP
1544 In addition to options in a
1545 \fBdumptype\fR
1546 section, one or more other
1547 \fBdumptype\fR
1548 names may be entered, which make this
1549 \fBdumptype\fR
1550 inherit options from other previously defined
1551 \fBdumptype\fRs\. For instance, two sections might be the same except for the
1552 \fBrecord\fR
1553 option:
1554 .sp
1555 .RS 4
1556 .nf
1557 define dumptype normal {
1558     comment "Normal backup, no compression, do indexing"
1559     no\-compress
1560     index yes
1561     maxdumps 2
1562 }
1563 define dumptype testing {
1564     comment "Test backup, no compression, do indexing, no recording"
1565     normal
1566     record no
1567 }
1568 .fi
1569 .RE
1570 .PP
1571 \fIAmanda\fR
1572 provides a
1573 \fBdumptype\fR
1574 named
1575 \fIglobal\fR
1576 in the sample
1577 \fBamanda\.conf\fR
1578 file that all
1579 \fBdumptype\fRs should reference\. This provides an easy place to make changes that will affect every
1580 \fBdumptype\fR\.
1581 .SH "TAPETYPE SECTION"
1582 .PP
1583 The
1584 \fBamanda\.conf\fR
1585 file may define multiple types of tape media and devices\. The information is entered in a
1586 \fBtapetype\fR
1587 section, which looks like this in the config file:
1588 .sp
1589 .RS 4
1590 .nf
1591 define tapetype \fIname\fR {
1592     \fItapetype\-option\fR \fItapetype\-value\fR
1593     \.\.\.
1594 }
1595 .fi
1596 .RE
1597 .PP
1598 \fIName\fR
1599 is the name of this type of tape medium/device\. It is referenced from the
1600 \fBtapetype\fR
1601 option in the main part of the config file\.
1602 .PP
1603 The tapetype options and values are:
1604 .PP
1605 \fBcomment\fR \fI string\fR
1606 .RS 4
1607 Default:
1608 \fInone\fR\. A comment string describing this set of tape information\.
1609 .RE
1610 .PP
1611 \fBfilemark\fR \fI int\fR
1612 .RS 4
1613 Default:
1614 \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\.
1615 .RE
1616 .PP
1617 \fBlength\fR \fI int\fR
1618 .RS 4
1619 Default:
1620 \fI2000 kbytes\fR\. How much data will fit on a tape\.
1621 .sp
1622 Note that this value is only used by
1623 \fIAmanda\fR
1624 to schedule which backups will be run\. Once the backups start,
1625 \fIAmanda\fR
1626 will continue to write to a tape until it gets an error, regardless of what value is entered for
1627 \fBlength\fR
1628 (but see the section OUTPUT DRIVERS in the
1629 \fBamanda\fR(8)
1630 manpage for exceptions)\.
1631 .RE
1632 .PP
1633 \fBblocksize\fR \fI int\fR
1634 .RS 4
1635 Default:
1636 \fI32 kbytes\fR\. How much data will be written in each tape record expressed in KiloBytes\. The tape record size (= blocksize) can not be reduced below the default 32 KBytes\. The parameter blocksize can only be raised if
1637 \fIAmanda\fR
1638 was compiled with the configure option \-\-with\-maxtapeblocksize=N set with "N" greater than 32 during
1639 \fBconfigure\fR\.
1640 .RE
1641 .PP
1642 \fBreadblocksize\fR \fI int\fR
1643 .RS 4
1644 Default: (\fIfrom configure \-\-with\-maxtapeblocksize\fR)\. How much data will be read in each tape record expressed in KiloBytes\. Some hardware require a value not too large, and some require it to be equal to the blocksize\. It is useful if you configured amanda with a big \-\-with\-maxtapeblocksize and your hardware don\'t work with a value that big\.
1645 .RE
1646 .PP
1647 \fBfile\-pad\fR \fI boolean\fR
1648 .RS 4
1649 Default:
1650 \fItrue\fR\. If true, every record, including the last one in the file, will have the same length\. This matches the way
1651 \fIAmanda\fR
1652 wrote tapes prior to the availability of this parameter\. It may also be useful on devices that only support a fixed blocksize\.
1653 .sp
1654 Note that the last record on the tape probably includes trailing null byte padding, which will be passed back to
1655 \fBgzip\fR,
1656 \fBcompress\fR
1657 or the restore program\. Most programs just ignore this (although possibly with a warning)\.
1658 .sp
1659 If this parameter is false, the last record in a file may be shorter than the block size\. The file will contain the same amount of data the dump program generated, without trailing null byte padding\. When read, the same amount of data that was written will be returned\.
1660 .RE
1661 .PP
1662 \fBspeed\fR \fI int\fR
1663 .RS 4
1664 Default:
1665 \fI200 bps\fR\. How fast the drive will accept data, in bytes per second\. This parameter is NOT currently used by
1666 \fIAmanda\fR\.
1667 .RE
1668 .PP
1669 \fBlbl\-templ\fR \fI string\fR
1670 .RS 4
1671 A PostScript template file used by
1672 \fBamreport\fR
1673 to generate labels\. Several sample files are provided with the
1674 \fIAmanda\fR
1675 sources in the
1676 \fIexample\fR
1677 directory\. See the
1678 \fBamreport\fR(8)
1679 man page for more information\.
1680 .RE
1681 .PP
1682 In addition to options, another
1683 \fBtapetype\fR
1684 name may be entered, which makes this
1685 \fBtapetype\fR
1686 inherit options from another
1687 \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:
1688 .sp
1689 .RS 4
1690 .nf
1691 define tapetype DLT4000\-III {
1692     comment "DLT4000 tape drives with Compact\-III tapes"
1693     length 12500 mbytes         # 10 Gig tapes with some compression
1694     filemark 2000 kbytes
1695     speed 1536 kps
1696 }
1697 define tapetype DLT4000\-IV {
1698     DLT4000\-III
1699     comment "DLT4000 tape drives with Compact\-IV tapes"
1700     length 25000 mbytes         # 20 Gig tapes with some compression
1701 }
1702 .fi
1703 .RE
1704 .sp
1705 .SH "INTERFACE SECTION"
1706 .PP
1707 The
1708 \fBamanda\.conf\fR
1709 file may define multiple types of network interfaces\. The information is entered in an
1710 \fBinterface\fR
1711 section, which looks like this:
1712 .sp
1713 .RS 4
1714 .nf
1715 define interface \fIname\fR {
1716     \fIinterface\-option\fR \fIinterface\-value\fR
1717     \.\.\.
1718 }
1719 .fi
1720 .RE
1721 .PP
1722 \fIname\fR
1723 is the name of this type of network interface\. It is referenced from the
1724 \fIdisklist\fR
1725 file\.
1726 .PP
1727 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
1728 \fIAmanda\fR\.
1729 \fIAmanda\fR
1730 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,
1731 \fIAmanda\fR
1732 will use as much of the network as it can leaving throttling up to the operating system and network hardware\.
1733 .PP
1734 The interface options and values are:
1735 .PP
1736 \fBcomment\fR \fI string\fR
1737 .RS 4
1738 Default:
1739 \fInone\fR\. A comment string describing this set of network information\.
1740 .RE
1741 .PP
1742 \fBuse\fR \fI int\fR
1743 .RS 4
1744 Default:
1745 \fI8000 Kbps\fR\. The speed of the interface in Kbytes per second\.
1746 .RE
1747 .PP
1748 In addition to options, another
1749 \fBinterface\fR
1750 name may be entered, which makes this
1751 \fBinterface\fR
1752 inherit options from another
1753 \fBinterface\fR\. At the moment, this is of little use\.
1754 .SH "AUTHOR"
1755 .PP
1756 James da Silva,
1757 <jds@amanda\.org>: Original text
1758 .PP
1759 Stefan G\. Weichinger,
1760 <sgw@amanda\.org>, maintainer of the
1761 \fIAmanda\fR\-documentation: XML\-conversion, major update, splitting
1762 .SH "SEE ALSO"
1763 .PP
1764
1765 \fBamanda\fR(8),
1766 \fBamanda-client.conf\fR(5),
1767 \fBamcrypt\fR(8),
1768 \fBaespipe\fR(1),
1769 \fI\%http://wiki.zmanda.com\fR
1770 .PP
1771 An updated version of this man page may be available at http://wiki\.zmanda\.com/index\.php/Amanda\.conf\.