adcae4f97b83f6a3b6c33617630d134a2032cfdd
[debian/amanda] / man / xml-source / amanda.conf.5.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
3                    "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"
4 [
5   <!-- entities files to use -->
6   <!ENTITY % global_entities SYSTEM '../entities/global.entities'>
7   %global_entities;
8 ]>
9
10 <refentry id='amanda.conf.5'>
11
12 <refmeta>
13 <refentrytitle>amanda.conf</refentrytitle>
14 <manvolnum>5</manvolnum>
15 </refmeta>
16 <refnamediv>
17 <refname>amanda.conf</refname>
18 <refpurpose>Main configuration file for &A;, the Advanced Maryland Automatic Network Disk Archiver</refpurpose>
19 </refnamediv>
20 <!-- body begins here -->
21
22 <refsect1><title>DESCRIPTION</title>
23 <para>&amconf; is the main configuration file for &A;. This manpage lists the
24 relevant sections and parameters of this file for quick reference.</para> 
25 <para> The file <emphasis remap='B'>&lt;CONFIG_DIR&gt;/&lt;config&gt;/amanda.conf</emphasis> is loaded.</para>
26 </refsect1>
27
28 <refsect1><title>PARAMETERS</title>
29
30 <para>There are a number of configuration parameters that control the
31 behavior of the &A; programs.
32 All have default values,
33 so you need not specify the parameter in
34 <emphasis remap='B'>amanda.conf</emphasis>
35 if the default is suitable.</para>
36
37 <para>Lines starting with # are ignored, as are blank lines.
38 Comments may be placed on a line with a directive by starting
39 the comment with a #.
40 The remainder of the line is ignored.</para>
41
42 <para>Keywords are case insensitive, i.e.
43 <emphasis remap='B'>mailto</emphasis>
44 and
45 <emphasis remap='B'>MailTo</emphasis>
46 are treated the same.</para>
47
48 <para>Integer arguments may have one of the following (case insensitive) suffixes,
49 some of which have a multiplier effect:</para>
50
51 <refsect2><title>POSSIBLE SUFFIXES</title>
52
53 <variablelist remap='TP'>
54   <varlistentry>
55   <term><emphasis remap='B'>b byte bytes</emphasis></term>
56   <listitem>
57 <para>Some number of bytes.</para>
58   </listitem>
59   </varlistentry>
60   <varlistentry>
61   <term><emphasis remap='B'>bps</emphasis></term>
62   <listitem>
63 <para>Some number of bytes per second.</para>
64   </listitem>
65   </varlistentry>
66   <varlistentry>
67   <term><emphasis remap='B'>k kb kbyte kbytes kilobyte kilobytes</emphasis></term>
68   <listitem>
69 <para>Some number of kilobytes (bytes*1024).</para>
70   </listitem>
71   </varlistentry>
72   <varlistentry>
73   <term><emphasis remap='B'>kps kbps</emphasis></term>
74   <listitem>
75 <para>Some number of kilobytes per second (bytes*1024).</para>
76   </listitem>
77   </varlistentry>
78   <varlistentry>
79   <term><emphasis remap='B'>m mb meg mbyte mbytes megabyte megabytes</emphasis></term>
80   <listitem>
81 <para>Some number of megabytes (bytes*1024*1024).</para>
82   </listitem>
83   </varlistentry>
84   <varlistentry>
85   <term><emphasis remap='B'>mps mbps</emphasis></term>
86   <listitem>
87 <para>Some number of megabytes per second (bytes*1024*1024).</para>
88   </listitem>
89   </varlistentry>
90   <varlistentry>
91   <term><emphasis remap='B'>g gb gbyte gbytes gigabyte gigabytes</emphasis></term>
92   <listitem>
93 <para>Some number of gigabytes (bytes*1024*1024*1024).</para>
94   </listitem>
95   </varlistentry>
96   <varlistentry>
97   <term><emphasis remap='B'>tape tapes</emphasis></term>
98   <listitem>
99 <para>Some number of tapes.</para>
100   </listitem>
101   </varlistentry>
102   <varlistentry>
103   <term><emphasis remap='B'>day days</emphasis></term>
104   <listitem>
105 <para>Some number of days.</para>
106   </listitem>
107   </varlistentry>
108   <varlistentry>
109   <term><emphasis remap='B'>week weeks</emphasis></term>
110   <listitem>
111 <para>Some number of weeks (days*7).</para>
112
113 <note><para>The value
114 <emphasis remap='B'>inf</emphasis>
115 may be used in most places where an integer is expected
116 to mean an infinite amount.</para>
117
118 <para>Boolean arguments may have any of the values
119 <emphasis remap='B'>y</emphasis>,
120 <emphasis remap='B'>yes</emphasis>,
121 <emphasis remap='B'>t</emphasis>,
122 <emphasis remap='B'>true</emphasis>
123 or
124 <emphasis remap='B'>on</emphasis>
125 to indicate a true state, or
126 <emphasis remap='B'>n</emphasis>,
127 <emphasis remap='B'>no</emphasis>,
128 <emphasis remap='B'>f</emphasis>,
129 <emphasis remap='B'>false</emphasis>
130 or
131 <emphasis remap='B'>off</emphasis>
132 to indicate a false state.
133 If no argument is given,
134 <emphasis remap='B'>true</emphasis>
135 is assumed.
136 </para>
137 </note>
138   </listitem>
139   </varlistentry>
140 </variablelist>
141 </refsect2>
142
143 <refsect2>
144 <title>PARAMETERS</title>
145
146 <variablelist remap='TP'>
147   <varlistentry>
148   <term><emphasis remap='B'>org</emphasis> <emphasis remap='I'> string</emphasis></term>
149   <listitem>
150 <para>Default:
151 <emphasis remap='I'>daily</emphasis>.
152 A descriptive name for the configuration.
153 This string appears in the Subject line of mail reports.
154 Each &A; configuration should have a different string to keep
155 mail reports distinct.</para>
156   </listitem>
157   </varlistentry>
158   <varlistentry>
159   <term><emphasis remap='B'>mailto</emphasis> <emphasis remap='I'> string</emphasis></term>
160   <listitem>
161 <para>Default:
162 <emphasis remap='I'>operators</emphasis>.
163 A space separated list of recipients for mail reports.</para>
164   </listitem>
165   </varlistentry>
166   <varlistentry>
167   <term><emphasis remap='B'>dumpcycle</emphasis> <emphasis remap='I'> int</emphasis></term>
168   <listitem>
169 <para>Default:
170 <emphasis remap='I'>10 days</emphasis>.
171 The number of days in the backup cycle.
172 Each disk will get a full backup at least this often.
173 Setting this to zero tries to do a full backup each run.</para>
174 <note><para>This parameter may also be set in a specific
175 <emphasis remap='B'>dumptype</emphasis>
176 (see below).
177 This value sets the default for all
178 <emphasis remap='B'>dumptype</emphasis>s
179 so must appear in
180 <emphasis remap='B'>amanda.conf</emphasis>
181 before any
182 <emphasis remap='B'>dumptype</emphasis>s
183 are defined.</para>
184 </note>
185   </listitem>
186   </varlistentry>
187
188   <varlistentry>
189   <term><emphasis remap='B'>runspercycle</emphasis> <emphasis remap='I'> int</emphasis></term>
190   <listitem>
191 <para>Default:
192 <emphasis remap='I'>same as dumpcycle</emphasis>.
193 The number of amdump runs in 
194 <emphasis remap='B'>dumpcycle</emphasis>
195 days.
196 A value of 0 means the same value as 
197 <emphasis remap='B'>dumpcycle</emphasis>.
198 A value of -1 means guess the number of runs from the
199 <emphasis remap='I'>tapelist</emphasis>
200 file, 
201 which is the number of tapes used in the last 
202 <emphasis remap='B'>dumpcycle</emphasis>
203 days / 
204 <emphasis remap='B'>runtapes</emphasis>.</para>
205   </listitem>
206   </varlistentry>
207   <varlistentry>
208   <term><emphasis remap='B'>tapecycle</emphasis> <emphasis remap='I'> int</emphasis></term>
209   <listitem>
210 <para>Default:
211 <emphasis remap='I'>15 tapes</emphasis>.
212 Typically tapes are used by &A; in an ordered rotation. The <emphasis remap='B'>tapecycle</emphasis> parameter 
213 defines the size of that rotation. The number of tapes in rotation must be larger than the number of tapes 
214 required for a complete dump cycle (see the <emphasis remap='B'>dumpcycle</emphasis> parameter). 
215 </para>
216 <para>
217 This is calculated by multiplying the number of &amdump; runs per dump cycle
218 (<emphasis remap='B'>runspercycle</emphasis> parameter) times the number of tapes used per run 
219 (<emphasis remap='B'>runtapes</emphasis> parameter). Typically two to four times this calculated number of tapes are in rotation.
220 While &A; is always willing to use a new tape in its rotation, it refuses to reuse a tape until at 
221 least '<emphasis remap='B'>tapecycle</emphasis> -1' number of other tapes have been used. 
222 </para>
223 <para>
224 It is considered good administrative practice to set the <emphasis remap='B'>tapecycle</emphasis> parameter 
225 slightly lower than the actual number of tapes in rotation. This allows the administrator to more easily cope 
226 with damaged or misplaced tapes or schedule adjustments that call for slight adjustments in the rotation order.
227 </para>
228   </listitem>
229   </varlistentry>
230
231   <varlistentry>
232   <term><emphasis remap='B'>usetimestamps</emphasis>
233         <emphasis remap='I'> bool</emphasis></term>
234     <listitem>
235       <para>Default: <emphasis remap='B'>No</emphasis>.
236 By default, Amanda can only track at most one run per calendar day. When
237 this option is enabled, however, Amanda can track as many runs as you care
238 to make.
239       </para>
240       <para>
241 <emphasis remap='B'>WARNING</emphasis>: This option is not backward-compatible.
242 Do not enable it if you intend to downgrade your server installation to
243 Amanda community edition 2.5.0
244       </para>
245     </listitem>
246   </varlistentry>
247
248   <varlistentry>
249   <term><emphasis remap='B'>label_new_tapes</emphasis>
250         <emphasis remap='I'> string</emphasis></term>
251 <listitem>
252     <para>Default: not set.
253 When set, this directive will cause &A; to automatically write an &A;
254 tape label to any blank tape she encounters. This option is DANGEROUS 
255 because when set, &A; will ERASE any non-&A; tapes you may have, and may 
256 also ERASE any near-failing tapes. Use with caution.</para>
257 <para>When using this directive, specify the template for new tape 
258 labels. The template should contain some number of contiguous '%' 
259 characters, which will be replaced with a generated number. Be sure to 
260 specify enough '%' characters that you do not run out of tape labels. 
261 Example: 
262 <markup>label_new_tapes "DailySet1-%%%"</markup>
263 </para>
264 </listitem>
265 </varlistentry>
266
267   <varlistentry>
268   <term><emphasis remap='B'>dumpuser</emphasis> <emphasis remap='I'> string</emphasis></term>
269   <listitem>
270 <para>Default:
271 <emphasis remap='I'>amanda</emphasis>.
272 The login name &A; uses to run the backups.
273 The backup client hosts must allow access
274 from the tape server host as this user via
275 <markup>.rhosts</markup>
276 or
277 <markup>.amandahosts</markup>,
278 depending on how the &A; software was built.</para>
279   </listitem>
280   </varlistentry>
281   <varlistentry>
282   <term><emphasis remap='B'>printer</emphasis> string</term>
283   <listitem>
284 <para>Printer to use when doing tape labels.
285 See the
286 <emphasis remap='B'>lbl-templ</emphasis>
287 <emphasis remap='B'>tapetype</emphasis>
288 option.</para>
289   </listitem>
290   </varlistentry>
291   <varlistentry>
292   <term><emphasis remap='B'>tapedev</emphasis> string</term>
293   <listitem>
294 <para>Default:
295 <filename>null:</filename>.
296 The path name of the non-rewinding tape device.
297 Non-rewinding tape device names often have an 'n' in the name,
298 e.g.
299 <filename>/dev/rmt/0mn</filename>,
300 however this is operating system specific and you should consult
301 that documentation for detailed naming information.</para>
302
303 <para>If a tape changer is configured
304 (see the
305 <emphasis remap='B'>tpchanger</emphasis>
306 option), this option might not be used.</para>
307
308 <para>If the
309 <emphasis remap='B'>null</emphasis>
310 output driver is selected
311 (see the section OUTPUT DRIVERS in the 
312 <citerefentry><refentrytitle>amanda</refentrytitle><manvolnum>8</manvolnum></citerefentry> 
313 manpage for more information),
314 programs such as
315 &amdump;
316 will run normally but all images will be thrown away.
317 This should only be used for debugging and testing,
318 and probably only with the
319 <emphasis remap='B'>record</emphasis>
320 option set to
321 <emphasis remap='I'>no</emphasis>.</para>
322   </listitem>
323   </varlistentry>
324
325   <varlistentry>
326   <term><emphasis remap='B'>rawtapedev</emphasis> string</term>
327   <listitem>
328 <para>Default:
329 <filename>null:</filename>.
330 The path name of the raw tape device.
331 This is only used if &A; is compiled for Linux machines with floppy tapes
332 and is needed for QIC volume table operations.</para>
333   </listitem>
334   </varlistentry>
335   <varlistentry>
336   <term><emphasis remap='B'>tpchanger</emphasis> string</term>
337   <listitem>
338 <para>Default:
339 <emphasis remap='I'>none</emphasis>.
340 The name of the tape changer.
341 If a tape changer is not configured, this option is not used
342 and should be commented out of the configuration file.</para>
343 <para>If a tape changer is configured, choose one of the changer scripts
344 (e.g.  <emphasis remap='B'>chg-scsi</emphasis>)
345 and enter that here.</para>
346   </listitem>
347   </varlistentry>
348
349   <varlistentry>
350   <term><emphasis remap='B'>changerdev</emphasis> string</term>
351   <listitem>
352 <para>Default:
353 <filename>/dev/null</filename>.
354 A tape changer configuration parameter.
355 Usage depends on the particular changer defined with the
356 <emphasis remap='B'>tpchanger</emphasis>
357 option.</para>
358   </listitem>
359   </varlistentry>
360   <varlistentry>
361   <term><emphasis remap='B'>changerfile</emphasis> string</term>
362   <listitem>
363 <para>Default:
364 <filename>/usr/adm/amanda/log/changer-status</filename>.
365 A tape changer configuration parameter.
366 Usage depends on the particular changer defined with the
367 <emphasis remap='B'>tpchanger</emphasis>
368 option.</para>
369   </listitem>
370   </varlistentry>
371   <varlistentry>
372   <term><emphasis remap='B'>runtapes</emphasis> int</term>
373   <listitem>
374 <para>Default:
375 <literal>1</literal>.
376 The maximum number of tapes used in a single run.
377 If a tape changer is not configured, this option is not used
378 and should be commented out of the configuration file.</para>
379 <para>If a tape changer is configured, this may be set larger than one to
380 let &A; write to more than one tape.</para>
381 <para>Note that this is an upper bound on the number of tapes,
382 and &A; may use less.</para>
383 <para>Also note that as of this release, &A; does not support true tape overflow.
384 When it reaches the end of one tape,
385 the backup image &A; was processing starts over again on the next tape.</para>
386   </listitem>
387   </varlistentry>
388
389   <varlistentry>
390   <term><emphasis remap='B'>maxdumpsize</emphasis> int</term>
391   <listitem>
392 <para>Default:
393 <emphasis remap='I'>runtapes</emphasis>*<emphasis remap='I'>tape_length</emphasis>.
394 Maximum number of bytes the planner will schedule for a run.</para>
395   </listitem>
396   </varlistentry>
397   <varlistentry>
398   <term><emphasis remap='B'>taperalgo</emphasis> [first|firstfit|largest|largestfit|smallest|last]</term>
399   <listitem>
400 <para>Default:
401 <emphasis remap='I'>first</emphasis>.
402 The algorithm used to choose which dump image to send to the taper.</para>
403   <!-- .RS -->
404     <variablelist remap='TP'>
405       <varlistentry>
406       <term><emphasis remap='B'>first</emphasis></term>
407       <listitem>
408 <para>First in, first out.</para>
409       </listitem>
410       </varlistentry>
411       <varlistentry>
412       <term><emphasis remap='B'>firstfit</emphasis></term>
413       <listitem>
414 <para>The first dump image that will fit on the current tape.</para>
415       </listitem>
416       </varlistentry>
417       <varlistentry>
418       <term><emphasis remap='B'>largest</emphasis></term>
419       <listitem>
420 <para>The largest dump image.</para>
421       </listitem>
422       </varlistentry>
423       <varlistentry>
424       <term><emphasis remap='B'>largestfit</emphasis></term>
425       <listitem>
426 <para>The largest dump image that will fit on the current tape.</para>
427       </listitem>
428       </varlistentry>
429       <varlistentry>
430       <term><emphasis remap='B'>smallest</emphasis></term>
431       <listitem>
432 <para>The smallest dump image.</para>
433       </listitem>
434       </varlistentry>
435       <varlistentry>
436       <term><emphasis remap='B'>last</emphasis></term>
437       <listitem>
438 <para>Last in, first out.</para>
439       </listitem>
440       </varlistentry>
441     </variablelist>
442   
443   </listitem>
444   </varlistentry>
445 <varlistentry>
446 <term><emphasis remap='B'>labelstr</emphasis> <emphasis remap='I'> string</emphasis></term>
447 <listitem>
448 <para>Default:
449 <emphasis remap='I'>.*</emphasis>.
450 The tape label constraint regular expression.
451 All tape labels generated (see
452 <citerefentry><refentrytitle>amlabel</refentrytitle><manvolnum>8</manvolnum></citerefentry>)
453 and used by this configuration must match the regular expression.
454 If multiple configurations are run from the same tape server host,
455 it is helpful to set their labels to different strings
456 (for example, &quot;DAILY[0-9][0-9]*&quot; vs.
457 &quot;ARCHIVE[0-9][0-9]*&quot;)
458 to avoid overwriting each other's tapes.</para>
459 </listitem>
460 </varlistentry>
461   <varlistentry>
462   <term><emphasis remap='B'>tapetype</emphasis> <emphasis remap='I'> string</emphasis></term>
463   <listitem>
464 <para>Default:
465 <emphasis remap='I'>EXABYTE</emphasis>.
466 The type of tape drive associated with
467 <emphasis remap='B'>tapedev</emphasis>
468 or
469 <emphasis remap='B'>tpchanger</emphasis>.
470 This refers to one of the defined <emphasis remap='B'>tapetype</emphasis>s
471 in the config file (see below), which specify various tape parameters,
472 like the
473 <emphasis remap='B'>length</emphasis>,
474 <emphasis remap='B'>filemark</emphasis>
475 size, and
476 <emphasis remap='B'>speed</emphasis>
477 of the tape media and device.</para>
478 <para>First character of a <emphasis remap='B'>tapetype</emphasis> string must
479 be an alphabetic character</para>
480   </listitem>
481   </varlistentry>
482   <varlistentry>
483   <term><emphasis remap='B'>ctimeout</emphasis> int</term>
484   <listitem>
485 <para>Default:
486 <emphasis remap='I'>30 seconds</emphasis>.
487 Maximum amount of time that
488 <emphasis remap='B'>amcheck</emphasis>
489 will wait for each client host.</para>
490   </listitem>
491   </varlistentry>
492   <varlistentry>
493   <term><emphasis remap='B'>dtimeout</emphasis> int</term>
494   <listitem>
495 <para>Default:
496 <emphasis remap='I'>1800 seconds</emphasis>.
497 Amount of idle time per disk on a given client that a
498 <emphasis remap='B'>dumper</emphasis>
499 running from within
500 <command>amdump</command>
501 will wait before it fails with a data timeout error.</para>
502   </listitem>
503   </varlistentry>
504   <varlistentry>
505   <term><emphasis remap='B'>etimeout</emphasis> int</term>
506   <listitem>
507 <para>Default:
508 <emphasis remap='I'>300 seconds</emphasis>.
509 Amount of time per disk on a given client that the
510 <emphasis remap='B'>planner</emphasis>
511 step of
512 <command>amdump</command>
513 will wait to get the dump size estimates.
514 For instance, with the default of 300 seconds and four disks on client A, 
515 <emphasis remap='B'>planner</emphasis>
516 will wait up to 20 minutes for that machine.
517 A negative value will be interpreted as a total amount of time to wait
518 per client instead of per disk.</para>
519   </listitem>
520   </varlistentry>
521   <varlistentry>
522   <term><emphasis remap='B'>netusage</emphasis> int</term>
523   <listitem>
524 <para>Default:
525 <emphasis remap='I'>300 Kbps</emphasis>.
526 The maximum network bandwidth allocated to &A;, in Kbytes per second.
527 See also the
528 <emphasis remap='B'>interface</emphasis>
529 section.</para>
530   </listitem>
531   </varlistentry>
532   <varlistentry>
533   <term><emphasis remap='B'>inparallel</emphasis> int</term>
534   <listitem>
535 <para>Default:
536 <literal>10</literal>.
537 The maximum number of backups that &A; will attempt to run in parallel.
538 &A; will stay within the constraints of network bandwidth and
539 holding disk space available, so it doesn't hurt to set
540 this number a bit high. Some contention can occur with larger numbers
541 of backups, but this effect is relatively small on most systems.</para>
542   </listitem>
543   </varlistentry>
544
545   <varlistentry>
546   <term><emphasis remap='B'>displayunit</emphasis> &quot;k|m|g|t&quot;</term>
547   <listitem>
548 <para>Default:
549 <literal>&quot;k&quot;</literal>.
550 The unit used to print many numbers, k=kilo, m=mega, g=giga, t=tera.
551 </para>
552   </listitem>
553   </varlistentry>
554   
555   <varlistentry>
556   <term><emphasis remap='B'>dumporder</emphasis> string</term>
557   <listitem>
558 <para>Default:
559 <emphasis remap='I'>tttTTTTTTT</emphasis>.
560 The priority order of each dumper:
561
562 <programlisting>
563 s: smallest size
564 S: largest size
565 t: smallest time
566 T: largest time
567 b: smallest bandwidth
568 B: largest bandwidth
569 </programlisting></para>
570
571   </listitem>
572   </varlistentry>
573
574   <varlistentry>
575   <term><emphasis remap='B'>maxdumps</emphasis> int</term>
576   <listitem>
577 <para>Default:
578 <literal>1</literal>.
579 The maximum number of backups from a single host that &A; will
580 attempt to run in parallel. See also the
581 <emphasis remap='B'>inparallel</emphasis>
582 option.</para>
583
584 <para>Note that this parameter may also be set in a specific
585 <emphasis remap='B'>dumptype</emphasis>
586 (see below).
587 This value sets the default for all
588 <emphasis remap='B'>dumptype</emphasis>s
589 so must appear in
590 <emphasis remap='B'>amanda.conf</emphasis>
591 before any
592 <emphasis remap='B'>dumptype</emphasis>s
593 are defined.</para>
594   </listitem>
595   </varlistentry>
596
597   <varlistentry>
598   <term><emphasis remap='B'>bumpsize</emphasis> int</term>
599   <listitem>
600 <para>Default:
601 <emphasis remap='I'>10 Mbytes</emphasis>.
602 The minimum savings required to trigger an automatic
603 bump from one incremental level to the next, expressed as size.
604 If &A; determines that the next higher backup level
605 will be this much smaller than the current level,
606 it will do the next level.
607 The value of this parameter is used only if the parameter 
608 <emphasis>bumppercent</emphasis> is set to 0.
609 </para>
610 <para>
611 The global setting of this parameter can be overwritten inside of a  
612 dumptype-definition.  
613 </para>
614 <para>
615 See also the options 
616 <emphasis remap='B'>bumppercent</emphasis>,
617 <emphasis remap='B'>bumpmult</emphasis> and
618 <emphasis remap='B'>bumpdays</emphasis>.</para>
619   </listitem>
620   </varlistentry>
621
622   <varlistentry>
623   <term><emphasis remap='B'>bumppercent</emphasis> int</term>
624   <listitem>
625 <para>Default:
626 <emphasis remap='I'>0 percent</emphasis>.
627 The minimum savings required to trigger an automatic
628 bump from one incremental level to the next, expressed as percentage of the
629 current size of the DLE (size of current level 0).
630 If &A; determines that the next higher backup level
631 will be this much smaller than the current level,
632 it will do the next level.
633 </para>
634 <para>
635 If this parameter is set to 0, the value of the
636 parameter <emphasis>bumpsize</emphasis> is used to trigger bumping.
637 </para>
638 <para>
639 The global setting of this parameter can be overwritten inside of a  
640 dumptype-definition.  
641 </para>
642 <para>
643 See also the options 
644 <emphasis remap='B'>bumpsize</emphasis>,
645 <emphasis remap='B'>bumpmult</emphasis> and
646 <emphasis remap='B'>bumpdays</emphasis>.</para>
647   </listitem>
648   </varlistentry>
649
650   <varlistentry>
651   <term><emphasis remap='B'>bumpmult</emphasis> <emphasis remap='I'> float</emphasis></term>
652   <listitem>
653 <para>Default:
654 <literal>1.5</literal>.
655 The bump size multiplier.
656 &A; multiplies
657 <emphasis remap='B'>bumpsize</emphasis>
658 by this factor for each level.
659 This prevents active filesystems from
660 bumping too much by making it harder to bump to the next level.
661 For example, with the default
662 <emphasis remap='B'>bumpsize</emphasis>
663 and
664 <emphasis remap='B'>bumpmult</emphasis>
665 set to 2.0, the bump threshold will be 10 Mbytes for level one, 20
666 Mbytes for level two, 40 Mbytes for level three, and so on.</para>
667 <para>
668 The global setting of this parameter can be overwritten inside of a  
669 dumptype-definition.  
670 </para>
671   </listitem>
672   </varlistentry>
673   <varlistentry>
674   <term><emphasis remap='B'>bumpdays</emphasis> <emphasis remap='I'> int</emphasis></term>
675   <listitem>
676 <para>Default:
677 <emphasis remap='I'>2 days</emphasis>.
678 To insure redundancy in the dumps, &A; keeps filesystems at the
679 same incremental level for at least
680 <emphasis remap='B'>bumpdays</emphasis>
681 days, even if the other bump threshold criteria are met.</para>
682 <para>
683 The global setting of this parameter can be overwritten inside of a  
684 dumptype-definition.  
685 </para>
686   </listitem>
687   </varlistentry>
688   
689   <varlistentry>
690   <term><emphasis remap='B'>diskfile</emphasis> <emphasis remap='I'> string</emphasis></term>
691   <listitem>
692 <para>Default:
693 <emphasis remap='I'>disklist</emphasis>.
694 The file name for the
695 <emphasis remap='I'>disklist</emphasis>
696 file holding client hosts, disks and other client dumping information.</para>
697   </listitem>
698   </varlistentry>
699   <varlistentry>
700   <term><emphasis remap='B'>infofile</emphasis> <emphasis remap='I'> string</emphasis></term>
701   <listitem>
702 <para>Default:
703 <filename>/usr/adm/amanda/curinfo</filename>.
704 The file or directory name for the historical information database.
705 If &A; was configured to use DBM databases, this is the base file
706 name for them.
707 If it was configured to use text formated databases (the default),
708 this is the base directory and within here will be a directory per
709 client, then a directory per disk, then a text file of data.</para>
710   </listitem>
711   </varlistentry>
712   <varlistentry>
713   <term><emphasis remap='B'>logdir</emphasis> <emphasis remap='I'> string</emphasis></term>
714   <listitem>
715 <para>Default:
716 <filename>/usr/adm/amanda</filename>.
717 The directory for the
718 <command>amdump</command>
719 and
720 <emphasis remap='B'>log</emphasis>
721 files.</para>
722   </listitem>
723   </varlistentry>
724   <varlistentry>
725   <term><emphasis remap='B'>indexdir</emphasis> <emphasis remap='I'> string</emphasis></term>
726   <listitem>
727 <para>Default
728 <filename>/usr/adm/amanda/index</filename>.
729 The directory where index files (backup image catalogues) are stored.
730 Index files are
731 only generated for filesystems whose
732 <emphasis remap='B'>dumptype</emphasis>
733 has the
734 <emphasis remap='B'>index</emphasis>
735 option enabled.</para>
736   </listitem>
737   </varlistentry>
738   <varlistentry>
739   <term><emphasis remap='B'>tapelist</emphasis> <emphasis remap='I'> string</emphasis></term>
740   <listitem>
741 <para>Default:
742 <emphasis remap='I'>tapelist</emphasis>.
743 The file name for the active
744 <emphasis remap='I'>tapelist</emphasis>
745 file.
746 &A; maintains this file with information about the active set of tapes.</para>
747   </listitem>
748   </varlistentry>
749   <varlistentry>
750   <term><emphasis remap='B'>tapebufs</emphasis> <emphasis remap='I'> int</emphasis></term>
751   <listitem>
752 <para>Default:
753 <literal>20</literal>.
754 The number of buffers used by the
755 <emphasis remap='B'>taper</emphasis>
756 process run by
757 <command>amdump</command>
758 and
759 <emphasis remap='B'>amflush</emphasis>
760 to hold data as it is read from the network or disk before it is written to tape.
761 Each buffer is a little larger than 32 KBytes and is held in a shared memory region.</para>
762   </listitem>
763   </varlistentry>
764   <varlistentry>
765   <term><emphasis remap='B'>reserve</emphasis> <emphasis remap='I'> number</emphasis></term>
766   <listitem>
767 <para>Default:
768 <literal>100</literal>.
769 The part of holding-disk space that should be reserved for incremental
770 backups if no tape is available, expressed as a percentage of the 
771 available holding-disk space (0-100).
772 By default, when there is no tape to write to, degraded mode (incremental) backups 
773 will be performed to the holding disk. If full backups should also be allowed in this case,
774 the amount of holding disk space reserved for incrementals should be lowered.</para>
775   </listitem>
776   </varlistentry>
777   <varlistentry>
778   <term><emphasis remap='B'>autoflush</emphasis> <emphasis remap='I'> bool</emphasis></term>
779   <listitem>
780 <para>Default:
781 <emphasis remap='I'>off</emphasis>.
782 Whether an amdump run will flush the dumps from holding disk to tape.</para>
783   </listitem>
784   </varlistentry>
785   <varlistentry>
786   <term><emphasis remap='B'>amrecover_do_fsf</emphasis> <emphasis remap='I'> bool</emphasis></term>
787   <listitem>
788 <para>Default:
789 <emphasis remap='I'>on</emphasis>.
790 Amrecover will call amrestore with the -f flag for faster positioning of the tape.</para>
791   </listitem>
792   </varlistentry>
793   <varlistentry>
794   <term><emphasis remap='B'>amrecover_check_label</emphasis> <emphasis remap='I'> bool</emphasis></term>
795   <listitem>
796 <para>Default:
797 <emphasis remap='I'>on</emphasis>.
798 Amrecover will call amrestore with the -l flag to check the label.</para>
799   </listitem>
800   </varlistentry>
801   <varlistentry>
802   <term><emphasis remap='B'>amrecover_changer</emphasis> <emphasis remap='I'> string</emphasis></term>
803   <listitem>
804 <para>Default: ''.
805 Amrecover will use the changer if you use 'settape &lt;string&gt;' and that string
806 is the same as the amrecover_changer setting.</para>
807   </listitem>
808   </varlistentry>
809   <varlistentry>
810   <term><emphasis remap='B'>columnspec</emphasis> <emphasis remap='I'> string</emphasis></term>
811   <listitem>
812 <para>Defines the width of columns <emphasis remap='B'>amreport</emphasis>
813 should use.
814 <emphasis remap='I'>String</emphasis>
815 is a comma (',') separated list of triples. Each triple consists
816 of three parts which are separated by a equal sign ('=') and a colon (':') (see the example).
817 These three parts specify:</para>
818   
819   <orderedlist>
820   <listitem>
821       <para>the name of the column, which may be:</para>
822
823         <programlisting>
824         Compress (compression ratio)
825         Disk (client disk name)
826         DumpRate (dump rate in KBytes/sec)
827         DumpTime (total dump time in hours:minutes)
828         HostName (client host name)
829         Level (dump level)
830         OrigKB (original image size in KBytes)
831         OutKB (output image size in KBytes)
832         TapeRate (tape writing rate in KBytes/sec)
833         TapeTime (total tape time in hours:minutes)
834         </programlisting>
835
836   </listitem>
837
838   <listitem>
839 <para>the amount of space to display before the column (used to get whitespace between columns).</para><para/>
840   </listitem>
841   <listitem>
842 <para>the width of the column itself.
843 If set to a negative value, the width will be calculated on demand to fit the largest entry in
844 this column.</para>
845   </listitem>
846   </orderedlist>
847
848 <para>Here is an example:
849 <programlisting>
850 columnspec &quot;Disk=1:18,HostName=0:10,OutKB=1:7&quot;
851 </programlisting></para>
852 <para>
853 The above will display the disk information in 18 characters
854 and put one space before it. The hostname column will be 10 characters wide with
855 no space to the left. The output KBytes column is seven characters wide
856 with one space before it.</para>
857   </listitem>
858   </varlistentry>
859
860   <varlistentry>
861   <term><emphasis remap='B'>includefile</emphasis> <emphasis remap='I'> string</emphasis></term>
862   <listitem>
863 <para>Default:
864 <emphasis remap='I'>none</emphasis>.
865 The name of an &A; configuration file to include within the current file.
866 Useful for sharing dumptypes, tapetypes and interface definitions among several configurations.</para>
867   </listitem>
868   </varlistentry>
869 </variablelist>
870 </refsect2>
871 </refsect1>
872
873 <refsect1><title>HOLDINGDISK SECTION</title>
874 <para>The <emphasis remap='B'>amanda.conf</emphasis>
875 file may define one or more holding disks used as buffers to hold
876 backup images before they are written to tape.
877 The syntax is:</para>
878
879 <programlisting>
880 holdingdisk <emphasis remap='I'>name</emphasis> {
881     <emphasis remap='I'>holdingdisk-option</emphasis> <emphasis remap='I'>holdingdisk-value</emphasis>
882     <literal>...</literal>
883 }
884 </programlisting>
885
886 <para><emphasis remap='I'>Name</emphasis>
887 is a logical name for this holding disk.</para>
888
889 <para>The options and values are:</para>
890
891 <variablelist remap='TP'>
892   <varlistentry>
893   <term><emphasis remap='B'>comment</emphasis> <emphasis remap='I'> string</emphasis></term>
894   <listitem>
895 <para>Default:
896 <emphasis remap='I'>none</emphasis>.
897 A comment string describing this holding disk.</para>
898   </listitem>
899   </varlistentry>
900
901   <varlistentry>
902   <term><emphasis remap='B'>directory</emphasis> <emphasis remap='I'> disk</emphasis></term>
903   <listitem>
904 <para>Default:
905 <filename>/dumps/amanda</filename>.
906 The path to this holding area.</para>
907   </listitem>
908   </varlistentry>
909
910   <varlistentry>
911   <term><emphasis remap='B'>use</emphasis> <emphasis remap='I'> int</emphasis></term>
912   <listitem>
913 <para>Default:
914 <emphasis remap='I'>0 Gb</emphasis>.
915 Amount of space that can be used in this holding disk area.
916 If the value is zero, all available space on the file system is used.
917 If the value is negative, &A; will use all available space minus that value.</para>
918   </listitem>
919   </varlistentry>
920
921   <varlistentry>
922   <term><emphasis remap='B'>chunksize</emphasis> <emphasis remap='I'> int</emphasis></term>
923   <listitem>
924 <para>Default:
925 <emphasis remap='I'>1 Gb</emphasis>.
926 Holding disk chunk size. Dumps larger than the specified size will be stored in multiple
927 holding disk files. The size of each chunk will not exceed the specified value.
928 However, even though dump images are split in the holding disk, they are concatenated as 
929 they are written to tape, so each dump image still corresponds to a single continuous 
930 tape section.</para>
931
932 <para>If 0 is specified, &A; will create holding disk chunks as large as
933 ((INT_MAX/1024)-64) Kbytes.</para>
934
935 <para>Each holding disk chunk includes a 32 Kbyte header, so the minimum
936 chunk size is 64 Kbytes (but that would be really silly).</para>
937
938 <para>Operating systems that are limited to a maximum file size of 2 Gbytes
939 actually cannot handle files that large.
940 They must be at least one byte less than 2 Gbytes.
941 Since &A; works with 32 Kbyte blocks, and
942 to handle the final read at the end of the chunk, the chunk size
943 should be at least 64 Kbytes (2 * 32 Kbytes) smaller than the maximum
944 file size, e.g. 2047 Mbytes.</para>
945   </listitem>
946   </varlistentry>
947 </variablelist>
948 </refsect1>
949
950 <refsect1><title>DUMPTYPE SECTION</title>
951 <para>The &amconf; file may define multiple sets of backup options 
952 and refer to them by name from the &disklist; file.
953 For instance, one set of options might be defined for file systems
954 that can benefit from high compression, another set that does not compress well,
955 another set for file systems that should always get a full backup and so on.</para>
956
957 <para>A set of backup options are entered in a
958 <emphasis remap='B'>dumptype</emphasis>
959 section, which looks like this:</para>
960
961 <programlisting>
962 define dumptype <emphasis remap='I'>name</emphasis> {
963     <emphasis remap='I'>dumptype-option</emphasis> <emphasis remap='I'>dumptype-value</emphasis>
964     <literal>...</literal>
965 }
966 </programlisting>
967
968 <para><emphasis remap='I'>Name</emphasis>
969 is the name of this set of backup options.
970 It is referenced from the &disklist; file.</para>
971
972 <para>Some of the options in a
973 <emphasis remap='B'>dumptype</emphasis>
974 section are the same as those in the main part of &amconf;.
975 The main option value is used to set the default for all
976 <emphasis remap='B'>dumptype</emphasis>
977 sections. For instance, setting
978 <emphasis remap='B'>dumpcycle</emphasis>
979 to 50 in the main part of the config file causes all following
980 <emphasis remap='B'>dumptype</emphasis>
981 sections to start with that value,
982 but the value may be changed on a section by section basis.
983 Changes to variables in the main part of the config file must be
984 done before (earlier in the file) any
985 <emphasis remap='B'>dumptype</emphasis>s
986 are defined.</para>
987
988 <para>The dumptype options and values are:</para>
989
990 <variablelist remap='TP'>
991   <varlistentry>
992   <term><emphasis remap='B'>auth</emphasis> <emphasis remap='I'> string</emphasis></term>
993   <listitem>
994 <para>Default:
995 <emphasis remap='I'>bsd</emphasis>.
996 Type of authorization to perform between tape server and backup client hosts.</para>
997 <para><emphasis remap='B'>bsd</emphasis>, bsd authorization with udp initial
998 connection and one tcp connection by data stream.</para>
999 <para><emphasis remap='B'>bsdtcp</emphasis>, bsd authorization but use only
1000 one tcp connection.</para> 
1001 <para><emphasis remap='B'>bsdudp</emphasis>, like bsd, but will use only one
1002 tcp connection for all data stream.</para>
1003 <para><emphasis remap='B'>krb4</emphasis> to use Kerberos-IV
1004 authorization.</para>
1005 <para><emphasis remap='B'>krb5</emphasis> to use Kerberos-V
1006 authorization.</para>
1007 <para><emphasis remap='B'>rsh</emphasis> to use rsh
1008 authorization.</para>
1009 <para><emphasis remap='B'>ssh</emphasis> to use OpenSSH
1010 authorization.</para>
1011
1012   </listitem>
1013   </varlistentry>
1014
1015   <varlistentry>
1016   <term><emphasis remap='B'>amandad_path</emphasis> <emphasis remap='I'> string</emphasis></term>
1017   <listitem>
1018 <para>Default:
1019 <emphasis remap='I'>$libexec/amandad</emphasis>.
1020 Specify the amandad path of the client, only use with rsh/ssh authentification.
1021 </para>
1022   </listitem>
1023   </varlistentry>
1024
1025   <varlistentry>
1026   <term><emphasis remap='B'>client_username</emphasis> <emphasis remap='I'> string</emphasis></term>
1027   <listitem>
1028 <para>Default:
1029 <emphasis remap='I'>CLIENT_LOGIN</emphasis>.
1030 Specify the username to connect on the client, only use with rsh/ssh authentification.
1031 </para>
1032   </listitem>
1033   </varlistentry>
1034
1035 <!-- bumping parameters yanked from the global section above -->
1036
1037   <varlistentry>
1038   <term><emphasis remap='B'>bumpsize</emphasis> int</term>
1039   <listitem>
1040 <para>Default:
1041 <emphasis remap='I'>10 Mbytes</emphasis>.
1042 The minimum savings required to trigger an automatic
1043 bump from one incremental level to the next, expressed as size.
1044 If &A; determines that the next higher backup level
1045 will be this much smaller than the current level,
1046 it will do the next level.
1047 The value of this parameter is used only if the parameter 
1048 <emphasis>bumppercent</emphasis> is set to 0.
1049 </para>
1050 <para>
1051 See also the options 
1052 <emphasis remap='B'>bumppercent</emphasis>,
1053 <emphasis remap='B'>bumpmult</emphasis> and
1054 <emphasis remap='B'>bumpdays</emphasis>.</para>
1055   </listitem>
1056   </varlistentry>
1057
1058   <varlistentry>
1059   <term><emphasis remap='B'>bumppercent</emphasis> int</term>
1060   <listitem>
1061 <para>Default:
1062 <emphasis remap='I'>0 percent</emphasis>.
1063 The minimum savings required to trigger an automatic
1064 bump from one incremental level to the next, expressed as percentage of the
1065 current size of the DLE (size of current level 0).
1066 If &A; determines that the next higher backup level
1067 will be this much smaller than the current level,
1068 it will do the next level.
1069 </para>
1070 <para>
1071 If this parameter is set to 0, the value of the
1072 parameter <emphasis>bumpsize</emphasis> is used to trigger bumping.
1073 </para>
1074 <para>
1075 See also the options 
1076 <emphasis remap='B'>bumpsize</emphasis>,
1077 <emphasis remap='B'>bumpmult</emphasis> and
1078 <emphasis remap='B'>bumpdays</emphasis>.</para>
1079   </listitem>
1080   </varlistentry>
1081
1082   <varlistentry>
1083   <term><emphasis remap='B'>bumpmult</emphasis> <emphasis remap='I'> float</emphasis></term>
1084   <listitem>
1085 <para>Default:
1086 <literal>1.5</literal>.
1087 The bump size multiplier.
1088 &A; multiplies
1089 <emphasis remap='B'>bumpsize</emphasis>
1090 by this factor for each level.
1091 This prevents active filesystems from
1092 bumping too much by making it harder to bump to the next level.
1093 For example, with the default
1094 <emphasis remap='B'>bumpsize</emphasis>
1095 and
1096 <emphasis remap='B'>bumpmult</emphasis>
1097 set to 2.0, the bump threshold will be 10 Mbytes for level one, 20
1098 Mbytes for level two, 40 Mbytes for level three, and so on.</para>
1099   </listitem>
1100   </varlistentry>
1101   <varlistentry>
1102   <term><emphasis remap='B'>bumpdays</emphasis> <emphasis remap='I'> int</emphasis></term>
1103   <listitem>
1104 <para>Default:
1105 <emphasis remap='I'>2 days</emphasis>.
1106 To insure redundancy in the dumps, &A; keeps filesystems at the
1107 same incremental level for at least
1108 <emphasis remap='B'>bumpdays</emphasis>
1109 days, even if the other bump threshold criteria are met.</para>
1110   </listitem>
1111   </varlistentry>
1112   
1113   <varlistentry>
1114   <term><emphasis remap='B'>comment</emphasis> <emphasis remap='I'> string</emphasis></term>
1115   <listitem>
1116 <para>Default:
1117 <emphasis remap='I'>none</emphasis>.
1118 A comment string describing this set of backup options.</para>
1119   </listitem>
1120   </varlistentry>
1121   <varlistentry>
1122   <term><emphasis remap='B'>comprate</emphasis> <emphasis remap='I'>float</emphasis> [, <emphasis remap='I'>float</emphasis> ]</term>
1123   <listitem>
1124 <para>Default:
1125 <literal>0.50</literal>,
1126 <literal>0.50</literal>.
1127 The expected full and incremental compression factor for dumps.
1128 It is only used if &A; does not have any history information on
1129 compression rates for a filesystem, so should not usually need to be set.
1130 However, it may be useful for the first time a very large filesystem that 
1131 compresses very little is backed up.</para>
1132   </listitem>
1133   </varlistentry>
1134   <varlistentry>
1135   <term><emphasis remap='B'>compress [client|server]</emphasis> <emphasis remap='I'> string</emphasis></term>
1136   <listitem>
1137 <para>Default:
1138 <emphasis remap='I'>client fast</emphasis>.
1139 If &A; does compression of the backup images, it can do so either on the backup client 
1140 host before it crosses the network or on the tape server host as it goes from the
1141 network into the holding disk or to tape.  Which place to do compression (if at all) depends on how well the
1142 dump image usually compresses, the speed and load on the client or server, network capacity, 
1143 holding disk capacity, availability of tape hardware compression, etc.</para>
1144
1145 <para>For either type of compression, &A; also allows the selection
1146 of three styles of compression.
1147 <emphasis remap='B'>Best</emphasis>
1148 is the best compression available, often at the expense of CPU overhead.
1149 <emphasis remap='B'>Fast</emphasis>
1150 is often not as good a compression as
1151 <emphasis remap='B'>best</emphasis>,
1152 but usually less CPU overhead. Or to specify <emphasis remap='B'>Custom</emphasis>
1153 to use your own compression method. (See dumptype custom-compress in example/amanda.conf for reference)</para>
1154
1155 <para>So the <emphasis remap='B'>compress</emphasis> options line may be one of:</para>
1156
1157 <variablelist remap='TP'>
1158   <varlistentry>
1159     <term>compress none</term><listitem><para/></listitem>
1160   </varlistentry>
1161   <varlistentry>
1162     <term>compress client fast</term><listitem><para/></listitem>
1163   </varlistentry>
1164   <varlistentry>
1165     <term>compress client best</term><listitem><para/></listitem>
1166   </varlistentry>
1167   <varlistentry>
1168     <term>compress client custom</term>
1169     <listitem>
1170       <para>Specify <emphasis>client_custom_compress</emphasis> &quot;PROG&quot;</para>
1171       <para>PROG must not contain white space and it must accept -d for uncompress.</para>
1172     </listitem>
1173   </varlistentry>
1174   <varlistentry>
1175     <term>compress server fast</term><listitem><para/></listitem>
1176   </varlistentry>
1177   <varlistentry>
1178     <term>compress server best</term><listitem><para/></listitem>
1179   </varlistentry>
1180   <varlistentry>
1181     <term>compress server custom</term>
1182     <listitem>
1183       <para>Specify <emphasis>server_custom_compress</emphasis> &quot;PROG&quot;</para>
1184       <para>PROG must not contain white space and it must accept -d for uncompress.</para>
1185     </listitem>
1186   </varlistentry>
1187 </variablelist>
1188 <para>Note that some tape devices do compression and this option has nothing
1189 to do with whether that is used. If hardware compression is used (usually via a particular tape device name
1190 or <emphasis remap='B'>mt</emphasis> option), &A; (software) compression should be disabled.</para>
1191   </listitem>
1192   </varlistentry>
1193   <varlistentry>
1194   <term><emphasis remap='B'>dumpcycle</emphasis> <emphasis remap='I'> int</emphasis></term>
1195   <listitem>
1196 <para>Default: <emphasis remap='I'>10 days</emphasis>.
1197 The number of days in the backup cycle. Each disk using this set of options will get a full 
1198 backup at least this of
1199 ten. Setting this to zero tries to do a full backup each run.</para>
1200   </listitem>
1201   </varlistentry>
1202
1203   <varlistentry>
1204   <term><emphasis remap='B'>encrypt [none|client|server]</emphasis></term>
1205   <listitem>
1206 <para>Default: <emphasis remap='I'>none</emphasis>.
1207 To encrypt backup images, it can do so either on the backup client host before it crosses the network or on the tape
1208 server host as it goes from the network into the holding disk or to tape.</para>
1209
1210 <para>So the <emphasis remap='B'>encrypt</emphasis> options line may be one
1211             of:</para>
1212
1213 <variablelist remap='TP'>
1214   <varlistentry>
1215     <term>encrypt none</term><listitem><para/></listitem>
1216   </varlistentry>
1217   <varlistentry>
1218     <term>encrypt client</term>
1219     <listitem>
1220       <para>Specify client_encrypt &quot;PROG&quot;</para>
1221       <para>PROG must not contain white space.</para>
1222       <para>Specify client_decrypt_option &quot;decryption-parameter&quot; Default: &quot;-d&quot;</para>
1223       <para>decryption-parameter must not contain white space.</para>
1224       <para>(See dumptype server-encrypt-fast in example/amanda.conf for reference)</para>
1225     </listitem>
1226   </varlistentry>
1227   <varlistentry>
1228     <term>encrypt server</term>
1229     <listitem>
1230       <para>Specify server_encrypt &quot;PROG&quot;</para>
1231       <para>PROG must not contain white space.</para>
1232       <para>Specify server_decrypt_option &quot;decryption-parameter&quot; Default: &quot;-d&quot;</para>
1233       <para>decryption-parameter must not contain white space.</para>
1234       <para>(See dumptype client-encrypt-nocomp in example/amanda.conf for reference)</para>
1235     </listitem>
1236   </varlistentry>
1237 </variablelist>
1238 <para>Note that current logic assumes compression then encryption during
1239 backup(thus decrypt then uncompress during restore). So specifying
1240 client-encryption AND server-compression is not supported.
1241 <emphasis remap='I'>amcrypt</emphasis> which is a wrapper of
1242             <emphasis remap='I'>aespipe</emphasis> is provided as a reference
1243                 symmetric encryption program.</para>
1244 </listitem>
1245 </varlistentry>
1246
1247
1248   <varlistentry>
1249   <term><emphasis remap='B'>estimate</emphasis> <emphasis remap='I'>client|calcsize|server</emphasis></term>
1250   <listitem>
1251 <para>Default: <emphasis remap='I'>client</emphasis>.
1252 Determine the way &A; does it's estimate.</para>
1253 <variablelist remap='TP'>
1254   <varlistentry>
1255     <term>client</term>
1256     <listitem>
1257       <para>Use the same program as the dumping program, this is the most
1258             accurate way to do estimates, but it can take a long time.</para>
1259     </listitem>
1260   </varlistentry>
1261   <varlistentry>
1262     <term>calcsize</term>
1263     <listitem>
1264       <para>Use a faster program to do estimates, but the result is less accurate.</para>
1265     </listitem>
1266   </varlistentry>
1267   <varlistentry>
1268     <term>server</term>
1269     <listitem>
1270       <para>Use only statistics from the previous run to give an estimate, 
1271             it takes only a few seconds but the result is not accurate if your disk 
1272             usage changes from day to day.</para>
1273     </listitem>
1274   </varlistentry>
1275 </variablelist>
1276 </listitem>
1277 </varlistentry>
1278
1279   
1280   <varlistentry>
1281   <term><emphasis remap='B'>exclude</emphasis> [ list|file ][[optional][ append ][ <emphasis remap='I'>string</emphasis> ]+]</term>
1282   <listitem>
1283 <para>Default:
1284 <emphasis remap='I'>file</emphasis>.
1285 There are two exclude lists,
1286 <emphasis remap='B'>exclude file</emphasis>
1287 and
1288 <emphasis remap='B'>exclude list.</emphasis>
1289 With
1290 <emphasis remap='B'>exclude file</emphasis>
1291 , the
1292 <emphasis remap='I'>string</emphasis>
1293 is a &gnutar; exclude expression. With
1294 <emphasis remap='B'>exclude list</emphasis>
1295 , the
1296 <emphasis remap='I'>string</emphasis>
1297 is a file name on the client containing &gnutar; exclude expressions.
1298 The path to the specified exclude list file, if present (see description of
1299 'optional' below), must be readable by the &A; user.</para>
1300
1301 <para>All exclude expressions are concatenated in one file and passed to &gnutar;
1302 as an <option>--exclude-from</option> argument.</para>
1303
1304 <para>Exclude expressions must always be specified as relative to the
1305 head directory of the DLE.</para>
1306
1307 <para>With the
1308 <emphasis remap='B'>append</emphasis> keyword, the
1309 <emphasis remap='I'>string</emphasis> is appended to the current list, without it, the
1310 <emphasis remap='I'>string</emphasis> overwrites the list.</para>
1311
1312 <para>If <emphasis remap='B'>optional</emphasis>
1313 is specified for <emphasis remap='B'>exclude list</emphasis>,
1314 then amcheck will not complain if the file doesn't exist or is not readable.</para>
1315
1316 <para>For <emphasis remap='B'>exclude list</emphasis>,
1317 if the file name is relative, the disk name being backed up is prepended.
1318 So if this is entered:</para>
1319
1320 <programlisting>
1321     exclude list &quot;.amanda.excludes&quot;
1322 </programlisting>
1323
1324 <para>the actual file used would be
1325 <filename>/var/.amanda.excludes</filename>
1326 for a backup of <filename>/var</filename>,
1327 <filename>/usr/local/.amanda.excludes</filename> for a backup of
1328 <filename>/usr/local</filename>, and so on.</para>
1329 </listitem>
1330 </varlistentry>
1331
1332   <varlistentry>
1333   <term><emphasis remap='B'>holdingdisk</emphasis> [ never|auto|required ]</term>
1334   <listitem>
1335 <para>Default:
1336 <emphasis remap='I'>auto</emphasis>.
1337 Whether a holding disk should be used for these backups or whether they should go directly to tape.
1338 If the holding disk is a portion of another file system that &A;
1339 is backing up, that file system should refer to a dumptype with
1340 <emphasis remap='B'>holdingdisk</emphasis>
1341 set to
1342 <emphasis remap='I'>never</emphasis>
1343 to avoid backing up the holding disk into itself.</para>
1344
1345   <variablelist remap='TP'>
1346   <varlistentry>
1347   <term><emphasis remap='B'>never</emphasis>|no|false|off</term>
1348   <listitem>
1349   <para>Never use a holdingdisk, the dump will always go directly to tape. There will be no dump if you have a tape error.</para>
1350   </listitem>
1351   </varlistentry>
1352   <varlistentry>
1353   <term><emphasis remap='B'>auto</emphasis>|yes|true|on</term>
1354   <listitem>
1355   <para>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)</para>
1356   </listitem>
1357   </varlistentry>
1358   <varlistentry>
1359   <term><emphasis remap='B'>required</emphasis></term>
1360   <listitem>
1361   <para>Always dump to holdingdisk, never directly to tape. There will be no dump if it doesn't fit on holdingdisk</para>
1362   </listitem>
1363   </varlistentry>
1364   </variablelist>
1365
1366   </listitem>
1367   </varlistentry>
1368
1369   <varlistentry>
1370   <term><emphasis remap='B'>ignore</emphasis> <emphasis remap='I'> boolean</emphasis></term>
1371   <listitem>
1372 <para>Default:
1373 <emphasis remap='I'>no</emphasis>.
1374 Whether disks associated with this backup type should be backed up or not.
1375 This option is useful when the
1376 <emphasis remap='I'>disklist</emphasis>
1377 file is shared among several configurations,
1378 some of which should not back up all the listed file systems.</para>
1379   </listitem>
1380   </varlistentry>
1381   <varlistentry>
1382   <term><emphasis remap='B'>include</emphasis> [ list|file ][[optional][ append ][ <emphasis remap='I'>string</emphasis> ]+]</term>
1383   <listitem>
1384 <para>Default:
1385 <emphasis remap='I'>file</emphasis>
1386 &quot;.&quot;.
1387 There are two include lists,
1388 <emphasis remap='B'>include file</emphasis>
1389 and
1390 <emphasis remap='B'>include list.</emphasis>
1391 With
1392 <emphasis remap='B'>include file</emphasis>
1393 , the
1394 <emphasis remap='I'>string</emphasis>
1395 is a glob expression. With
1396 <emphasis remap='B'>include list</emphasis>
1397 , the
1398 <emphasis remap='I'>string</emphasis>
1399 is a file name on the client containing glob expressions.</para>
1400
1401 <para>All include expressions are expanded by &A;, concatenated in one file and passed to &gnutar; as a
1402 <option>--files-from</option> argument. They must start with &quot;./&quot; and contain no other &quot;/&quot;.</para>
1403
1404 <para>Include expressions must always be specified as relative to the
1405 head directory of the DLE.</para>
1406
1407 <note><para>For globbing to work at all, even the limited single level, 
1408 the top level directory of the DLE must be readable by the &A; user.</para>
1409 </note>
1410
1411 <para>With the <emphasis remap='B'>append</emphasis> keyword, the
1412 <emphasis remap='I'>string</emphasis> is appended to the current list, without it, the
1413 <emphasis remap='I'>string</emphasis> overwrites the list.</para>
1414
1415 <para>If
1416 <emphasis remap='B'>optional</emphasis> is specified for
1417 <emphasis remap='B'>include list,</emphasis> then amcheck will not complain if the file 
1418 doesn't exist or is not readable.</para>
1419
1420 <para>For <emphasis remap='B'>include list</emphasis>,
1421 If the file name is relative, the disk name being backed up is prepended.</para>
1422 </listitem>
1423 </varlistentry>
1424
1425   <varlistentry>
1426   <term><emphasis remap='B'>index</emphasis> <emphasis remap='I'> boolean</emphasis></term>
1427   <listitem>
1428 <para>Default: <emphasis remap='I'>no</emphasis>.
1429 Whether an index (catalogue) of the backup should be generated and saved in
1430 <emphasis remap='B'>indexdir</emphasis>.
1431 These catalogues are used by the <emphasis remap='B'>amrecover</emphasis> utility.</para>
1432   </listitem>
1433   </varlistentry>
1434
1435   <varlistentry>
1436   <term><emphasis remap='B'>kencrypt</emphasis> <emphasis remap='I'> boolean</emphasis></term>
1437   <listitem>
1438 <para>Default:
1439 <emphasis remap='I'>no</emphasis>.
1440 Whether the backup image should be encrypted by Kerberos as it is sent
1441 across the network from the backup client host to the tape server host.</para>
1442   </listitem>
1443   </varlistentry>
1444   <varlistentry>
1445   <term><emphasis remap='B'>maxdumps</emphasis> <emphasis remap='I'> int</emphasis></term>
1446   <listitem>
1447 <para>Default:
1448 <literal>1</literal>.
1449 The maximum number of backups from a single host that &A; will attempt to run in parallel.
1450 See also the main section parameter <emphasis remap='B'>inparallel</emphasis>.</para>
1451   </listitem>
1452   </varlistentry>
1453   <varlistentry>
1454   <term><emphasis remap='B'>maxpromoteday</emphasis> <emphasis remap='I'> int</emphasis></term>
1455   <listitem>
1456 <para>Default:
1457 <literal>10000</literal>.
1458 The maximum number of day for a promotion, set it 0 if you don't want
1459 promotion, set it to 1 or 2 if your disks get overpromoted.</para>
1460   </listitem>
1461   </varlistentry>
1462   <varlistentry>
1463   <term><emphasis remap='B'>priority</emphasis> <emphasis remap='I'> string</emphasis></term>
1464   <listitem>
1465 <para>Default: <emphasis remap='I'>medium</emphasis>.
1466 When there is no tape to write to, &A; will do incremental backups
1467 in priority order to the holding disk. The priority may be
1468 high (2), medium (1), low (0) or a number of your choice.</para>
1469   </listitem>
1470   </varlistentry>
1471   <varlistentry>
1472   <term><emphasis remap='B'>program</emphasis> <emphasis remap='I'> string</emphasis></term>
1473   <listitem>
1474 <para>Default:
1475 <emphasis remap='I'>DUMP</emphasis>.
1476 The type of backup to perform. Valid values are
1477 <emphasis remap='B'>DUMP</emphasis>
1478 for the native operating system backup program, and
1479 <emphasis remap='B'>GNUTAR</emphasis>
1480 to use &gnutar; or to do PC backups using Samba.</para>
1481   </listitem>
1482   </varlistentry>
1483   <varlistentry>
1484   <term><emphasis remap='B'>record</emphasis> <emphasis remap='I'> boolean</emphasis></term>
1485   <listitem>
1486 <para>Default:
1487 <emphasis remap='I'>yes</emphasis>.
1488 Whether to ask the backup program to update its database (e.g. <filename>/etc/dumpdates</filename>
1489 for DUMP or <filename>/usr/local/var/amanda/gnutar-lists</filename> for GNUTAR) of time stamps.
1490 This is normally enabled for daily backups and turned off for periodic archival runs.</para>
1491   </listitem>
1492   </varlistentry>
1493   <varlistentry>
1494   <term><emphasis remap='B'>skip-full</emphasis> <emphasis remap='I'> boolean</emphasis></term>
1495   <listitem>
1496 <para>Default:
1497 <emphasis remap='I'>no</emphasis>. If <emphasis remap='I'>true</emphasis> and
1498 <emphasis remap='B'>planner</emphasis> has scheduled a full backup, these disks will be skipped, and
1499 full backups should be run off-line on these days. It was reported that &A; only schedules 
1500 level 1 incrementals in this configuration; this is probably a bug.</para>
1501   </listitem>
1502   </varlistentry>
1503   <varlistentry>
1504   <term><emphasis remap='B'>skip-incr</emphasis> <emphasis remap='I'> boolean</emphasis></term>
1505   <listitem>
1506 <para>Default:
1507 <emphasis remap='I'>no</emphasis>. If <emphasis remap='I'>true</emphasis> and
1508 <emphasis remap='B'>planner</emphasis> has scheduled an incremental backup, these disks will be skipped.</para>
1509   </listitem>
1510   </varlistentry>
1511   <varlistentry>
1512   <term><emphasis remap='B'>starttime</emphasis> <emphasis remap='I'> int</emphasis></term>
1513   <listitem>
1514 <para>Default:
1515 <emphasis remap='I'>none</emphasis>.
1516 Backups will not start until after this time of day.
1517 The value should be hh*100+mm, e.g. 6:30PM (18:30) would be entered as
1518 <literal>1830</literal>.</para>
1519   </listitem>
1520   </varlistentry>
1521   <varlistentry>
1522   <term><emphasis remap='B'>strategy</emphasis> <emphasis remap='I'> string</emphasis></term>
1523   <listitem>
1524   <para>Default: <emphasis remap='I'>standard</emphasis>.
1525   Strategy to use when planning what level of backup to run next. Values are:</para>
1526
1527   <variablelist remap='TP'>
1528   <varlistentry>
1529   <term><emphasis remap='B'>standard</emphasis></term>
1530   <listitem>
1531   <para>The standard &A; schedule.</para>
1532   </listitem>
1533   </varlistentry>
1534   <varlistentry>
1535   <term><emphasis remap='B'>nofull</emphasis></term>
1536   <listitem>
1537   <para>Never do full backups, only level 1 incrementals.</para>
1538   </listitem>
1539   </varlistentry>
1540   <varlistentry>
1541   <term><emphasis remap='B'>noinc</emphasis></term>
1542   <listitem>
1543   <para>Never do incremental backups, only full dumps.</para>
1544   </listitem>
1545   </varlistentry>
1546   <varlistentry>
1547   <term><emphasis remap='B'>skip</emphasis></term>
1548   <listitem>
1549   <para>Never do backups (useful when sharing the <emphasis remap='I'>disklist</emphasis> file).</para>
1550   </listitem>
1551   </varlistentry>
1552   <varlistentry>
1553   <term><emphasis remap='B'>incronly</emphasis></term>
1554   <listitem>
1555   <para>Only do incremental dumps. <command>amadmin force</command> should be used to tell
1556   &A; that a full dump has been performed off-line, so that it resets to level 1.
1557   It is similar to skip-full, but with incronly full dumps may be scheduled manually.
1558   Unfortunately, it appears that &A; will perform full backups with this configuration,
1559   which is probably a bug.</para>
1560   </listitem>
1561   </varlistentry>
1562   </variablelist>
1563   </listitem>
1564   </varlistentry>
1565
1566   <varlistentry>
1567   <term><emphasis remap='B'>tape_splitsize</emphasis> <emphasis remap='I'> int</emphasis></term>
1568   <listitem>
1569 <para>Default:
1570 <emphasis remap='I'>none</emphasis>.
1571 Split dump file on tape into pieces of a specified size.
1572 This allows dumps to be spread across multiple tapes, and can potentially
1573 make more efficient use of tape space.
1574 Note that if this value is too large (more than half the size of the
1575 average dump being split), substantial tape space can be wasted.
1576 If too small, large dumps will be split into innumerable tiny dumpfiles,
1577 adding to restoration complexity.
1578 A good rule of thumb, usually, is 1/10 of the size of your tape.</para>
1579   </listitem>
1580   </varlistentry>
1581
1582   <varlistentry>
1583   <term><emphasis remap='B'>split_diskbuffer</emphasis> <emphasis remap='I'> string</emphasis></term>
1584   <listitem>
1585 <para>Default:
1586 <emphasis remap='I'>none</emphasis>.
1587 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.
1588 </para>
1589   </listitem>
1590   </varlistentry>
1591
1592   <varlistentry>
1593   <term><emphasis remap='B'>fallback_splitsize</emphasis> <emphasis remap='I'> int</emphasis></term>
1594   <listitem>
1595 <para>Default:
1596 <emphasis remap='I'>10M</emphasis>.
1597 When dumping a split dump in PORT-WRITE mode, if no split_diskbuffer is
1598 specified (or if we somehow fail to use our split_diskbuffer), we must
1599 buffer split chunks in memory.
1600 This specifies the maximum size split chunks can be in this scenario,
1601 and thus the maximum amount of memory consumed for in-memory splitting.
1602 The size of this buffer can be changed from its (very conservative) default
1603 to a value reflecting the amount of memory that each taper process on
1604 the dump server may reasonably consume.
1605 </para>
1606   </listitem>
1607   </varlistentry>
1608 </variablelist>
1609
1610 <para>The following <emphasis remap='B'>dumptype</emphasis> entries are predefined by &A;:</para>
1611
1612 <programlisting remap='.nf'>
1613 define dumptype no-compress {
1614     compress none
1615 }
1616 define dumptype compress-fast {
1617     compress client fast
1618 }
1619 define dumptype compress-best {
1620     compress client best
1621 }
1622 define dumptype srvcompress {
1623     compress server fast
1624 }
1625 define dumptype bsd-auth {
1626     auth bsd
1627 }
1628 define dumptype krb4-auth {
1629     auth krb4
1630 }
1631 define dumptype no-record {
1632     record no
1633 }
1634 define dumptype no-hold {
1635     holdingdisk no
1636 }
1637 define dumptype no-full {
1638     skip-full yes
1639
1640 </programlisting>
1641
1642 <para>In addition to options in a
1643 <emphasis remap='B'>dumptype</emphasis>
1644 section, one or more other
1645 <emphasis remap='B'>dumptype</emphasis>
1646 names may be entered, which make this
1647 <emphasis remap='B'>dumptype</emphasis>
1648 inherit options from other previously defined
1649 <emphasis remap='B'>dumptype</emphasis>s.
1650 For instance, two sections might be the same except for the
1651 <emphasis remap='B'>record</emphasis> option:</para>
1652
1653 <programlisting remap='.nf'>
1654 define dumptype normal {
1655     comment &quot;Normal backup, no compression, do indexing&quot;
1656     no-compress
1657     index yes
1658     maxdumps 2
1659 }
1660 define dumptype testing {
1661     comment &quot;Test backup, no compression, do indexing, no recording&quot;
1662     normal
1663     record no
1664 }
1665 </programlisting>
1666
1667 <para>&A; provides a
1668 <emphasis remap='B'>dumptype</emphasis>
1669 named
1670 <emphasis remap='I'>global</emphasis>
1671 in the sample
1672 <emphasis remap='B'>amanda.conf</emphasis>
1673 file that all
1674 <emphasis remap='B'>dumptype</emphasis>s
1675 should reference.
1676 This provides an easy place to make changes that will affect every
1677 <emphasis remap='B'>dumptype</emphasis>.</para>
1678 </refsect1>
1679
1680 <refsect1><title>TAPETYPE SECTION</title>
1681 <para>The <emphasis remap='B'>amanda.conf</emphasis>
1682 file may define multiple types of tape media and devices.
1683 The information is entered in a
1684 <emphasis remap='B'>tapetype</emphasis>
1685 section, which looks like this in the config file:</para>
1686
1687 <programlisting>
1688 define tapetype <emphasis remap='I'>name</emphasis> {
1689     <emphasis remap='I'>tapetype-option</emphasis> <emphasis remap='I'>tapetype-value</emphasis>
1690     <literal>...</literal>
1691 }
1692 </programlisting>
1693
1694 <para><emphasis remap='I'>Name</emphasis>
1695 is the name of this type of tape medium/device.
1696 It is referenced from the
1697 <emphasis remap='B'>tapetype</emphasis>
1698 option in the main part of the config file.</para>
1699
1700 <para>The tapetype options and values are:</para>
1701 <variablelist remap='TP'>
1702   <varlistentry>
1703   <term><emphasis remap='B'>comment</emphasis> <emphasis remap='I'> string</emphasis></term>
1704   <listitem>
1705 <para>Default:
1706 <emphasis remap='I'>none</emphasis>.
1707 A comment string describing this set of tape information.</para>
1708   </listitem>
1709   </varlistentry>
1710   <varlistentry>
1711   <term><emphasis remap='B'>filemark</emphasis> <emphasis remap='I'> int</emphasis></term>
1712   <listitem>
1713 <para>Default:
1714 <emphasis remap='I'>1 kbytes</emphasis>.
1715 How large a file mark (tape mark) is, measured in kbytes.
1716 If the size is only known in some linear measurement (e.g. inches),
1717 convert it to kbytes using the device density.</para>
1718   </listitem>
1719   </varlistentry>
1720   <varlistentry>
1721   <term><emphasis remap='B'>length</emphasis> <emphasis remap='I'> int</emphasis></term>
1722   <listitem>
1723 <para>Default:
1724 <emphasis remap='I'>2000 kbytes</emphasis>. How much data will fit on a tape.</para>
1725
1726 <para>Note that this value is only used by &A; to schedule which backups will be run.
1727 Once the backups start, &A; will continue to write to a tape until it gets an error, 
1728 regardless of what value is entered for <emphasis remap='B'>length</emphasis>
1729 (but see the section OUTPUT DRIVERS in the 
1730 <citerefentry><refentrytitle>amanda</refentrytitle><manvolnum>8</manvolnum></citerefentry> 
1731 manpage for exceptions).
1732  </para> </listitem>
1733   </varlistentry>
1734
1735 <varlistentry>
1736 <term><emphasis remap='B'>blocksize</emphasis> <emphasis remap='I'> int</emphasis></term>
1737 <listitem>
1738 <para>Default:
1739 <emphasis remap='I'>32 kbytes</emphasis>.
1740 How much data will be written in each tape record expressed in KiloBytes.
1741 The tape record size (= blocksize) can not be reduced below the default 32 KBytes.
1742 The parameter blocksize can only be raised if &A; was compiled with the configure option
1743 --with-maxtapeblocksize=N set with &quot;N&quot; greater than 32 during
1744 &configure;.
1745 </para>
1746   </listitem>
1747   </varlistentry>
1748   <varlistentry>
1749   <term><emphasis remap='B'>file-pad</emphasis> <emphasis remap='I'> boolean</emphasis></term>
1750   <listitem>
1751 <para>Default:
1752 <emphasis remap='I'>true</emphasis>.
1753 If true, every record, including the last one in the file, will have the same length.
1754 This matches the way &A; wrote tapes prior to the availability of this parameter.
1755 It may also be useful on devices that only support a fixed blocksize.</para>
1756
1757 <para>Note that the last record on the tape probably includes trailing
1758 null byte padding, which will be passed back to
1759 <emphasis remap='B'>gzip</emphasis>,
1760 <emphasis remap='B'>compress</emphasis>
1761 or the restore program. Most programs just ignore this (although possibly with a warning).</para>
1762
1763 <para>If this parameter is false, the last record in a file may be shorter
1764 than the block size. The file will contain the same amount of data the dump program generated,
1765 without trailing null byte padding. When read, the same amount of data that was written 
1766 will be returned.</para>
1767   </listitem>
1768   </varlistentry>
1769   
1770   <varlistentry>
1771   <term><emphasis remap='B'>speed</emphasis> <emphasis remap='I'> int</emphasis></term>
1772   <listitem>
1773 <para>Default:
1774 <emphasis remap='I'>200 bps</emphasis>.
1775 How fast the drive will accept data, in bytes per second.
1776 This parameter is NOT currently used by &A;.</para>
1777   </listitem>
1778   </varlistentry>
1779   <varlistentry>
1780   <term><emphasis remap='B'>lbl-templ</emphasis> <emphasis remap='I'> string</emphasis></term>
1781   <listitem>
1782 <para>A PostScript template file used by
1783 <emphasis remap='B'>amreport</emphasis>
1784 to generate labels. Several sample files are provided with the &A; sources in the
1785 <emphasis remap='I'>example</emphasis> directory.
1786 See the
1787 <citerefentry><refentrytitle>amreport</refentrytitle><manvolnum>8</manvolnum></citerefentry>
1788 man page for more information.</para>
1789   </listitem>
1790   </varlistentry>
1791 </variablelist>
1792
1793 <para>In addition to options, another
1794 <emphasis remap='B'>tapetype</emphasis>
1795 name may be entered, which makes this
1796 <emphasis remap='B'>tapetype</emphasis>
1797 inherit options from another
1798 <emphasis remap='B'>tapetype</emphasis>.
1799 For instance, the only difference between a DLT4000 tape drive using
1800 Compact-III tapes and one using Compact-IV tapes is the length of the tape.
1801 So they could be entered as:</para>
1802
1803 <programlisting remap='.nf'>
1804 define tapetype DLT4000-III {
1805     comment &quot;DLT4000 tape drives with Compact-III tapes&quot;
1806     length 12500 mbytes         # 10 Gig tapes with some compression
1807     filemark 2000 kbytes
1808     speed 1536 kps
1809 }
1810 define tapetype DLT4000-IV {
1811     DLT4000-III
1812     comment &quot;DLT4000 tape drives with Compact-IV tapes&quot;
1813     length 25000 mbytes         # 20 Gig tapes with some compression
1814 }
1815 </programlisting>
1816
1817 <!-- If anybody has read this, where do all those stupid 
1818      pseudo-duplicate FOM-tapetype-entries come from?? 
1819         - sgw, Jan. 2005 
1820 -->
1821
1822 </refsect1>
1823
1824 <refsect1><title>INTERFACE SECTION</title>
1825 <para>The
1826 <emphasis remap='B'>amanda.conf</emphasis>
1827 file may define multiple types of network interfaces.
1828 The information is entered in an <emphasis remap='B'>interface</emphasis>
1829 section, which looks like this:</para>
1830
1831 <programlisting>
1832 define interface <emphasis remap='I'>name</emphasis> {
1833     <emphasis remap='I'>interface-option</emphasis> <emphasis remap='I'>interface-value</emphasis>
1834     <literal>...</literal>
1835 }
1836 </programlisting>
1837
1838 <para><emphasis remap='I'>name</emphasis>
1839 is the name of this type of network interface. It is referenced from the
1840 <emphasis remap='I'>disklist</emphasis> file.</para>
1841
1842 <para>Note that these sections define network interface characteristics,
1843 not the actual interface that will be used. Nor do they impose limits on the bandwidth that will 
1844 actually be taken up by &A;.
1845 &A; computes the estimated bandwidth each file system backup will take
1846 based on the estimated size and time, then compares that plus any other running
1847 backups with the limit as another of the criteria when deciding whether
1848 to start the backup. Once a backup starts, &A; will use as much of the network as it can
1849 leaving throttling up to the operating system and network hardware.</para>
1850
1851 <para>The interface options and values are:</para>
1852 <variablelist remap='TP'>
1853   <varlistentry>
1854   <term><emphasis remap='B'>comment</emphasis> <emphasis remap='I'> string</emphasis></term>
1855   <listitem>
1856 <para>Default:
1857 <emphasis remap='I'>none</emphasis>.
1858 A comment string describing this set of network information.</para>
1859   </listitem>
1860   </varlistentry>
1861   <varlistentry>
1862   <term><emphasis remap='B'>use</emphasis> <emphasis remap='I'> int</emphasis></term>
1863   <listitem>
1864 <para>Default:
1865 <emphasis remap='I'>300 Kbps</emphasis>.
1866 The speed of the interface in Kbytes per second.</para>
1867   </listitem>
1868   </varlistentry>
1869 </variablelist>
1870
1871 <para>In addition to options, another
1872 <emphasis remap='B'>interface</emphasis>
1873 name may be entered, which makes this
1874 <emphasis remap='B'>interface</emphasis>
1875 inherit options from another
1876 <emphasis remap='B'>interface</emphasis>.
1877 At the moment, this is of little use.</para>
1878 </refsect1>
1879
1880 <refsect1><title>AUTHOR</title>
1881 <para>James da Silva, &email.jds;: Original text</para>
1882 <para>&maintainer.sgw;: XML-conversion, major update, splitting</para>
1883 </refsect1>
1884
1885 <refsect1><title>SEE ALSO</title>
1886 <para>
1887 <citerefentry><refentrytitle>amanda</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
1888 <citerefentry><refentrytitle>amanda-client.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
1889 <citerefentry><refentrytitle>amcrypt</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
1890 <citerefentry><refentrytitle>aespipe</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
1891 </para>
1892 </refsect1>
1893 </refentry>
1894