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