Imported Upstream version 2.5.1
[debian/amanda] / man / amanda.conf.5
1 .\"Generated by db2man.xsl. Don't modify this, modify the source.
2 .de Sh \" Subsection
3 .br
4 .if t .Sp
5 .ne 5
6 .PP
7 \fB\\$1\fR
8 .PP
9 ..
10 .de Sp \" Vertical space (when we can't use .PP)
11 .if t .sp .5v
12 .if n .sp
13 ..
14 .de Ip \" List item
15 .br
16 .ie \\n(.$>=3 .ne \\$3
17 .el .ne 3
18 .IP "\\$1" \\$2
19 ..
20 .TH "AMANDA.CONF" 5 "" "" ""
21 .SH "NAME"
22 amanda.conf - Main configuration file for Amanda, the Advanced Maryland Automatic Network Disk Archiver
23 .SH "DESCRIPTION"
24 .PP
25 \fIamanda.conf\fR
26 is the main configuration file for
27 \fBAmanda\fR. This manpage lists the relevant sections and parameters of this file for quick reference.
28 .PP
29 The file
30 \fB<CONFIG_DIR>/<config>/amanda.conf\fR
31 is loaded.
32 .SH "PARAMETERS"
33 .PP
34 There are a number of configuration parameters that control the behavior of the
35 \fBAmanda\fR
36 programs. All have default values, so you need not specify the parameter in
37 \fBamanda.conf\fR
38 if the default is suitable.
39 .PP
40 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.
41 .PP
42 Keywords are case insensitive, i.e.
43 \fBmailto\fR
44 and
45 \fBMailTo\fR
46 are treated the same.
47 .PP
48 Integer arguments may have one of the following (case insensitive) suffixes, some of which have a multiplier effect:
49 .SS "POSSIBLE SUFFIXES"
50 .TP
51 \fBb byte bytes\fR
52 Some number of bytes.
53 .TP
54 \fBbps\fR
55 Some number of bytes per second.
56 .TP
57 \fBk kb kbyte kbytes kilobyte kilobytes\fR
58 Some number of kilobytes (bytes*1024).
59 .TP
60 \fBkps kbps\fR
61 Some number of kilobytes per second (bytes*1024).
62 .TP
63 \fBm mb meg mbyte mbytes megabyte megabytes\fR
64 Some number of megabytes (bytes*1024*1024).
65 .TP
66 \fBmps mbps\fR
67 Some number of megabytes per second (bytes*1024*1024).
68 .TP
69 \fBg gb gbyte gbytes gigabyte gigabytes\fR
70 Some number of gigabytes (bytes*1024*1024*1024).
71 .TP
72 \fBtape tapes\fR
73 Some number of tapes.
74 .TP
75 \fBday days\fR
76 Some number of days.
77 .TP
78 \fBweek weeks\fR
79 Some number of weeks (days*7).
80 .sp
81 .it 1 an-trap
82 .nr an-no-space-flag 1
83 .nr an-break-flag 1
84 .br
85 \fBNote\fR
86 The value
87 \fBinf\fR
88 may be used in most places where an integer is expected
89 to mean an infinite amount.
90
91 Boolean arguments may have any of the values
92 \fBy\fR,
93 \fByes\fR,
94 \fBt\fR,
95 \fBtrue\fR
96 or
97 \fBon\fR
98 to indicate a true state, or
99 \fBn\fR,
100 \fBno\fR,
101 \fBf\fR,
102 \fBfalse\fR
103 or
104 \fBoff\fR
105 to indicate a false state. If no argument is given,
106 \fBtrue\fR
107 is assumed.
108 .SS "PARAMETERS"
109 .TP
110 \fBorg\fR \fB string\fR
111 Default:
112 \fBdaily\fR. A descriptive name for the configuration. This string appears in the Subject line of mail reports. Each
113 \fBAmanda\fR
114 configuration should have a different string to keep mail reports distinct.
115 .TP
116 \fBmailto\fR \fB string\fR
117 Default:
118 \fBoperators\fR. A space separated list of recipients for mail reports.
119 .TP
120 \fBdumpcycle\fR \fB int\fR
121 Default:
122 \fB10 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.
123 .sp
124 .it 1 an-trap
125 .nr an-no-space-flag 1
126 .nr an-break-flag 1
127 .br
128 \fBNote\fR
129 This parameter may also be set in a specific
130 \fBdumptype\fR
131 (see below).
132 This value sets the default for all
133 \fBdumptype\fRs
134 so must appear in
135 \fBamanda.conf\fR
136 before any
137 \fBdumptype\fRs
138 are defined..TP
139 \fBrunspercycle\fR \fB int\fR
140 Default:
141 \fBsame as dumpcycle\fR. The number of amdump runs in
142 \fBdumpcycle\fR
143 days. A value of 0 means the same value as
144 \fBdumpcycle\fR. A value of -1 means guess the number of runs from the
145 \fBtapelist\fR
146 file, which is the number of tapes used in the last
147 \fBdumpcycle\fR
148 days /
149 \fBruntapes\fR.
150 .TP
151 \fBtapecycle\fR \fB int\fR
152 Default:
153 \fB15 tapes\fR. Typically tapes are used by
154 \fBAmanda\fR
155 in an ordered rotation. The
156 \fBtapecycle\fR
157 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
158 \fBdumpcycle\fR
159 parameter).
160 .sp
161 This is calculated by multiplying the number of
162 \fBamdump\fR
163 runs per dump cycle (\fBrunspercycle\fR
164 parameter) times the number of tapes used per run (\fBruntapes\fR
165 parameter). Typically two to four times this calculated number of tapes are in rotation. While
166 \fBAmanda\fR
167 is always willing to use a new tape in its rotation, it refuses to reuse a tape until at least '\fBtapecycle\fR
168 -1' number of other tapes have been used.
169 .sp
170 It is considered good administrative practice to set the
171 \fBtapecycle\fR
172 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.
173 .TP
174 \fBusetimestamps\fR \fB bool\fR
175 Default:
176 \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.
177 .sp
178 \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
179 .TP
180 \fBlabel_new_tapes\fR \fB string\fR
181 Default: not set. When set, this directive will cause
182 \fBAmanda\fR
183 to automatically write an
184 \fBAmanda\fR
185 tape label to any blank tape she encounters. This option is DANGEROUS because when set,
186 \fBAmanda\fR
187 will ERASE any non-\fBAmanda\fR
188 tapes you may have, and may also ERASE any near-failing tapes. Use with caution.
189 .sp
190 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:
191 label_new_tapes "DailySet1-%%%"
192 .TP
193 \fBdumpuser\fR \fB string\fR
194 Default:
195 \fBamanda\fR. The login name
196 \fBAmanda\fR
197 uses to run the backups. The backup client hosts must allow access from the tape server host as this user via
198 .rhosts
199 or
200 .amandahosts, depending on how the
201 \fBAmanda\fR
202 software was built.
203 .TP
204 \fBprinter\fR string
205 Printer to use when doing tape labels. See the
206 \fBlbl-templ\fR\fBtapetype\fR
207 option.
208 .TP
209 \fBtapedev\fR string
210 Default:
211 \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.
212 \fI/dev/rmt/0mn\fR, however this is operating system specific and you should consult that documentation for detailed naming information.
213 .sp
214 If a tape changer is configured (see the
215 \fBtpchanger\fR
216 option), this option might not be used.
217 .sp
218 If the
219 \fBnull\fR
220 output driver is selected (see the section OUTPUT DRIVERS in the
221 \fBamanda\fR(8)
222 manpage for more information), programs such as
223 \fBamdump\fR
224 will run normally but all images will be thrown away. This should only be used for debugging and testing, and probably only with the
225 \fBrecord\fR
226 option set to
227 \fBno\fR.
228 .TP
229 \fBrawtapedev\fR string
230 Default:
231 \fInull:\fR. The path name of the raw tape device. This is only used if
232 \fBAmanda\fR
233 is compiled for Linux machines with floppy tapes and is needed for QIC volume table operations.
234 .TP
235 \fBtpchanger\fR string
236 Default:
237 \fBnone\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.
238 .sp
239 If a tape changer is configured, choose one of the changer scripts (e.g.
240 \fBchg-scsi\fR) and enter that here.
241 .TP
242 \fBchangerdev\fR string
243 Default:
244 \fI/dev/null\fR. A tape changer configuration parameter. Usage depends on the particular changer defined with the
245 \fBtpchanger\fR
246 option.
247 .TP
248 \fBchangerfile\fR string
249 Default:
250 \fI/usr/adm/amanda/log/changer-status\fR. A tape changer configuration parameter. Usage depends on the particular changer defined with the
251 \fBtpchanger\fR
252 option.
253 .TP
254 \fBruntapes\fR int
255 Default:
256 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.
257 .sp
258 If a tape changer is configured, this may be set larger than one to let
259 \fBAmanda\fR
260 write to more than one tape.
261 .sp
262 Note that this is an upper bound on the number of tapes, and
263 \fBAmanda\fR
264 may use less.
265 .sp
266 Also note that as of this release,
267 \fBAmanda\fR
268 does not support true tape overflow. When it reaches the end of one tape, the backup image
269 \fBAmanda\fR
270 was processing starts over again on the next tape.
271 .TP
272 \fBmaxdumpsize\fR int
273 Default:
274 \fBruntapes\fR*\fBtape_length\fR. Maximum number of bytes the planner will schedule for a run.
275 .TP
276 \fBtaperalgo\fR [first|firstfit|largest|largestfit|smallest|last]
277 Default:
278 \fBfirst\fR. The algorithm used to choose which dump image to send to the taper.
279 .RS
280 .TP
281 \fBfirst\fR
282 First in, first out.
283 .TP
284 \fBfirstfit\fR
285 The first dump image that will fit on the current tape.
286 .TP
287 \fBlargest\fR
288 The largest dump image.
289 .TP
290 \fBlargestfit\fR
291 The largest dump image that will fit on the current tape.
292 .TP
293 \fBsmallest\fR
294 The smallest dump image.
295 .TP
296 \fBlast\fR
297 Last in, first out.
298 .RE
299 .TP
300 \fBlabelstr\fR \fB string\fR
301 Default:
302 \fB.*\fR. The tape label constraint regular expression. All tape labels generated (see
303 \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.
304 .TP
305 \fBtapetype\fR \fB string\fR
306 Default:
307 \fBEXABYTE\fR. The type of tape drive associated with
308 \fBtapedev\fR
309 or
310 \fBtpchanger\fR. This refers to one of the defined
311 \fBtapetype\fRs in the config file (see below), which specify various tape parameters, like the
312 \fBlength\fR,
313 \fBfilemark\fR
314 size, and
315 \fBspeed\fR
316 of the tape media and device.
317 .sp
318 First character of a
319 \fBtapetype\fR
320 string must be an alphabetic character
321 .TP
322 \fBctimeout\fR int
323 Default:
324 \fB30 seconds\fR. Maximum amount of time that
325 \fBamcheck\fR
326 will wait for each client host.
327 .TP
328 \fBdtimeout\fR int
329 Default:
330 \fB1800 seconds\fR. Amount of idle time per disk on a given client that a
331 \fBdumper\fR
332 running from within
333 \fBamdump\fR
334 will wait before it fails with a data timeout error.
335 .TP
336 \fBetimeout\fR int
337 Default:
338 \fB300 seconds\fR. Amount of time per disk on a given client that the
339 \fBplanner\fR
340 step of
341 \fBamdump\fR
342 will wait to get the dump size estimates. For instance, with the default of 300 seconds and four disks on client A,
343 \fBplanner\fR
344 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.
345 .TP
346 \fBnetusage\fR int
347 Default:
348 \fB300 Kbps\fR. The maximum network bandwidth allocated to
349 \fBAmanda\fR, in Kbytes per second. See also the
350 \fBinterface\fR
351 section.
352 .TP
353 \fBinparallel\fR int
354 Default:
355 10. The maximum number of backups that
356 \fBAmanda\fR
357 will attempt to run in parallel.
358 \fBAmanda\fR
359 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.
360 .TP
361 \fBdisplayunit\fR "k|m|g|t"
362 Default:
363 "k". The unit used to print many numbers, k=kilo, m=mega, g=giga, t=tera.
364 .TP
365 \fBdumporder\fR string
366 Default:
367 \fBtttTTTTTTT\fR. The priority order of each dumper:
368 .RS
369 .TP 3
370 &#8226;
371 s: smallest size
372 .TP
373 &#8226;
374 S: largest size
375 .TP
376 &#8226;
377 t: smallest time
378 .TP
379 &#8226;
380 T: largest time
381 .TP
382 &#8226;
383 b: smallest bandwidth
384 .TP
385 &#8226;
386 B: largest bandwidth
387 .RE
388 .TP
389 \fBmaxdumps\fR int
390 Default:
391 1. The maximum number of backups from a single host that
392 \fBAmanda\fR
393 will attempt to run in parallel. See also the
394 \fBinparallel\fR
395 option.
396 .sp
397 Note that this parameter may also be set in a specific
398 \fBdumptype\fR
399 (see below). This value sets the default for all
400 \fBdumptype\fRs so must appear in
401 \fBamanda.conf\fR
402 before any
403 \fBdumptype\fRs are defined.
404 .TP
405 \fBbumpsize\fR int
406 Default:
407 \fB10 Mbytes\fR. The minimum savings required to trigger an automatic bump from one incremental level to the next, expressed as size. If
408 \fBAmanda\fR
409 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
410 \fBbumppercent\fR
411 is set to 0.
412 .sp
413 The global setting of this parameter can be overwritten inside of a dumptype-definition.
414 .sp
415 See also the options
416 \fBbumppercent\fR,
417 \fBbumpmult\fR
418 and
419 \fBbumpdays\fR.
420 .TP
421 \fBbumppercent\fR int
422 Default:
423 \fB0 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
424 \fBAmanda\fR
425 determines that the next higher backup level will be this much smaller than the current level, it will do the next level.
426 .sp
427 If this parameter is set to 0, the value of the parameter
428 \fBbumpsize\fR
429 is used to trigger bumping.
430 .sp
431 The global setting of this parameter can be overwritten inside of a dumptype-definition.
432 .sp
433 See also the options
434 \fBbumpsize\fR,
435 \fBbumpmult\fR
436 and
437 \fBbumpdays\fR.
438 .TP
439 \fBbumpmult\fR \fB float\fR
440 Default:
441 1.5. The bump size multiplier.
442 \fBAmanda\fR
443 multiplies
444 \fBbumpsize\fR
445 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
446 \fBbumpsize\fR
447 and
448 \fBbumpmult\fR
449 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.
450 .sp
451 The global setting of this parameter can be overwritten inside of a dumptype-definition.
452 .TP
453 \fBbumpdays\fR \fB int\fR
454 Default:
455 \fB2 days\fR. To insure redundancy in the dumps,
456 \fBAmanda\fR
457 keeps filesystems at the same incremental level for at least
458 \fBbumpdays\fR
459 days, even if the other bump threshold criteria are met.
460 .sp
461 The global setting of this parameter can be overwritten inside of a dumptype-definition.
462 .TP
463 \fBdiskfile\fR \fB string\fR
464 Default:
465 \fBdisklist\fR. The file name for the
466 \fBdisklist\fR
467 file holding client hosts, disks and other client dumping information.
468 .TP
469 \fBinfofile\fR \fB string\fR
470 Default:
471 \fI/usr/adm/amanda/curinfo\fR. The file or directory name for the historical information database. If
472 \fBAmanda\fR
473 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.
474 .TP
475 \fBlogdir\fR \fB string\fR
476 Default:
477 \fI/usr/adm/amanda\fR. The directory for the
478 \fBamdump\fR
479 and
480 \fBlog\fR
481 files.
482 .TP
483 \fBindexdir\fR \fB string\fR
484 Default
485 \fI/usr/adm/amanda/index\fR. The directory where index files (backup image catalogues) are stored. Index files are only generated for filesystems whose
486 \fBdumptype\fR
487 has the
488 \fBindex\fR
489 option enabled.
490 .TP
491 \fBtapelist\fR \fB string\fR
492 Default:
493 \fBtapelist\fR. The file name for the active
494 \fBtapelist\fR
495 file.
496 \fBAmanda\fR
497 maintains this file with information about the active set of tapes.
498 .TP
499 \fBtapebufs\fR \fB int\fR
500 Default:
501 20. The number of buffers used by the
502 \fBtaper\fR
503 process run by
504 \fBamdump\fR
505 and
506 \fBamflush\fR
507 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.
508 .TP
509 \fBreserve\fR \fB number\fR
510 Default:
511 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.
512 .TP
513 \fBautoflush\fR \fB bool\fR
514 Default:
515 \fBoff\fR. Whether an amdump run will flush the dumps from holding disk to tape.
516 .TP
517 \fBamrecover_do_fsf\fR \fB bool\fR
518 Default:
519 \fBon\fR. Amrecover will call amrestore with the -f flag for faster positioning of the tape.
520 .TP
521 \fBamrecover_check_label\fR \fB bool\fR
522 Default:
523 \fBon\fR. Amrecover will call amrestore with the -l flag to check the label.
524 .TP
525 \fBamrecover_changer\fR \fB string\fR
526 Default: ''. Amrecover will use the changer if you use 'settape <string>' and that string is the same as the amrecover_changer setting.
527 .TP
528 \fBcolumnspec\fR \fB string\fR
529 Defines the width of columns
530 \fBamreport\fR
531 should use.
532 \fBString\fR
533 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:
534 .RS
535 .TP 3
536 &#8226;
537 the name of the column, which may be:
538 .RS
539 .TP 3
540 &#8226;
541 Compress (compression ratio)
542 .TP
543 &#8226;
544 Disk (client disk name)
545 .TP
546 &#8226;
547 DumpRate (dump rate in KBytes/sec)
548 .TP
549 &#8226;
550 DumpTime (total dump time in hours:minutes)
551 .TP
552 &#8226;
553 HostName (client host name)
554 .TP
555 &#8226;
556 Level (dump level)
557 .TP
558 &#8226;
559 OrigKB (original image size in KBytes)
560 .TP
561 &#8226;
562 OutKB (output image size in KBytes)
563 .TP
564 &#8226;
565 TapeRate (tape writing rate in KBytes/sec)
566 .TP
567 &#8226;
568 TapeTime (total tape time in hours:minutes)
569 .RE
570 .TP
571 &#8226;
572 the amount of space to display before the column (used to get whitespace between columns).
573 .TP
574 &#8226;
575 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.
576 .RE
577 .IP
578 Here is an example:
579 .nf
580
581 columnspec "Disk=1:18,HostName=0:10,OutKB=1:7"
582
583 .fi
584
585 The above will display the disk information in 18 characters
586 and put one space before it. The hostname column will be 10 characters wide with
587 no space to the left. The output KBytes column is seven characters wide
588 with one space before it.
589   .TP
590 \fBincludefile\fR \fB string\fR
591 Default:
592 \fBnone\fR. The name of an
593 \fBAmanda\fR
594 configuration file to include within the current file. Useful for sharing dumptypes, tapetypes and interface definitions among several configurations.
595 .SH "HOLDINGDISK SECTION"
596 .PP
597 The
598 \fBamanda.conf\fR
599 file may define one or more holding disks used as buffers to hold backup images before they are written to tape. The syntax is:
600 .nf
601
602 holdingdisk \fBname\fR {
603     \fBholdingdisk-option\fR \fBholdingdisk-value\fR
604     ...
605 }
606 .fi
607 .PP
608 \fBName\fR
609 is a logical name for this holding disk.
610 .PP
611 The options and values are:
612 .TP
613 \fBcomment\fR \fB string\fR
614 Default:
615 \fBnone\fR. A comment string describing this holding disk.
616 .TP
617 \fBdirectory\fR \fB disk\fR
618 Default:
619 \fI/dumps/amanda\fR. The path to this holding area.
620 .TP
621 \fBuse\fR \fB int\fR
622
623 Default:
624 \fB0 Gb\fR.
625 Amount of space that can be used in this holding disk area.
626 If the value is zero, all available space on the file system is used.
627 If the value is negative, \fBAmanda\fR will use all available space minus that value.
628   .TP
629 \fBchunksize\fR \fB int\fR
630
631 Default:
632 \fB1 Gb\fR.
633 Holding disk chunk size. Dumps larger than the specified size will be stored in multiple
634 holding disk files. The size of each chunk will not exceed the specified value.
635 However, even though dump images are split in the holding disk, they are concatenated as 
636 they are written to tape, so each dump image still corresponds to a single continuous 
637 tape section.
638
639 If 0 is specified, \fBAmanda\fR will create holding disk chunks as large as
640 ((INT_MAX/1024)-64) Kbytes.
641
642 Each holding disk chunk includes a 32 Kbyte header, so the minimum
643 chunk size is 64 Kbytes (but that would be really silly).
644
645 Operating systems that are limited to a maximum file size of 2 Gbytes
646 actually cannot handle files that large.
647 They must be at least one byte less than 2 Gbytes.
648 Since \fBAmanda\fR works with 32 Kbyte blocks, and
649 to handle the final read at the end of the chunk, the chunk size
650 should be at least 64 Kbytes (2 * 32 Kbytes) smaller than the maximum
651 file size, e.g. 2047 Mbytes.
652   .SH "DUMPTYPE SECTION"
653 .PP
654 The
655 \fIamanda.conf\fR
656 file may define multiple sets of backup options and refer to them by name from the
657 \fIdisklist\fR
658 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.
659 .PP
660 A set of backup options are entered in a
661 \fBdumptype\fR
662 section, which looks like this:
663 .nf
664
665 define dumptype \fBname\fR {
666     \fBdumptype-option\fR \fBdumptype-value\fR
667     ...
668 }
669 .fi
670 .PP
671 \fBName\fR
672 is the name of this set of backup options. It is referenced from the
673 \fIdisklist\fR
674 file.
675 .PP
676 Some of the options in a
677 \fBdumptype\fR
678 section are the same as those in the main part of
679 \fIamanda.conf\fR. The main option value is used to set the default for all
680 \fBdumptype\fR
681 sections. For instance, setting
682 \fBdumpcycle\fR
683 to 50 in the main part of the config file causes all following
684 \fBdumptype\fR
685 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
686 \fBdumptype\fRs are defined.
687 .PP
688 The dumptype options and values are:
689 .TP
690 \fBauth\fR \fB string\fR
691 Default:
692 \fBbsd\fR. Type of authorization to perform between tape server and backup client hosts.
693 .sp
694 \fBbsd\fR, bsd authorization with udp initial connection and one tcp connection by data stream.
695 .sp
696 \fBbsdtcp\fR, bsd authorization but use only one tcp connection.
697 .sp
698 \fBbsdudp\fR, like bsd, but will use only one tcp connection for all data stream.
699 .sp
700 \fBkrb4\fR
701 to use Kerberos-IV authorization.
702 .sp
703 \fBkrb5\fR
704 to use Kerberos-V authorization.
705 .sp
706 \fBrsh\fR
707 to use rsh authorization.
708 .sp
709 \fBssh\fR
710 to use OpenSSH authorization.
711 .TP
712 \fBamandad_path\fR \fB string\fR
713 Default:
714 \fB$libexec/amandad\fR. Specify the amandad path of the client, only use with rsh/ssh authentification.
715 .TP
716 \fBclient_username\fR \fB string\fR
717 Default:
718 \fBCLIENT_LOGIN\fR. Specify the username to connect on the client, only use with rsh/ssh authentification.
719 .TP
720 \fBbumpsize\fR int
721 Default:
722 \fB10 Mbytes\fR. The minimum savings required to trigger an automatic bump from one incremental level to the next, expressed as size. If
723 \fBAmanda\fR
724 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
725 \fBbumppercent\fR
726 is set to 0.
727 .sp
728 See also the options
729 \fBbumppercent\fR,
730 \fBbumpmult\fR
731 and
732 \fBbumpdays\fR.
733 .TP
734 \fBbumppercent\fR int
735 Default:
736 \fB0 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
737 \fBAmanda\fR
738 determines that the next higher backup level will be this much smaller than the current level, it will do the next level.
739 .sp
740 If this parameter is set to 0, the value of the parameter
741 \fBbumpsize\fR
742 is used to trigger bumping.
743 .sp
744 See also the options
745 \fBbumpsize\fR,
746 \fBbumpmult\fR
747 and
748 \fBbumpdays\fR.
749 .TP
750 \fBbumpmult\fR \fB float\fR
751 Default:
752 1.5. The bump size multiplier.
753 \fBAmanda\fR
754 multiplies
755 \fBbumpsize\fR
756 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
757 \fBbumpsize\fR
758 and
759 \fBbumpmult\fR
760 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.
761 .TP
762 \fBbumpdays\fR \fB int\fR
763 Default:
764 \fB2 days\fR. To insure redundancy in the dumps,
765 \fBAmanda\fR
766 keeps filesystems at the same incremental level for at least
767 \fBbumpdays\fR
768 days, even if the other bump threshold criteria are met.
769 .TP
770 \fBcomment\fR \fB string\fR
771 Default:
772 \fBnone\fR. A comment string describing this set of backup options.
773 .TP
774 \fBcomprate\fR \fBfloat\fR [, \fBfloat\fR ]
775 Default:
776 0.50,
777 0.50. The expected full and incremental compression factor for dumps. It is only used if
778 \fBAmanda\fR
779 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.
780 .TP
781 \fBcompress [client|server]\fR \fB string\fR
782 Default:
783 \fBclient fast\fR. If
784 \fBAmanda\fR
785 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.
786 .sp
787 For either type of compression,
788 \fBAmanda\fR
789 also allows the selection of three styles of compression.
790 \fBBest\fR
791 is the best compression available, often at the expense of CPU overhead.
792 \fBFast\fR
793 is often not as good a compression as
794 \fBbest\fR, but usually less CPU overhead. Or to specify
795 \fBCustom\fR
796 to use your own compression method. (See dumptype custom-compress in example/amanda.conf for reference)
797 .sp
798 So the
799 \fBcompress\fR
800 options line may be one of:
801 .RS
802 .TP 3
803 &#8226;
804 compress none
805 .TP
806 &#8226;
807 compress [client] fast
808 .TP
809 &#8226;
810 compress [client] best
811 .TP
812 &#8226;
813 compress client custom
814 .sp
815 Specify client_custom_compress "PROG"
816 .sp
817 PROG must not contain white space and it must accept -d for uncompress.
818 .TP
819 &#8226;
820 compress server fast
821 .TP
822 &#8226;
823 compress server best
824 .TP
825 &#8226;
826 compress server custom
827 .sp
828 Specify server_custom_compress "PROG"
829 .sp
830 PROG must not contain white space and it must accept -d for uncompress.
831 .RE
832 .IP
833 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
834 \fBmt\fR
835 option),
836 \fBAmanda\fR
837 (software) compression should be disabled.
838 .TP
839 \fBdumpcycle\fR \fB int\fR
840 Default:
841 \fB10 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.
842 .TP
843 \fBencrypt [none|client|server]\fR
844 Default:
845 \fBnone\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.
846 .sp
847 So the
848 \fBencrypt\fR
849 options line may be one of:
850 .RS
851 .TP 3
852 &#8226;
853 encrypt none
854 .TP
855 &#8226;
856 encrypt client
857 .sp
858 Specify client_encrypt "PROG"
859 .sp
860 PROG must not contain white space.
861 .sp
862 Specify client_decrypt_option "decryption-parameter" Default: "-d"
863 .sp
864 decryption-parameter must not contain white space.
865 .sp
866 (See dumptype server-encrypt-fast in example/amanda.conf for reference)
867 .TP
868 &#8226;
869 encrypt server
870 .sp
871 Specify server_encrypt "PROG"
872 .sp
873 PROG must not contain white space.
874 .sp
875 Specify server_decrypt_option "decryption-parameter" Default: "-d"
876 .sp
877 decryption-parameter must not contain white space.
878 .sp
879 (See dumptype client-encrypt-nocomp in example/amanda.conf for reference)
880 .RE
881 .PP
882 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.
883 \fBamcrypt\fR
884 which is a wrapper of
885 \fBaespipe\fR
886 is provided as a reference symmetric encryption program.
887 .TP
888 \fBestimate\fR \fBclient|calcsize|server\fR
889 Default:
890 \fBclient\fR. Determine the way
891 \fBAmanda\fR
892 does it's estimate.
893 .RS
894 .TP 3
895 &#8226;
896 client:
897 .sp
898 Use the same program as the dumping program, this is the most accurate way to do estimates, but it can take a long time.
899 .TP
900 &#8226;
901 calcsize:
902 .sp
903 Use a faster program to do estimates, but the result is less accurate.
904 .TP
905 &#8226;
906 server:
907 .sp
908 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.
909 .RE
910 .TP
911 \fBexclude\fR [ \fBlist|file\fR ][[optional][ \fBappend\fR ][ \fB string\fR ]+]
912 Default:
913 \fBfile\fR. There are two exclude lists,
914 \fBexclude file\fR
915 and
916 \fBexclude list.\fR
917 With
918 \fBexclude file\fR
919 , the
920 \fBstring\fR
921 is a
922 \fBGNU-tar\fR
923 exclude expression. With
924 \fBexclude list\fR
925 , the
926 \fBstring\fR
927 is a file name on the client containing
928 \fBGNU-tar\fR
929 exclude expressions. The path to the specified exclude list file, if present (see description of 'optional' below), must be readable by the
930 \fBAmanda\fR
931 user.
932 .sp
933 All exclude expressions are concatenated in one file and passed to
934 \fBGNU-tar\fR
935 as an
936 \fB--exclude-from\fR
937 argument.
938 .sp
939 Exclude expressions must always be specified as relative to the head directory of the DLE.
940 .sp
941 With the
942 \fBappend\fR
943 keyword, the
944 \fBstring\fR
945 is appended to the current list, without it, the
946 \fBstring\fR
947 overwrites the list.
948 .sp
949 If
950 \fBoptional\fR
951 is specified for
952 \fBexclude list\fR, then amcheck will not complain if the file doesn't exist or is not readable.
953 .sp
954 For
955 \fBexclude list\fR, if the file name is relative, the disk name being backed up is prepended. So if this is entered:
956 .nf
957
958     exclude list ".amanda.excludes"
959 .fi
960 the actual file used would be
961 \fI/var/.amanda.excludes\fR
962 for a backup of
963 \fI/var\fR,
964 \fI/usr/local/.amanda.excludes\fR
965 for a backup of
966 \fI/usr/local\fR, and so on.
967 .TP
968 \fBholdingdisk\fR [ \fBnever|auto|required]\fR ]
969 Default:
970 \fBauto\fR. Whether a holding disk should be used for these backups or whether they should go directly to tape. If the holding disk is a portion of another file system that
971 \fBAmanda\fR
972 is backing up, that file system should refer to a dumptype with
973 \fBholdingdisk\fR
974 set to
975 \fBnever\fR
976 to avoid backing up the holding disk into itself.
977 .RS
978 .TP
979 \fBnever\fR|no|false|off
980 Never use a holdingdisk, the dump will always go directly to tape. There will be no dump if you have a tape error.
981 .TP
982 \fBauto\fR|yes|true|on
983 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)
984 .TP
985 \fBrequired\fR
986 Always dump to holdingdisk, never directly to tape. There will be no dump if it doesn't fit on holdingdisk
987 .RE
988 .TP
989 \fBignore\fR \fB boolean\fR
990 Default:
991 \fBno\fR. Whether disks associated with this backup type should be backed up or not. This option is useful when the
992 \fBdisklist\fR
993 file is shared among several configurations, some of which should not back up all the listed file systems.
994 .TP
995 \fBinclude\fR [ \fBlist|file\fR ][[optional][ \fBappend\fR ][ \fB string\fR ]+]
996 Default:
997 \fBfile\fR
998 ".". There are two include lists,
999 \fBinclude file\fR
1000 and
1001 \fBinclude list.\fR
1002 With
1003 \fBinclude file\fR
1004 , the
1005 \fBstring\fR
1006 is a glob expression. With
1007 \fBinclude list\fR
1008 , the
1009 \fBstring\fR
1010 is a file name on the client containing glob expressions.
1011 .sp
1012 All include expressions are expanded by
1013 \fBAmanda\fR, concatenated in one file and passed to
1014 \fBGNU-tar\fR
1015 as a
1016 \fB--files-from\fR
1017 argument. They must start with "./" and contain no other "/".
1018 .sp
1019 Include expressions must always be specified as relative to the head directory of the DLE.
1020 .sp
1021 .it 1 an-trap
1022 .nr an-no-space-flag 1
1023 .nr an-break-flag 1
1024 .br
1025 \fBNote\fR
1026 For globbing to work at all, even the limited single level, 
1027 the top level directory of the DLE must be readable by the \fBAmanda\fR user.With the
1028 \fBappend\fR
1029 keyword, the
1030 \fBstring\fR
1031 is appended to the current list, without it, the
1032 \fBstring\fR
1033 overwrites the list.
1034 .sp
1035 If
1036 \fBoptional\fR
1037 is specified for
1038 \fBinclude list,\fR
1039 then amcheck will not complain if the file doesn't exist or is not readable.
1040 .sp
1041 For
1042 \fBinclude list\fR, If the file name is relative, the disk name being backed up is prepended.
1043 .TP
1044 \fBindex\fR \fB boolean\fR
1045 Default:
1046 \fBno\fR. Whether an index (catalogue) of the backup should be generated and saved in
1047 \fBindexdir\fR. These catalogues are used by the
1048 \fBamrecover\fR
1049 utility.
1050 .TP
1051 \fBkencrypt\fR \fB boolean\fR
1052 Default:
1053 \fBno\fR. Whether the backup image should be encrypted by Kerberos as it is sent across the network from the backup client host to the tape server host.
1054 .TP
1055 \fBmaxdumps\fR \fB int\fR
1056 Default:
1057 1. The maximum number of backups from a single host that
1058 \fBAmanda\fR
1059 will attempt to run in parallel. See also the main section parameter
1060 \fBinparallel\fR.
1061 .TP
1062 \fBmaxpromoteday\fR \fB int\fR
1063 Default:
1064 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.
1065 .TP
1066 \fBpriority\fR \fB string\fR
1067 Default:
1068 \fBmedium\fR. When there is no tape to write to,
1069 \fBAmanda\fR
1070 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.
1071 .TP
1072 \fBprogram\fR \fB string\fR
1073 Default:
1074 \fBDUMP\fR. The type of backup to perform. Valid values are
1075 \fBDUMP\fR
1076 for the native operating system backup program, and
1077 \fBGNUTAR\fR
1078 to use
1079 \fBGNU-tar\fR
1080 or to do PC backups using Samba.
1081 .TP
1082 \fBrecord\fR \fB boolean\fR
1083 Default:
1084 \fByes\fR. Whether to ask the backup program to update its database (e.g.
1085 \fI/etc/dumpdates\fR
1086 for DUMP or
1087 \fI/usr/local/var/amanda/gnutar-lists\fR
1088 for GNUTAR) of time stamps. This is normally enabled for daily backups and turned off for periodic archival runs.
1089 .TP
1090 \fBskip-full\fR \fB boolean\fR
1091 Default:
1092 \fBno\fR. If
1093 \fBtrue\fR
1094 and
1095 \fBplanner\fR
1096 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
1097 \fBAmanda\fR
1098 only schedules level 1 incrementals in this configuration; this is probably a bug.
1099 .TP
1100 \fBskip-incr\fR \fB boolean\fR
1101 Default:
1102 \fBno\fR. If
1103 \fBtrue\fR
1104 and
1105 \fBplanner\fR
1106 has scheduled an incremental backup, these disks will be skipped.
1107 .TP
1108 \fBstarttime\fR \fB int\fR
1109 Default:
1110 \fBnone\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
1111 1830.
1112 .TP
1113 \fBstrategy\fR \fB string\fR
1114 Default:
1115 \fBstandard\fR. Strategy to use when planning what level of backup to run next. Values are:
1116 .RS
1117 .TP
1118 \fBstandard\fR
1119 The standard
1120 \fBAmanda\fR
1121 schedule.
1122 .TP
1123 \fBnofull\fR
1124 Never do full backups, only level 1 incrementals.
1125 .TP
1126 \fBnoinc\fR
1127 Never do incremental backups, only full dumps.
1128 .TP
1129 \fBskip\fR
1130 Never do backups (useful when sharing the
1131 \fBdisklist\fR
1132 file).
1133 .TP
1134 \fBincronly\fR
1135 Only do incremental dumps.
1136 \fBamadmin force\fR
1137 should be used to tell
1138 \fBAmanda\fR
1139 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
1140 \fBAmanda\fR
1141 will perform full backups with this configuration, which is probably a bug.
1142 .RE
1143 .TP
1144 \fBtape_splitsize\fR \fB int\fR
1145 Default:
1146 \fBnone\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.
1147 .TP
1148 \fBsplit_diskbuffer\fR \fB string\fR
1149 Default:
1150 \fBnone\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.
1151 .TP
1152 \fBfallback_splitsize\fR \fB int\fR
1153 Default:
1154 \fB10M\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.
1155 .PP
1156 The following
1157 \fBdumptype\fR
1158 entries are predefined by
1159 \fBAmanda\fR:
1160 .nf
1161
1162 define dumptype no-compress {
1163     compress none
1164 }
1165 define dumptype compress-fast {
1166     compress client fast
1167 }
1168 define dumptype compress-best {
1169     compress client best
1170 }
1171 define dumptype srvcompress {
1172     compress server fast
1173 }
1174 define dumptype bsd-auth {
1175     auth bsd
1176 }
1177 define dumptype krb4-auth {
1178     auth krb4
1179 }
1180 define dumptype no-record {
1181     record no
1182 }
1183 define dumptype no-hold {
1184     holdingdisk no
1185 }
1186 define dumptype no-full {
1187     skip-full yes
1188
1189 .fi
1190 .PP
1191 In addition to options in a
1192 \fBdumptype\fR
1193 section, one or more other
1194 \fBdumptype\fR
1195 names may be entered, which make this
1196 \fBdumptype\fR
1197 inherit options from other previously defined
1198 \fBdumptype\fRs. For instance, two sections might be the same except for the
1199 \fBrecord\fR
1200 option:
1201 .nf
1202
1203 define dumptype normal {
1204     comment "Normal backup, no compression, do indexing"
1205     no-compress
1206     index yes
1207     maxdumps 2
1208 }
1209 define dumptype testing {
1210     comment "Test backup, no compression, do indexing, no recording"
1211     normal
1212     record no
1213 }
1214 .fi
1215 .PP
1216 \fBAmanda\fR
1217 provides a
1218 \fBdumptype\fR
1219 named
1220 \fBglobal\fR
1221 in the sample
1222 \fBamanda.conf\fR
1223 file that all
1224 \fBdumptype\fRs should reference. This provides an easy place to make changes that will affect every
1225 \fBdumptype\fR.
1226 .SH "TAPETYPE SECTION"
1227 .PP
1228 The
1229 \fBamanda.conf\fR
1230 file may define multiple types of tape media and devices. The information is entered in a
1231 \fBtapetype\fR
1232 section, which looks like this in the config file:
1233 .nf
1234
1235 define tapetype \fBname\fR {
1236     \fBtapetype-option\fR \fBtapetype-value\fR
1237     ...
1238 }
1239 .fi
1240 .PP
1241 \fBName\fR
1242 is the name of this type of tape medium/device. It is referenced from the
1243 \fBtapetype\fR
1244 option in the main part of the config file.
1245 .PP
1246 The tapetype options and values are:
1247 .TP
1248 \fBcomment\fR \fB string\fR
1249 Default:
1250 \fBnone\fR. A comment string describing this set of tape information.
1251 .TP
1252 \fBfilemark\fR \fB int\fR
1253 Default:
1254 \fB1000 bytes\fR. How large a file mark (tape mark) is, measured in bytes. If the size is only known in some linear measurement (e.g. inches), convert it to bytes using the device density.
1255 .TP
1256 \fBlength\fR \fB int\fR
1257 Default:
1258 \fB2000 kbytes\fR. How much data will fit on a tape.
1259 .sp
1260 Note that this value is only used by
1261 \fBAmanda\fR
1262 to schedule which backups will be run. Once the backups start,
1263 \fBAmanda\fR
1264 will continue to write to a tape until it gets an error, regardless of what value is entered for
1265 \fBlength\fR
1266 (but see the section OUTPUT DRIVERS in the
1267 \fBamanda\fR(8)
1268 manpage for exceptions).
1269 .TP
1270 \fBblocksize\fR \fB int\fR
1271 Default:
1272 \fB32\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
1273 \fBAmanda\fR
1274 was compiled with the configure option --with-maxtapeblocksize=N set with "N" greater than 32 during
1275 \fBconfigure\fR.
1276 .TP
1277 \fBfile-pad\fR \fB boolean\fR
1278 Default:
1279 \fBtrue\fR. If true, every record, including the last one in the file, will have the same length. This matches the way
1280 \fBAmanda\fR
1281 wrote tapes prior to the availability of this parameter. It may also be useful on devices that only support a fixed blocksize.
1282 .sp
1283 Note that the last record on the tape probably includes trailing null byte padding, which will be passed back to
1284 \fBgzip\fR,
1285 \fBcompress\fR
1286 or the restore program. Most programs just ignore this (although possibly with a warning).
1287 .sp
1288 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.
1289 .TP
1290 \fBspeed\fR \fB int\fR
1291 Default:
1292 \fB200 bps\fR. How fast the drive will accept data, in bytes per second. This parameter is NOT currently used by
1293 \fBAmanda\fR.
1294 .TP
1295 \fBlbl-templ\fR \fB string\fR
1296 A PostScript template file used by
1297 \fBamreport\fR
1298 to generate labels. Several sample files are provided with the
1299 \fBAmanda\fR
1300 sources in the
1301 \fBexample\fR
1302 directory. See the
1303 \fBamreport\fR(8)
1304 man page for more information.
1305 .PP
1306 In addition to options, another
1307 \fBtapetype\fR
1308 name may be entered, which makes this
1309 \fBtapetype\fR
1310 inherit options from another
1311 \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:
1312 .nf
1313
1314 define tapetype DLT4000-III {
1315     comment "DLT4000 tape drives with Compact-III tapes"
1316     length 12500 mbytes         # 10 Gig tapes with some compression
1317     filemark 2000 kbytes
1318     speed 1536 kps
1319 }
1320 define tapetype DLT4000-IV {
1321     DLT4000-III
1322     comment "DLT4000 tape drives with Compact-IV tapes"
1323     length 25000 mbytes         # 20 Gig tapes with some compression
1324 }
1325 .fi
1326 .SH "INTERFACE SECTION"
1327 .PP
1328 The
1329 \fBamanda.conf\fR
1330 file may define multiple types of network interfaces. The information is entered in an
1331 \fBinterface\fR
1332 section, which looks like this:
1333 .nf
1334
1335 define interface \fBname\fR {
1336     \fBinterface-option\fR \fBinterface-value\fR
1337     ...
1338 }
1339 .fi
1340 .PP
1341 \fBname\fR
1342 is the name of this type of network interface. It is referenced from the
1343 \fBdisklist\fR
1344 file.
1345 .PP
1346 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
1347 \fBAmanda\fR.
1348 \fBAmanda\fR
1349 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,
1350 \fBAmanda\fR
1351 will use as much of the network as it can leaving throttling up to the operating system and network hardware.
1352 .PP
1353 The interface options and values are:
1354 .TP
1355 \fBcomment\fR \fB string\fR
1356 Default:
1357 \fBnone\fR. A comment string describing this set of network information.
1358 .TP
1359 \fBuse\fR \fB int\fR
1360 Default:
1361 \fB300 Kbps\fR. The speed of the interface in Kbytes per second.
1362 .PP
1363 In addition to options, another
1364 \fBinterface\fR
1365 name may be entered, which makes this
1366 \fBinterface\fR
1367 inherit options from another
1368 \fBinterface\fR. At the moment, this is of little use.
1369 .SH "AUTHOR"
1370 .PP
1371 James da Silva,
1372 <jds@amanda.org>: Original text
1373 .PP
1374 Stefan G. Weichinger,
1375 <sgw@amanda.org>, maintainer of the
1376 \fBAmanda\fR-documentation: XML-conversion, major update, splitting
1377 .SH "SEE ALSO"
1378 .PP
1379 \fBamanda\fR(8),
1380 \fBamanda-client.conf\fR(5),
1381 \fBamcrypt\fR(8),
1382 \fBaespipe\fR(1),
1383