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