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