Merge commit 'upstream/2.6.1p2'
[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 &rmi.source;
16 &rmi.version;
17 &rmi.manual.5;
18 </refmeta>
19 <refnamediv>
20 <refname>amanda.conf</refname>
21 <refpurpose>Main configuration file for &A;, the Advanced Maryland Automatic Network Disk Archiver</refpurpose>
22 </refnamediv>
23 <refentryinfo>
24 &author.jds;
25 &author.sgw.xml;
26 </refentryinfo>
27 <!-- body begins here -->
28
29 <refsect1><title>DESCRIPTION</title>
30 <para>&amconf; is the main configuration file for &A;. This manpage lists the
31 relevant sections and parameters of this file for quick reference.</para> 
32 <para> The file <emphasis remap='B'>&lt;CONFIG_DIR&gt;/&lt;config&gt;/amanda.conf</emphasis> is loaded.</para>
33 </refsect1>
34
35 <refsect1><title>SYNTAX</title>
36
37 <para>There are a number of configuration parameters that control the
38 behavior of the &A; programs.
39 All have default values,
40 so you need not specify the parameter in
41 <emphasis remap='B'>amanda.conf</emphasis>
42 if the default is suitable.</para>
43
44 <refsect2><title>COMMENTS</title>
45
46 <para>Lines starting with # are ignored, as are blank lines.
47 Comments may be placed on a line with a directive by starting
48 the comment with a #.
49 The remainder of the line is ignored.</para>
50 </refsect2>
51
52 <refsect2><title>KEYWORDS AND IDENTIFIERS</title>
53
54 <para>Keywords are case insensitive, i.e.
55 <emphasis remap='B'>mailto</emphasis>
56 and
57 <emphasis remap='B'>MailTo</emphasis>
58 are treated the same.  Also, the characters
59 <emphasis remap='B'>'-'</emphasis>
60 and
61 <emphasis remap='B'>'_'</emphasis>
62 are interchangeable in all predefined &A; keywords:
63 <emphasis remap='B'>device_property</emphasis>
64 and
65 <emphasis remap='B'>device-property</emphasis>
66 have the same meaning.</para>
67
68 <para>Identifiers are names which are defined in the configuration itself, such
69 as dumptypes or interfaces.  Identifiers are are case-insensitive, but
70 sensitive to
71 <emphasis remap='B'>'-'</emphasis>
72 vs.
73 <emphasis remap='B'>'_'</emphasis>.
74 Identifiers should be quoted in the configuration file, although For historical
75 reasons, the quotes are optional.</para>
76
77 <para>Strings are always quoted with double quotes ("), and any double quotes
78 or backslashes within the string are escaped with a backslash:
79 <programlisting>
80 tapelist "/path/to/tapelist"
81 property "escaped-string" "escaping: \\ (backslash) and \" (double-quote)"
82 </programlisting>
83 </para>
84
85 <para>To summarize, then:
86 <programlisting>
87                           # QUOTES        CASE            -/_
88 logdir "logs"             # required      sensitive       sensitive
89 send-amreport-on strange  # prohibited    insensitive     insensitive
90 tapetype "EXABYTE"        # optional      insensitive     sensitive
91
92 define dumptype "dt" {    # optional      insensitive     sensitive
93   "dumptype-common"       # optional      insensitive     sensitive
94   strategy noincr         # prohibited    insensitive     insensitive
95 }
96 </programlisting>
97 </para>
98
99 </refsect2>
100
101 <refsect2><title>VALUE SUFFIXES</title>
102
103 <para>Integer arguments may have one of the following (case insensitive) suffixes,
104 some of which have a multiplier effect:</para>
105
106 <variablelist remap='TP'>
107   <varlistentry>
108   <term><emphasis remap='B'>b byte bytes</emphasis></term>
109   <listitem>
110 <para>Some number of bytes.</para>
111   </listitem>
112   </varlistentry>
113   <varlistentry>
114   <term><emphasis remap='B'>bps</emphasis></term>
115   <listitem>
116 <para>Some number of bytes per second.</para>
117   </listitem>
118   </varlistentry>
119   <varlistentry>
120   <term><emphasis remap='B'>k kb kbyte kbytes kilobyte kilobytes</emphasis></term>
121   <listitem>
122 <para>Some number of kilobytes (bytes*1024).</para>
123   </listitem>
124   </varlistentry>
125   <varlistentry>
126   <term><emphasis remap='B'>kps kbps</emphasis></term>
127   <listitem>
128 <para>Some number of kilobytes per second (bytes*1024).</para>
129 <para>It is the default multiplier for all size options.</para>
130   </listitem>
131   </varlistentry>
132   <varlistentry>
133   <term><emphasis remap='B'>m mb meg mbyte mbytes megabyte megabytes</emphasis></term>
134   <listitem>
135 <para>Some number of megabytes (bytes*1024*1024).</para>
136   </listitem>
137   </varlistentry>
138   <varlistentry>
139   <term><emphasis remap='B'>mps mbps</emphasis></term>
140   <listitem>
141 <para>Some number of megabytes per second (bytes*1024*1024).</para>
142   </listitem>
143   </varlistentry>
144   <varlistentry>
145   <term><emphasis remap='B'>g gb gbyte gbytes gigabyte gigabytes</emphasis></term>
146   <listitem>
147 <para>Some number of gigabytes (bytes*1024*1024*1024).</para>
148   </listitem>
149   </varlistentry>
150   <varlistentry>
151   <term><emphasis remap='B'>tape tapes</emphasis></term>
152   <listitem>
153 <para>Some number of tapes.</para>
154   </listitem>
155   </varlistentry>
156   <varlistentry>
157   <term><emphasis remap='B'>day days</emphasis></term>
158   <listitem>
159 <para>Some number of days.</para>
160   </listitem>
161   </varlistentry>
162   <varlistentry>
163   <term><emphasis remap='B'>week weeks</emphasis></term>
164   <listitem>
165 <para>Some number of weeks (days*7).</para>
166
167 <note><para>The value
168 <emphasis remap='B'>inf</emphasis>
169 may be used in most places where an integer is expected
170 to mean an infinite amount.</para>
171
172 <para>Boolean arguments may have any of the values
173 <emphasis remap='B'>y</emphasis>,
174 <emphasis remap='B'>yes</emphasis>,
175 <emphasis remap='B'>t</emphasis>,
176 <emphasis remap='B'>true</emphasis>
177 or
178 <emphasis remap='B'>on</emphasis>
179 to indicate a true state, or
180 <emphasis remap='B'>n</emphasis>,
181 <emphasis remap='B'>no</emphasis>,
182 <emphasis remap='B'>f</emphasis>,
183 <emphasis remap='B'>false</emphasis>
184 or
185 <emphasis remap='B'>off</emphasis>
186 to indicate a false state.
187 If no argument is given,
188 <emphasis remap='B'>true</emphasis>
189 is assumed.
190 </para>
191 </note>
192   </listitem>
193   </varlistentry>
194 </variablelist>
195 </refsect2>
196
197 <refsect2><title>PARAMETER ORDER</title>
198
199 <para>In general, the order in which parameters occur in the configuration file
200 does not matter, with the exception of subsection inheritance.  For example, if
201 dumptype "normal-encrypt" which inherits from dumptype "normal", then "normal"
202 must appear first in the configuration file.</para>
203
204 </refsect2>
205
206 <refsect2><title>STRINGS</title>
207 <para>Quoted strings in Amanda follow a common, C-like syntax.  Printable
208 characters and whitespace are kept as-is, except that the backslash character
209 (\) is used as an escape character, and a double-quote ends the string.  The allowed
210 escape sequences are
211 <programlisting>
212     ESCAPE SEQUENCE     BECOMES
213     \\                  \
214     \"                  "
215     \n                  (newline)
216     \t                  (tab)
217     \r                  (carriage return)
218     \f                  (form-feed)
219     \1 - \7
220     \01 - \77
221     \001 - \377         (character specified in octal)
222 </programlisting>
223 Illegally quoted strings are handled on a "best-effort" basis, which may lead to
224 unexpected results.
225 </para>
226 <para>Examples:
227 <programlisting>
228 finserver "/data/finance/XYZ Corp's \"real\" finances" finance-high eth0 -1
229 property "syspath" "C:\\WINDOWS\\SYSTEM"
230 </programlisting>
231 </para>
232 </refsect2>
233 </refsect1>
234
235 <refsect1>
236 <title>GLOBAL PARAMETERS</title>
237
238 <variablelist remap='TP'>
239   <varlistentry>
240   <term><emphasis remap='B'>org</emphasis> <emphasis remap='I'> string</emphasis></term>
241   <listitem>
242 <para>Default:
243 <emphasis remap='I'>daily</emphasis>.
244 A descriptive name for the configuration.
245 This string appears in the Subject line of mail reports.
246 Each &A; configuration should have a different string to keep
247 mail reports distinct.</para>
248   </listitem>
249   </varlistentry>
250   <varlistentry>
251   <term><emphasis remap='B'>mailer</emphasis> <emphasis remap='I'> string</emphasis></term>
252   <listitem>
253 <para>Default found by configure. A mail program that can send mail with '<emphasis remap='I'>MAILER -s "subject" user &lt; message_file</emphasis>'.</para>
254   </listitem>
255   </varlistentry>
256   <varlistentry>
257   <term><emphasis remap='B'>mailto</emphasis> <emphasis remap='I'> string</emphasis></term>
258   <listitem>
259 <para>Default:
260 <emphasis remap='I'>operators</emphasis>.
261 A space separated list of recipients for mail reports.</para>
262   </listitem>
263   </varlistentry>
264   <varlistentry>
265   <term><emphasis remap='B'>send-amreport-on</emphasis> [all|strange|error|never]</term>
266   <listitem>
267 <para>Default:
268 <emphasis remap='B'>all</emphasis>.
269 Specify which types of messages will trigger an email from amreport. amreport is used by amdump and amflush.</para>
270   <!-- .RS -->
271     <variablelist remap='TP'>
272       <varlistentry>
273       <term><emphasis remap='B'>all</emphasis></term>
274       <listitem>
275 <para>Send an email on any message.</para>
276       </listitem>
277       </varlistentry>
278       <varlistentry>
279       <term><emphasis remap='B'>strange</emphasis></term>
280       <listitem>
281 <para>Send an email on strange or error message. A strange message occurs when the dump succeeded, but returned one or more errors unknown to &A;.</para>
282       </listitem>
283       </varlistentry>
284       <varlistentry>
285       <term><emphasis remap='B'>error</emphasis></term>
286       <listitem>
287 <para>Send an email only on error messages.</para>
288       </listitem>
289       </varlistentry>
290       <varlistentry>
291       <term><emphasis remap='B'>never</emphasis></term>
292       <listitem>
293 <para>Never send an email.</para>
294       </listitem>
295       </varlistentry>
296     </variablelist>
297   </listitem>
298   </varlistentry>
299   <varlistentry>
300   <term><emphasis remap='B'>dumpcycle</emphasis> <emphasis remap='I'> int</emphasis></term>
301   <listitem>
302 <para>Default:
303 <emphasis remap='I'>10 days</emphasis>.
304 The number of days in the backup cycle.
305 Each disk will get a full backup at least this often.
306 Setting this to zero tries to do a full backup each run.</para>
307 <note><para>This parameter may also be set in a specific
308 <emphasis remap='B'>dumptype</emphasis>
309 (see below).
310 This value sets the default for all
311 <emphasis remap='B'>dumptype</emphasis>s
312 so must appear in
313 <emphasis remap='B'>amanda.conf</emphasis>
314 before any
315 <emphasis remap='B'>dumptype</emphasis>s
316 are defined.</para>
317 </note>
318   </listitem>
319   </varlistentry>
320
321   <varlistentry>
322   <term><emphasis remap='B'>runspercycle</emphasis> <emphasis remap='I'> int</emphasis></term>
323   <listitem>
324 <para>Default:
325 <emphasis remap='I'>same as dumpcycle</emphasis>.
326 The number of amdump runs in 
327 <emphasis remap='B'>dumpcycle</emphasis>
328 days.
329 A value of 0 means the same value as 
330 <emphasis remap='B'>dumpcycle</emphasis>.
331 A value of -1 means guess the number of runs from the &tapelist; file,
332 which is the number of tapes used in the last 
333 <emphasis remap='B'>dumpcycle</emphasis>
334 days / 
335 <emphasis remap='B'>runtapes</emphasis>.</para>
336   </listitem>
337   </varlistentry>
338   <varlistentry>
339   <term><emphasis remap='B'>tapecycle</emphasis> <emphasis remap='I'> int</emphasis></term>
340   <listitem>
341 <para>Default:
342 <emphasis remap='I'>15 tapes</emphasis>.
343 Typically tapes are used by &A; in an ordered rotation. The <emphasis remap='B'>tapecycle</emphasis> parameter 
344 defines the size of that rotation. The number of tapes in rotation must be larger than the number of tapes 
345 required for a complete dump cycle (see the <emphasis remap='B'>dumpcycle</emphasis> parameter). 
346 </para>
347 <para>
348 This is calculated by multiplying the number of &amdump; runs per dump cycle
349 (<emphasis remap='B'>runspercycle</emphasis> parameter) times the number of tapes used per run 
350 (<emphasis remap='B'>runtapes</emphasis> parameter). Typically two to four times this calculated number of tapes are in rotation.
351 While &A; is always willing to use a new tape in its rotation, it refuses to reuse a tape until at 
352 least '<emphasis remap='B'>tapecycle</emphasis> -1' number of other tapes have been used. 
353 </para>
354 <para>
355 It is considered good administrative practice to set the <emphasis remap='B'>tapecycle</emphasis> parameter 
356 slightly lower than the actual number of tapes in rotation. This allows the administrator to more easily cope 
357 with damaged or misplaced tapes or schedule adjustments that call for slight adjustments in the rotation order.
358 </para>
359   </listitem>
360   </varlistentry>
361
362   <varlistentry>
363   <term><emphasis remap='B'>usetimestamps</emphasis>
364         <emphasis remap='I'> bool</emphasis></term>
365     <listitem>
366       <para>Default: <emphasis remap='B'>Yes</emphasis>.
367 This option allows Amanda to track multiple runs per calendar
368 day. The only reason one might disable it is that Amanda versions before 2.5.1
369 can't read logfiles written when this option was enabled.
370       </para>
371     </listitem>
372   </varlistentry>
373
374   <varlistentry>
375   <term><emphasis remap='B'>label_new_tapes</emphasis>
376         <emphasis remap='I'> string</emphasis></term>
377 <listitem>
378     <para>Default: not set.
379 When set, this directive will cause &A; to automatically write an &A;
380 tape label to any blank tape she encounters. This option is DANGEROUS 
381 because when set, &A; will ERASE any non-&A; tapes you may have, and may 
382 also ERASE any near-failing tapes. Use with caution.</para>
383 <para>When using this directive, specify the template for new tape 
384 labels. The template should contain some number of contiguous '%' 
385 characters, which will be replaced with a generated number. Be sure to 
386 specify enough '%' characters that you do not run out of tape labels. 
387 Example: 
388 <markup>label_new_tapes "DailySet1-%%%"</markup>
389 </para>
390 </listitem>
391 </varlistentry>
392
393   <varlistentry>
394   <term><emphasis remap='B'>dumpuser</emphasis> <emphasis remap='I'> string</emphasis></term>
395   <listitem>
396 <para>Default:
397 <emphasis remap='I'>amanda</emphasis>.
398 The login name &A; uses to run the backups.
399 The backup client hosts must allow access
400 from the tape server host as this user via
401 <markup>.rhosts</markup>
402 or
403 <markup>.amandahosts</markup>,
404 depending on how the &A; software was built.</para>
405   </listitem>
406   </varlistentry>
407   <varlistentry>
408   <term><emphasis remap='B'>printer</emphasis> string</term>
409   <listitem>
410 <para>Printer to use when doing tape labels.
411 See the
412 <emphasis remap='B'>lbl-templ</emphasis>
413 <emphasis remap='B'>tapetype</emphasis>
414 option.</para>
415   </listitem>
416   </varlistentry>
417
418   <varlistentry>
419   <term><emphasis remap='B'>tapedev</emphasis> string</term>
420   <listitem>
421 <para>Default:
422 <filename>null:</filename>.
423 The device name, referencing the name of a "device" section in the configuration file.  See
424 <citerefentry><refentrytitle>amanda-devices</refentrytitle><manvolnum>7</manvolnum></citerefentry>
425 for more information on device names.</para>
426
427 <para>If a tape changer is configured
428 (see the
429 <emphasis remap='B'>tpchanger</emphasis>
430 option), this option might not be used.</para>
431
432 <para>If <emphasis remap='B'>tapedev</emphasis> is
433 <emphasis remap='B'>null:</emphasis>,
434 programs such as
435 &amdump;
436 will run normally but all images will be thrown away.
437 This should only be used for debugging and testing,
438 and probably only with the
439 <emphasis remap='B'>record</emphasis>
440 option set to
441 <emphasis remap='I'>no</emphasis>.</para>
442   </listitem>
443   </varlistentry>
444
445   <varlistentry>
446   <term><emphasis remap='B'>device_property</emphasis> string string</term>
447   <listitem>
448 <para>These options can set various device properties.  See
449 <citerefentry><refentrytitle>amanda-devices</refentrytitle><manvolnum>7</manvolnum></citerefentry>
450 for more information on device properties and their syntax.
451 Both strings are always quoted; the first string contains the name of
452 the property to set, and the second contains its value. For example, to set
453 a fixed block size of 128k, write:</para>
454 <programlisting>
455 device_property "BLOCK_SIZE" "128k"
456 </programlisting>
457
458   </listitem>
459   </varlistentry>
460
461   <varlistentry>
462   <term><emphasis remap='B'>property</emphasis> [append] string string+</term>
463   <listitem>
464 <para>These options can set various properties, they can be used by third
465  party software to store information in the configuration file.
466 Both strings are quoted; the first string contains the name of
467 the property to set, and the others contains its values.
468 <emphasis remap='B'>append</emphasis> keyword append the values to the list of values for that property.
469 </para>
470   </listitem>
471   </varlistentry>
472
473   <varlistentry>
474   <term><emphasis remap='B'>tpchanger</emphasis> string</term>
475   <listitem>
476 <para>Default:
477 <emphasis remap='I'>none</emphasis>.
478 The name of the tape changer.
479 If a tape changer is not configured, this option is not used
480 and should be commented out of the configuration file.</para>
481 <para>If a tape changer is configured, choose one of the changer scripts
482 (e.g.  <emphasis remap='B'>chg-scsi</emphasis>)
483 and enter that here.</para>
484   </listitem>
485   </varlistentry>
486
487   <varlistentry>
488   <term><emphasis remap='B'>changerdev</emphasis> string</term>
489   <listitem>
490 <para>Default:
491 <filename>/dev/null</filename>.
492 A tape changer configuration parameter.
493 Usage depends on the particular changer defined with the
494 <emphasis remap='B'>tpchanger</emphasis>
495 option.</para>
496   </listitem>
497   </varlistentry>
498   <varlistentry>
499   <term><emphasis remap='B'>changerfile</emphasis> string</term>
500   <listitem>
501 <para>Default:
502 <filename>/usr/adm/amanda/log/changer-status</filename>.
503 A tape changer configuration parameter.
504 Usage depends on the particular changer defined with the
505 <emphasis remap='B'>tpchanger</emphasis>
506 option.</para>
507   </listitem>
508   </varlistentry>
509   <varlistentry>
510   <term><emphasis remap='B'>runtapes</emphasis> int</term>
511   <listitem>
512 <para>Default:
513 <literal>1</literal>.
514 The maximum number of tapes used in a single run.
515 If a tape changer is not configured, this option is not used
516 and should be commented out of the configuration file.</para>
517 <para>If a tape changer is configured, this may be set larger than one to
518 let &A; write to more than one tape.</para>
519 <para>Note that this is an upper bound on the number of tapes,
520 and &A; may use less.</para>
521 <para>Also note that as of this release, &A; does not support true tape overflow.
522 When it reaches the end of one tape,
523 the backup image &A; was processing starts over again on the next tape.</para>
524   </listitem>
525   </varlistentry>
526
527   <varlistentry>
528   <term><emphasis remap='B'>maxdumpsize</emphasis> int</term>
529   <listitem>
530 <para>Default:
531 <emphasis remap='I'>runtapes</emphasis>*<emphasis remap='I'>tape_length</emphasis>.
532 Maximum number of bytes the planner will schedule for a run.</para>
533 <para>The default unit is Kbytes if it is not specified.</para>
534   </listitem>
535   </varlistentry>
536   <varlistentry>
537   <term><emphasis remap='B'>taperalgo</emphasis> [first|firstfit|largest|largestfit|smallest|last]</term>
538   <listitem>
539 <para>Default:
540 <emphasis remap='I'>first</emphasis>.
541 The algorithm used to choose which dump image to send to the taper.</para>
542   <!-- .RS -->
543     <variablelist remap='TP'>
544       <varlistentry>
545       <term><emphasis remap='B'>first</emphasis></term>
546       <listitem>
547 <para>First in, first out.</para>
548       </listitem>
549       </varlistentry>
550       <varlistentry>
551       <term><emphasis remap='B'>firstfit</emphasis></term>
552       <listitem>
553 <para>The first dump image that will fit on the current tape.</para>
554       </listitem>
555       </varlistentry>
556       <varlistentry>
557       <term><emphasis remap='B'>largest</emphasis></term>
558       <listitem>
559 <para>The largest dump image.</para>
560       </listitem>
561       </varlistentry>
562       <varlistentry>
563       <term><emphasis remap='B'>largestfit</emphasis></term>
564       <listitem>
565 <para>The largest dump image that will fit on the current tape.</para>
566       </listitem>
567       </varlistentry>
568       <varlistentry>
569       <term><emphasis remap='B'>smallest</emphasis></term>
570       <listitem>
571 <para>The smallest dump image.</para>
572       </listitem>
573       </varlistentry>
574       <varlistentry>
575       <term><emphasis remap='B'>last</emphasis></term>
576       <listitem>
577 <para>Last in, first out.</para>
578       </listitem>
579       </varlistentry>
580     </variablelist>
581   
582   </listitem>
583   </varlistentry>
584 <varlistentry>
585 <term><emphasis remap='B'>labelstr</emphasis> <emphasis remap='I'> string</emphasis></term>
586 <listitem>
587 <para>Default:
588 <emphasis remap='I'>.*</emphasis>.
589 The tape label constraint regular expression.
590 All tape labels generated (see
591 <citerefentry><refentrytitle>amlabel</refentrytitle><manvolnum>8</manvolnum></citerefentry>)
592 and used by this configuration must match the regular expression.
593 If multiple configurations are run from the same tape server host,
594 it is helpful to set their labels to different strings
595 (for example, &quot;DAILY[0-9][0-9]*&quot; vs.
596 &quot;ARCHIVE[0-9][0-9]*&quot;)
597 to avoid overwriting each other's tapes.</para>
598 </listitem>
599 </varlistentry>
600   <varlistentry>
601   <term><emphasis remap='B'>tapetype</emphasis> <emphasis remap='I'> identifier</emphasis></term>
602   <listitem>
603 <para>Default:
604 <emphasis remap='I'>"EXABYTE"</emphasis>.
605 The type of tape drive associated with
606 <emphasis remap='B'>tapedev</emphasis>
607 or
608 <emphasis remap='B'>tpchanger</emphasis>.
609 This refers to one of the defined <emphasis remap='B'>tapetype</emphasis>s
610 in the config file (see below), which specify various tape parameters,
611 like the
612 <emphasis remap='B'>length</emphasis>,
613 <emphasis remap='B'>filemark</emphasis>
614 size, and
615 <emphasis remap='B'>speed</emphasis>
616 of the tape media and device.</para>
617   </listitem>
618   </varlistentry>
619   <varlistentry>
620   <term><emphasis remap='B'>ctimeout</emphasis> int</term>
621   <listitem>
622 <para>Default:
623 <emphasis remap='I'>30 seconds</emphasis>.
624 Maximum amount of time that
625 <emphasis remap='B'>amcheck</emphasis>
626 will wait for each client host.</para>
627   </listitem>
628   </varlistentry>
629   <varlistentry>
630   <term><emphasis remap='B'>dtimeout</emphasis> int</term>
631   <listitem>
632 <para>Default:
633 <emphasis remap='I'>1800 seconds</emphasis>.
634 Amount of idle time per disk on a given client that a
635 <emphasis remap='B'>dumper</emphasis>
636 running from within
637 <command>amdump</command>
638 will wait before it fails with a data timeout error.</para>
639   </listitem>
640   </varlistentry>
641
642   <varlistentry>
643   <term><emphasis remap='B'>etimeout</emphasis> int</term>
644   <listitem>
645 <para>Default:
646 <emphasis remap='I'>300 seconds</emphasis>.
647 Amount of time per estimate on a given client that the
648 <emphasis remap='B'>planner</emphasis> step of
649 <command>amdump</command> will wait to get the dump size estimates
650 (note: Amanda runs up to 3 estimates for each DLE).  For instance,
651 with the default of 300 seconds and four DLE's, each estimating level
652 0 and level 1 on client A, <emphasis remap='B'>planner</emphasis>
653 will wait up to 40 minutes for that machine.  A negative value will
654 be interpreted as a total amount of time to wait
655 per client instead of per disk.</para>
656   </listitem>
657   </varlistentry>
658
659   <varlistentry>
660   <term><emphasis remap='B'>connect_tries</emphasis> int</term>
661   <listitem>
662 <para>Default:
663 <emphasis remap='I'>3</emphasis>.
664 How many times the server will try a connection.</para>
665   </listitem>
666   </varlistentry>
667
668   <varlistentry>
669   <term><emphasis remap='B'>req_tries</emphasis> int</term>
670   <listitem>
671 <para>Default:
672 <emphasis remap='I'>3</emphasis>.
673 How many times the server will resend a REQ packet if it doesn't get the ACK packet.</para>
674   </listitem>
675   </varlistentry>
676
677   <varlistentry>
678   <term><emphasis remap='B'>netusage</emphasis> int</term>
679   <listitem>
680 <para>Default:
681 <emphasis remap='I'>8000 Kbps</emphasis>.
682 The maximum network bandwidth allocated to &A;, in Kbytes per second.
683 See also the
684 <emphasis remap='B'>interface</emphasis>
685 section.</para>
686   </listitem>
687   </varlistentry>
688   <varlistentry>
689   <term><emphasis remap='B'>inparallel</emphasis> int</term>
690   <listitem>
691 <para>Default:
692 <literal>10</literal>.
693 The maximum number of backups that &A; will attempt to run in parallel.
694 &A; will stay within the constraints of network bandwidth and
695 holding disk space available, so it doesn't hurt to set
696 this number a bit high. Some contention can occur with larger numbers
697 of backups, but this effect is relatively small on most systems.</para>
698   </listitem>
699   </varlistentry>
700
701   <varlistentry>
702   <term><emphasis remap='B'>displayunit</emphasis> &quot;k|m|g|t&quot;</term>
703   <listitem>
704 <para>Default:
705 <literal>&quot;k&quot;</literal>.
706 The unit used to print many numbers, k=kilo, m=mega, g=giga, t=tera.
707 </para>
708   </listitem>
709   </varlistentry>
710   
711   <varlistentry>
712   <term><emphasis remap='B'>dumporder</emphasis> string</term>
713   <listitem>
714 <para>Default:
715 <emphasis remap='I'>tttTTTTTTT</emphasis>.
716 The priority order of each dumper:
717
718 <programlisting>
719 s: smallest size
720 S: largest size
721 t: smallest time
722 T: largest time
723 b: smallest bandwidth
724 B: largest bandwidth
725 </programlisting></para>
726
727   </listitem>
728   </varlistentry>
729
730   <varlistentry>
731   <term><emphasis remap='B'>maxdumps</emphasis> int</term>
732   <listitem>
733 <para>Default:
734 <literal>1</literal>.
735 The maximum number of backups from a single host that &A; will
736 attempt to run in parallel. See also the
737 <emphasis remap='B'>inparallel</emphasis>
738 option.</para>
739
740 <para>Note that this parameter may also be set in a specific
741 <emphasis remap='B'>dumptype</emphasis>
742 (see below).
743 This value sets the default for all
744 <emphasis remap='B'>dumptype</emphasis>s
745 so must appear in
746 <emphasis remap='B'>amanda.conf</emphasis>
747 before any
748 <emphasis remap='B'>dumptype</emphasis>s
749 are defined.</para>
750   </listitem>
751   </varlistentry>
752
753   <varlistentry>
754   <term><emphasis remap='B'>bumpsize</emphasis> int</term>
755   <listitem>
756 <para>Default:
757 <emphasis remap='I'>10 Mbytes</emphasis>.
758 The minimum savings required to trigger an automatic
759 bump from one incremental level to the next, expressed as size.
760 If &A; determines that the next higher backup level
761 will be this much smaller than the current level,
762 it will do the next level.
763 The value of this parameter is used only if the parameter 
764 <emphasis>bumppercent</emphasis> is set to 0.
765 </para>
766 <para>The default unit is Kbytes if it is not specified.</para>
767 <para>
768 The global setting of this parameter can be overwritten inside of a  
769 dumptype-definition.  
770 </para>
771 <para>
772 See also the options 
773 <emphasis remap='B'>bumppercent</emphasis>,
774 <emphasis remap='B'>bumpmult</emphasis> and
775 <emphasis remap='B'>bumpdays</emphasis>.</para>
776   </listitem>
777   </varlistentry>
778
779   <varlistentry>
780   <term><emphasis remap='B'>bumppercent</emphasis> int</term>
781   <listitem>
782 <para>Default:
783 <emphasis remap='I'>0 percent</emphasis>.
784 The minimum savings required to trigger an automatic
785 bump from one incremental level to the next, expressed as percentage of the
786 current size of the DLE (size of current level 0).
787 If &A; determines that the next higher backup level
788 will be this much smaller than the current level,
789 it will do the next level.
790 </para>
791 <para>
792 If this parameter is set to 0, the value of the
793 parameter <emphasis>bumpsize</emphasis> is used to trigger bumping.
794 </para>
795 <para>
796 The global setting of this parameter can be overwritten inside of a  
797 dumptype-definition.  
798 </para>
799 <para>
800 See also the options 
801 <emphasis remap='B'>bumpsize</emphasis>,
802 <emphasis remap='B'>bumpmult</emphasis> and
803 <emphasis remap='B'>bumpdays</emphasis>.</para>
804   </listitem>
805   </varlistentry>
806
807   <varlistentry>
808   <term><emphasis remap='B'>bumpmult</emphasis> <emphasis remap='I'> float</emphasis></term>
809   <listitem>
810 <para>Default:
811 <literal>1.5</literal>.
812 The bump size multiplier.
813 &A; multiplies
814 <emphasis remap='B'>bumpsize</emphasis>
815 by this factor for each level.
816 This prevents active filesystems from
817 bumping too much by making it harder to bump to the next level.
818 For example, with the default
819 <emphasis remap='B'>bumpsize</emphasis>
820 and
821 <emphasis remap='B'>bumpmult</emphasis>
822 set to 2.0, the bump threshold will be 10 Mbytes for level one, 20
823 Mbytes for level two, 40 Mbytes for level three, and so on.</para>
824 <para>
825 The global setting of this parameter can be overwritten inside of a  
826 dumptype-definition.  
827 </para>
828   </listitem>
829   </varlistentry>
830   <varlistentry>
831   <term><emphasis remap='B'>bumpdays</emphasis> <emphasis remap='I'> int</emphasis></term>
832   <listitem>
833 <para>Default:
834 <emphasis remap='I'>2 days</emphasis>.
835 To insure redundancy in the dumps, &A; keeps filesystems at the
836 same incremental level for at least
837 <emphasis remap='B'>bumpdays</emphasis>
838 days, even if the other bump threshold criteria are met.</para>
839 <para>
840 The global setting of this parameter can be overwritten inside of a  
841 dumptype-definition.  
842 </para>
843   </listitem>
844   </varlistentry>
845   
846   <varlistentry>
847   <term><emphasis remap='B'>diskfile</emphasis> <emphasis remap='I'> string</emphasis></term>
848   <listitem>
849 <para>Default:
850 <emphasis remap='I'>disklist</emphasis>.
851 The file name for the
852 <emphasis remap='I'>disklist</emphasis>
853 file holding client hosts, disks and other client dumping information.</para>
854   </listitem>
855   </varlistentry>
856   <varlistentry>
857   <term><emphasis remap='B'>infofile</emphasis> <emphasis remap='I'> string</emphasis></term>
858   <listitem>
859 <para>Default:
860 <filename>/usr/adm/amanda/curinfo</filename>.
861 The file or directory name for the historical information database.
862 If &A; was configured to use DBM databases, this is the base file
863 name for them.
864 If it was configured to use text formated databases (the default),
865 this is the base directory and within here will be a directory per
866 client, then a directory per disk, then a text file of data.</para>
867   </listitem>
868   </varlistentry>
869   <varlistentry>
870   <term><emphasis remap='B'>logdir</emphasis> <emphasis remap='I'> string</emphasis></term>
871   <listitem>
872 <para>Default:
873 <filename>/usr/adm/amanda</filename>.
874 The directory for the
875 <command>amdump</command>
876 and
877 <emphasis remap='B'>log</emphasis>
878 files.</para>
879   </listitem>
880   </varlistentry>
881   <varlistentry>
882   <term><emphasis remap='B'>indexdir</emphasis> <emphasis remap='I'> string</emphasis></term>
883   <listitem>
884 <para>Default
885 <filename>/usr/adm/amanda/index</filename>.
886 The directory where index files (backup image catalogues) are stored.
887 Index files are
888 only generated for filesystems whose
889 <emphasis remap='B'>dumptype</emphasis>
890 has the
891 <emphasis remap='B'>index</emphasis>
892 option enabled.</para>
893   </listitem>
894   </varlistentry>
895   <varlistentry>
896   <term><emphasis remap='B'>tapelist</emphasis> <emphasis remap='I'> string</emphasis></term>
897   <listitem>
898 <para>Default:
899 <emphasis remap='I'>tapelist</emphasis>.
900 The file name for the active &tapelist;.
901 &A; maintains this file with information about the active set of tapes.</para>
902   </listitem>
903   </varlistentry>
904   <varlistentry>
905   <term><emphasis remap='B'>device_output_buffer_size</emphasis> <emphasis remap='I'> int</emphasis></term>
906   <listitem>
907 <para>Default:
908 <literal>1280k</literal>.
909 Controls the amount of memory used by &A;
910 to hold data as it is read from the network or disk before it is written to
911 the output device. Higher values may be
912 useful on fast tape drives and optical media.</para>
913 <para>The default unit is bytes if it is not specified.</para>
914   </listitem>
915   </varlistentry>
916   <varlistentry>
917   <term><emphasis remap='B'>tapebufs</emphasis> <emphasis remap='I'> int</emphasis></term>
918   <listitem>
919 <para>Default:
920 <literal>20</literal>.
921 This option is deprecated; use
922 the <emphasis remap='B'>device_output_buffer_size</emphasis> directive
923 instead. <emphasis remap='B'>tapebufs</emphasis> works the same way,
924 but the number specified is multiplied by the device blocksize prior
925 to use.</para>
926   </listitem>
927   </varlistentry>
928   <varlistentry>
929   <term><emphasis remap='B'>reserve</emphasis> <emphasis remap='I'> number</emphasis></term>
930   <listitem>
931 <para>Default:
932 <literal>100</literal>.
933 The part of holding-disk space that should be reserved for incremental
934 backups if no tape is available, expressed as a percentage of the 
935 available holding-disk space (0-100).
936 By default, when there is no tape to write to, degraded mode (incremental) backups 
937 will be performed to the holding disk. If full backups should also be allowed in this case,
938 the amount of holding disk space reserved for incrementals should be lowered.</para>
939   </listitem>
940   </varlistentry>
941   <varlistentry>
942   <term><emphasis remap='B'>autoflush</emphasis> <emphasis remap='I'> bool</emphasis></term>
943   <listitem>
944 <para>Default:
945 <emphasis remap='I'>off</emphasis>.
946 Whether an amdump run will flush the dumps from holding disk to tape.</para>
947   </listitem>
948   </varlistentry>
949   <varlistentry>
950   <term><emphasis remap='B'>amrecover_do_fsf</emphasis> <emphasis remap='I'> bool</emphasis></term>
951   <listitem>
952 <para>Default:
953 <emphasis remap='I'>on</emphasis>.
954 Amrecover will call amrestore with the -f flag for faster positioning of the tape.</para>
955   </listitem>
956   </varlistentry>
957   <varlistentry>
958   <term><emphasis remap='B'>amrecover_check_label</emphasis> <emphasis remap='I'> bool</emphasis></term>
959   <listitem>
960 <para>Default:
961 <emphasis remap='I'>on</emphasis>.
962 Amrecover will call amrestore with the -l flag to check the label.</para>
963   </listitem>
964   </varlistentry>
965   <varlistentry>
966   <term><emphasis remap='B'>amrecover_changer</emphasis> <emphasis remap='I'> string</emphasis></term>
967   <listitem>
968 <para>Default: ''.
969 Amrecover will use the changer if you use 'settape &lt;string&gt;' and that string
970 is the same as the amrecover_changer setting.</para>
971   </listitem>
972   </varlistentry>
973   <varlistentry>
974   <term><emphasis remap='B'>columnspec</emphasis> <emphasis remap='I'> string</emphasis></term>
975   <listitem>
976 <para>Defines the width of columns <emphasis remap='B'>amreport</emphasis>
977 should use.
978 <emphasis remap='I'>String</emphasis>
979 is a comma (',') separated list of triples. Each triple consists
980 of three parts which are separated by a equal sign ('=') and a colon (':') (see the example).
981 These three parts specify:</para>
982   
983   <orderedlist>
984   <listitem>
985       <para>the name of the column, which may be:</para>
986
987 <programlisting>
988         Compress (compression ratio)
989         Disk (client disk name)
990         DumpRate (dump rate in KBytes/sec)
991         DumpTime (total dump time in hours:minutes)
992         HostName (client host name)
993         Level (dump level)
994         OrigKB (original image size in KBytes)
995         OutKB (output image size in KBytes)
996         TapeRate (tape writing rate in KBytes/sec)
997         TapeTime (total tape time in hours:minutes)
998 </programlisting>
999
1000   </listitem>
1001
1002   <listitem>
1003 <para>the amount of space to display before the column (used to get whitespace between columns).</para><para/>
1004   </listitem>
1005   <listitem>
1006 <para>the width of the column itself.
1007 If set to a negative value, the width will be calculated on demand to fit the largest entry in
1008 this column.</para>
1009   </listitem>
1010   </orderedlist>
1011
1012 <para>Here is an example:
1013 <programlisting>
1014 columnspec &quot;Disk=1:18,HostName=0:10,OutKB=1:7&quot;
1015 </programlisting></para>
1016 <para>
1017 The above will display the disk information in 18 characters
1018 and put one space before it. The hostname column will be 10 characters wide with
1019 no space to the left. The output KBytes column is seven characters wide
1020 with one space before it.</para>
1021   </listitem>
1022   </varlistentry>
1023
1024   <varlistentry>
1025   <term><emphasis remap='B'>includefile</emphasis> <emphasis remap='I'> string</emphasis></term>
1026   <listitem>
1027 <para>Default:
1028 <emphasis remap='I'>none</emphasis>.
1029 The name of an &A; configuration file to include within the current file.
1030 Useful for sharing dumptypes, tapetypes and interface definitions among several configurations.
1031 Relative pathnames are relative to the configuration directory.
1032 </para>
1033   </listitem>
1034   </varlistentry>
1035
1036   <varlistentry>
1037   <term><emphasis remap='B'>debug_auth</emphasis> int</term>
1038   <listitem>
1039 <para>Default:
1040 <emphasis remap='I'>0</emphasis>.
1041 Debug level of the auth module</para>
1042   </listitem>
1043   </varlistentry>
1044
1045   <varlistentry>
1046   <term><emphasis remap='B'>debug_event</emphasis> int</term>
1047   <listitem>
1048 <para>Default:
1049 <emphasis remap='I'>0</emphasis>.
1050 Debug level of the event module</para>
1051   </listitem>
1052   </varlistentry>
1053
1054   <varlistentry>
1055   <term><emphasis remap='B'>debug_holding</emphasis> int</term>
1056   <listitem>
1057 <para>Default:
1058 <emphasis remap='I'>0</emphasis>.
1059 Debug level of the holdingdisk module</para>
1060   </listitem>
1061   </varlistentry>
1062
1063   <varlistentry>
1064   <term><emphasis remap='B'>debug_protocol</emphasis> int</term>
1065   <listitem>
1066 <para>Default:
1067 <emphasis remap='I'>0</emphasis>.
1068 Debug level of the protocol module</para>
1069   </listitem>
1070   </varlistentry>
1071
1072   <varlistentry>
1073   <term><emphasis remap='B'>debug_planner</emphasis> int</term>
1074   <listitem>
1075 <para>Default:
1076 <emphasis remap='I'>0</emphasis>.
1077 Debug level of the planner process</para>
1078   </listitem>
1079   </varlistentry>
1080
1081   <varlistentry>
1082   <term><emphasis remap='B'>debug_driver</emphasis> int</term>
1083   <listitem>
1084 <para>Default:
1085 <emphasis remap='I'>0</emphasis>.
1086 Debug level of the driver process</para>
1087   </listitem>
1088   </varlistentry>
1089
1090   <varlistentry>
1091   <term><emphasis remap='B'>debug_dumper</emphasis> int</term>
1092   <listitem>
1093 <para>Default:
1094 <emphasis remap='I'>0</emphasis>.
1095 Debug level of the dumper process</para>
1096   </listitem>
1097   </varlistentry>
1098
1099   <varlistentry>
1100   <term><emphasis remap='B'>debug_chunker</emphasis> int</term>
1101   <listitem>
1102 <para>Default:
1103 <emphasis remap='I'>0</emphasis>.
1104 Debug level of the chunker process</para>
1105   </listitem>
1106   </varlistentry>
1107
1108   <varlistentry>
1109   <term><emphasis remap='B'>debug_taper</emphasis> int</term>
1110   <listitem>
1111 <para>Default:
1112 <emphasis remap='I'>0</emphasis>.
1113 Debug level of the taper process</para>
1114   </listitem>
1115   </varlistentry>
1116
1117   <varlistentry>
1118   <term><emphasis remap='B'>flush-threshold-dumped</emphasis> int</term>
1119   <listitem>
1120 <para>Default: <emphasis remap='I'>0</emphasis>.
1121   &A; will not begin writing data to a new volume until the amount of
1122   data on the holding disk is at least this percentage of the volume
1123   size. In other words, &A; will not begin until the
1124   inequality <inlineequation><mathphrase>h &gt; t &#215;
1125   d</mathphrase></inlineequation> is satisfied,
1126   where <mathphrase>h</mathphrase> is the amount of data on the
1127   holding disk, <mathphrase>t</mathphrase> is the capacity of a
1128   volume, and <mathphrase>d</mathphrase> is this parameter, expressed as a
1129   percentage.  This parameter may be larger than 100%, for example to keep
1130   more recent dumps on the holding disk for faster recovery.</para>
1131 <para> Needless to say, your holding disk must be big enough
1132   that this criterion could be satisfied. If the holding disk cannot
1133   be used for a particular dump (because, for example, there is no
1134   remaining holding space) then &A; will disregard the constraint
1135   specified by this setting and start a new volume anyway. Once
1136   writing to a volume has begun, this constraint is not applied unless
1137   and until a new volume is needed.</para>
1138 <para> The value of this parameter may not exceed than that of
1139   the <emphasis remap='B'>flush-threshold-scheduled</emphasis>
1140   parameter.</para>
1141   </listitem>
1142   </varlistentry>
1143
1144   <varlistentry>
1145   <term><emphasis remap='B'>flush-threshold-scheduled</emphasis> int</term>
1146   <listitem>
1147 <para>Default: <emphasis remap='I'>0</emphasis>.
1148   &A; will not begin writing data to a new volume until the sum of the
1149   amount of data on the holding disk and the estimated amount of data
1150   remaining to be dumped during this run is at least this percentage
1151   of the volume size. In other words, &A; will not begin until the
1152   inequality <inlineequation><mathphrase>h + s &gt; t &#215;
1153   d</mathphrase></inlineequation> is satisfied,
1154   where <mathphrase>h</mathphrase> is the amount of data on the
1155   holding disk, <mathphrase>s</mathphrase> is the total amount of
1156   data scheduled for this run but not dumped
1157   yet, <mathphrase>t</mathphrase> is the capacity of a volume,
1158   and <mathphrase>d</mathphrase> is this parameter, expressed as a
1159   percentage.  This parameter may be larger than 100%.</para>
1160 <para>  Needless to say, your holding disk must be big enough
1161   that this criterion could be satisfied. If the holding disk cannot
1162   be used for a particular dump (because, for example, there is no
1163   remaining holding space) then &A; will disregard the constraint
1164   specified by this setting and start a new volume anyway.  Once
1165   writing to a volume has begun, this constraint is not applied unless
1166   and until a new volume is needed.</para>
1167 <para> The value of this parameter may not be less than that of
1168   the <emphasis remap='B'>flush-threshold-dumped</emphasis>
1169   or <emphasis remap='B'>taperflush</emphasis> parameters.</para>
1170   </listitem>
1171   </varlistentry>
1172
1173 <!-- the entity '#215' below is U+00D7 MULTIPLICATION SIGN; the 'times' entity
1174      is not as portable as one might hope. -->
1175   <varlistentry>
1176   <term><emphasis remap='B'>taperflush</emphasis> int</term>
1177   <listitem>
1178 <para>Default: <emphasis remap='I'>0</emphasis>.
1179   At the end of a run, &A; will start a new tape to flush remaining
1180   data if there is more data on the holding disk at the end of a run
1181   than this setting allows; the amount is specified as a percentage of
1182   the capacity of a single
1183   volume. In other words, at the end of a run, &A; will begin
1184   a new tape if the 
1185   inequality <inlineequation><mathphrase>h &gt; t &#215;
1186   f</mathphrase></inlineequation> is satisfied,
1187   where <mathphrase>h</mathphrase> is the amount of data remaining on the
1188   holding disk from this or previous runs, <mathphrase>t</mathphrase>
1189   is the capacity of a volume,
1190   and <mathphrase>f</mathphrase> is this parameter, expressed as a
1191   percentage.  This parameter may be greater than 100%.</para>
1192 <para> The value of this parameter may not exceed that of
1193   the <emphasis remap='B'>flush-threshold-scheduled</emphasis>
1194   parameter.; <emphasis remap='B'>autoflush</emphasis> must be set to 'yes' if
1195  <emphasis remap='B'>taperflush</emphasis> is greater than 0.</para>
1196   </listitem>
1197   </varlistentry>
1198
1199   <varlistentry>
1200   <term><emphasis remap='B'>reserved-udp-port</emphasis> int,int</term>
1201   <listitem>
1202 <para>Default: --with-udpportrange or 
1203 <emphasis remap='I'>512,1023</emphasis>.
1204 Reserved udp port that will be used (bsd, bsdudp).
1205 Range is inclusive.</para>
1206   </listitem>
1207   </varlistentry>
1208
1209   <varlistentry>
1210   <term><emphasis remap='B'>reserved-tcp-port</emphasis> int,int</term>
1211   <listitem>
1212 <para>Default: --with-low-tcpportrange or 
1213 <emphasis remap='I'>512,1023</emphasis>.
1214 Reserved tcp port that will be used (bsdtcp).
1215 Range is inclusive.</para>
1216   </listitem>
1217   </varlistentry>
1218
1219   <varlistentry>
1220   <term><emphasis remap='B'>unreserved-tcp-port</emphasis> int,int</term>
1221   <listitem>
1222 <para>Default: --with-tcpportrange or 
1223 <emphasis remap='I'>1024,65535</emphasis>.
1224 Unreserved tcp port that will be used (bsd, bsdudp).
1225 Range is inclusive.</para>
1226   </listitem>
1227   </varlistentry>
1228
1229 </variablelist>
1230 </refsect1>
1231
1232 <refsect1><title>HOLDINGDISK SECTION</title>
1233 <para>The <emphasis remap='B'>amanda.conf</emphasis>
1234 file may define one or more holding disks used as buffers to hold
1235 backup images before they are written to tape.
1236 The syntax is:</para>
1237
1238 <programlisting>
1239 holdingdisk <emphasis remap='I'>name</emphasis> {
1240     <emphasis remap='I'>holdingdisk-option</emphasis> <emphasis remap='I'>holdingdisk-value</emphasis>
1241     <literal>...</literal>
1242 }
1243 </programlisting>
1244
1245 <para><emphasis remap='I'>Name</emphasis>
1246 is a logical name for this holding disk.</para>
1247
1248 <para>The options and values are:</para>
1249
1250 <variablelist remap='TP'>
1251   <varlistentry>
1252   <term><emphasis remap='B'>comment</emphasis> <emphasis remap='I'> string</emphasis></term>
1253   <listitem>
1254 <para>Default:
1255 <emphasis remap='I'>none</emphasis>.
1256 A comment string describing this holding disk.</para>
1257   </listitem>
1258   </varlistentry>
1259
1260   <varlistentry>
1261   <term><emphasis remap='B'>directory</emphasis> <emphasis remap='I'> disk</emphasis></term>
1262   <listitem>
1263 <para>Default:
1264 <filename>/dumps/amanda</filename>.
1265 The path to this holding area.</para>
1266   </listitem>
1267   </varlistentry>
1268
1269   <varlistentry>
1270   <term><emphasis remap='B'>use</emphasis> <emphasis remap='I'> int</emphasis></term>
1271   <listitem>
1272 <para>Default:
1273 <emphasis remap='I'>0 Gb</emphasis>.
1274 Amount of space that can be used in this holding disk area.
1275 If the value is zero, all available space on the file system is used.
1276 If the value is negative, &A; will use all available space minus that value.</para>
1277   </listitem>
1278   </varlistentry>
1279
1280   <varlistentry>
1281   <term><emphasis remap='B'>chunksize</emphasis> <emphasis remap='I'> int</emphasis></term>
1282   <listitem>
1283 <para>Default:
1284 <emphasis remap='I'>1 Gb</emphasis>.
1285 Holding disk chunk size. Dumps larger than the specified size will be stored in multiple
1286 holding disk files. The size of each chunk will not exceed the specified value.
1287 However, even though dump images are split in the holding disk, they are concatenated as 
1288 they are written to tape, so each dump image still corresponds to a single continuous 
1289 tape section.</para>
1290 <para>The default unit is Kbytes if it is not specified.</para>
1291
1292 <para>If 0 is specified, &A; will create holding disk chunks as large as
1293 ((INT_MAX/1024)-64) Kbytes.</para>
1294
1295 <para>Each holding disk chunk includes a 32 Kbyte header, so the minimum
1296 chunk size is 64 Kbytes (but that would be really silly).</para>
1297
1298 <para>Operating systems that are limited to a maximum file size of 2 Gbytes
1299 actually cannot handle files that large.
1300 They must be at least one byte less than 2 Gbytes.
1301 Since &A; works with 32 Kbyte blocks, and
1302 to handle the final read at the end of the chunk, the chunk size
1303 should be at least 64 Kbytes (2 * 32 Kbytes) smaller than the maximum
1304 file size, e.g. 2047 Mbytes.</para>
1305   </listitem>
1306   </varlistentry>
1307 </variablelist>
1308 </refsect1>
1309
1310 <refsect1><title>DUMPTYPE SECTION</title>
1311 <para>The &amconf; file may define multiple sets of backup options 
1312 and refer to them by name from the &disklist; file.
1313 For instance, one set of options might be defined for file systems
1314 that can benefit from high compression, another set that does not compress well,
1315 another set for file systems that should always get a full backup and so on.</para>
1316
1317 <para>A set of backup options are entered in a
1318 <emphasis remap='B'>dumptype</emphasis>
1319 section, which looks like this:</para>
1320
1321 <programlisting>
1322 define dumptype "<emphasis remap='I'>name</emphasis>" {
1323     <emphasis remap='I'>dumptype-option</emphasis> <emphasis remap='I'>dumptype-value</emphasis>
1324     <literal>...</literal>
1325 }
1326 </programlisting>
1327
1328 <para><emphasis remap='I'>Name</emphasis>
1329 is the name of this set of backup options.
1330 It is referenced from the &disklist; file.</para>
1331
1332 <para>Some of the options in a
1333 <emphasis remap='B'>dumptype</emphasis>
1334 section are the same as those in the main part of &amconf;.
1335 The main option value is used to set the default for all
1336 <emphasis remap='B'>dumptype</emphasis>
1337 sections. For instance, setting
1338 <emphasis remap='B'>dumpcycle</emphasis>
1339 to 50 in the main part of the config file causes all following
1340 <emphasis remap='B'>dumptype</emphasis>
1341 sections to start with that value,
1342 but the value may be changed on a section by section basis.
1343 Changes to variables in the main part of the config file must be
1344 done before (earlier in the file) any
1345 <emphasis remap='B'>dumptype</emphasis>s
1346 are defined.</para>
1347
1348 <para>The dumptype options and values are:</para>
1349
1350 <variablelist remap='TP'>
1351   <varlistentry>
1352   <term><emphasis remap='B'>auth</emphasis> <emphasis remap='I'> string</emphasis></term>
1353   <listitem>
1354 <para>Default:
1355 <emphasis remap='I'>bsd</emphasis>.
1356 Type of authorization to perform between tape server and backup client hosts.  See <citerefentry><refentrytitle>amanda-auth</refentrytitle><manvolnum>7</manvolnum></citerefentry> for more detail.</para>
1357   </listitem>
1358   </varlistentry>
1359
1360   <varlistentry>
1361   <term><emphasis remap='B'>amandad_path</emphasis> <emphasis remap='I'> string</emphasis></term>
1362   <listitem>
1363 <para>Default:
1364 <emphasis remap='I'>$libexec/amandad</emphasis>.
1365 Specify the amandad path of the client, only use with rsh/ssh authentification.
1366 </para>
1367   </listitem>
1368   </varlistentry>
1369
1370   <varlistentry>
1371   <term><emphasis remap='B'>client_username</emphasis> <emphasis remap='I'> string</emphasis></term>
1372   <listitem>
1373 <para>Default:
1374 <emphasis remap='I'>CLIENT_LOGIN</emphasis>.
1375 Specify the username to connect on the client, only use with rsh/ssh authentification.
1376 </para>
1377   </listitem>
1378   </varlistentry>
1379
1380 <!-- bumping parameters yanked from the global section above -->
1381
1382   <varlistentry>
1383   <term><emphasis remap='B'>bumpsize</emphasis> int</term>
1384   <listitem>
1385 <para>Default:
1386 <emphasis remap='I'>10 Mbytes</emphasis>.
1387 The minimum savings required to trigger an automatic
1388 bump from one incremental level to the next, expressed as size.
1389 If &A; determines that the next higher backup level
1390 will be this much smaller than the current level,
1391 it will do the next level.
1392 The value of this parameter is used only if the parameter 
1393 <emphasis>bumppercent</emphasis> is set to 0.
1394 </para>
1395 <para>The default unit is Kbytes if it is not specified.</para>
1396 <para>
1397 See also the options 
1398 <emphasis remap='B'>bumppercent</emphasis>,
1399 <emphasis remap='B'>bumpmult</emphasis> and
1400 <emphasis remap='B'>bumpdays</emphasis>.</para>
1401   </listitem>
1402   </varlistentry>
1403
1404   <varlistentry>
1405   <term><emphasis remap='B'>bumppercent</emphasis> int</term>
1406   <listitem>
1407 <para>Default:
1408 <emphasis remap='I'>0 percent</emphasis>.
1409 The minimum savings required to trigger an automatic
1410 bump from one incremental level to the next, expressed as percentage of the
1411 current size of the DLE (size of current level 0).
1412 If &A; determines that the next higher backup level
1413 will be this much smaller than the current level,
1414 it will do the next level.
1415 </para>
1416 <para>
1417 If this parameter is set to 0, the value of the
1418 parameter <emphasis>bumpsize</emphasis> is used to trigger bumping.
1419 </para>
1420 <para>
1421 See also the options 
1422 <emphasis remap='B'>bumpsize</emphasis>,
1423 <emphasis remap='B'>bumpmult</emphasis> and
1424 <emphasis remap='B'>bumpdays</emphasis>.</para>
1425   </listitem>
1426   </varlistentry>
1427
1428   <varlistentry>
1429   <term><emphasis remap='B'>bumpmult</emphasis> <emphasis remap='I'> float</emphasis></term>
1430   <listitem>
1431 <para>Default:
1432 <literal>1.5</literal>.
1433 The bump size multiplier.
1434 &A; multiplies
1435 <emphasis remap='B'>bumpsize</emphasis>
1436 by this factor for each level.
1437 This prevents active filesystems from
1438 bumping too much by making it harder to bump to the next level.
1439 For example, with the default
1440 <emphasis remap='B'>bumpsize</emphasis>
1441 and
1442 <emphasis remap='B'>bumpmult</emphasis>
1443 set to 2.0, the bump threshold will be 10 Mbytes for level one, 20
1444 Mbytes for level two, 40 Mbytes for level three, and so on.</para>
1445   </listitem>
1446   </varlistentry>
1447   <varlistentry>
1448   <term><emphasis remap='B'>bumpdays</emphasis> <emphasis remap='I'> int</emphasis></term>
1449   <listitem>
1450 <para>Default:
1451 <emphasis remap='I'>2 days</emphasis>.
1452 To insure redundancy in the dumps, &A; keeps filesystems at the
1453 same incremental level for at least
1454 <emphasis remap='B'>bumpdays</emphasis>
1455 days, even if the other bump threshold criteria are met.</para>
1456   </listitem>
1457   </varlistentry>
1458   
1459   <varlistentry>
1460   <term><emphasis remap='B'>comment</emphasis> <emphasis remap='I'> string</emphasis></term>
1461   <listitem>
1462 <para>Default:
1463 <emphasis remap='I'>none</emphasis>.
1464 A comment string describing this set of backup options.</para>
1465   </listitem>
1466   </varlistentry>
1467   <varlistentry>
1468   <term><emphasis remap='B'>comprate</emphasis> <emphasis remap='I'>float</emphasis> [, <emphasis remap='I'>float</emphasis> ]</term>
1469   <listitem>
1470 <para>Default:
1471 <literal>0.50</literal>,
1472 <literal>0.50</literal>.
1473 The expected full and incremental compression factor for dumps.
1474 It is only used if &A; does not have any history information on
1475 compression rates for a filesystem, so should not usually need to be set.
1476 However, it may be useful for the first time a very large filesystem that 
1477 compresses very little is backed up.</para>
1478   </listitem>
1479   </varlistentry>
1480   <varlistentry>
1481   <term><emphasis remap='B'>compress [client|server]</emphasis> <emphasis remap='I'> string</emphasis></term>
1482   <listitem>
1483 <para>Default:
1484 <emphasis remap='I'>client fast</emphasis>.
1485 If &A; does compression of the backup images, it can do so either on the backup client 
1486 host before it crosses the network or on the tape server host as it goes from the
1487 network into the holding disk or to tape.  Which place to do compression (if at all) depends on how well the
1488 dump image usually compresses, the speed and load on the client or server, network capacity, 
1489 holding disk capacity, availability of tape hardware compression, etc.</para>
1490
1491 <para>For either type of compression, &A; also allows the selection
1492 of three styles of compression.
1493 <emphasis remap='B'>Best</emphasis>
1494 is the best compression available, often at the expense of CPU overhead.
1495 <emphasis remap='B'>Fast</emphasis>
1496 is often not as good a compression as
1497 <emphasis remap='B'>best</emphasis>,
1498 but usually less CPU overhead. Or to specify <emphasis remap='B'>Custom</emphasis>
1499 to use your own compression method. (See dumptype custom-compress in example/amanda.conf for reference)</para>
1500
1501 <para>So the <emphasis remap='B'>compress</emphasis> options line may be one of:</para>
1502
1503 <variablelist remap='TP'>
1504   <varlistentry>
1505     <term>compress none</term><listitem><para/></listitem>
1506   </varlistentry>
1507   <varlistentry>
1508     <term>compress client fast</term><listitem><para/></listitem>
1509   </varlistentry>
1510   <varlistentry>
1511     <term>compress client best</term><listitem><para/></listitem>
1512   </varlistentry>
1513   <varlistentry>
1514     <term>compress client custom</term>
1515     <listitem>
1516       <para>Specify <emphasis>client_custom_compress</emphasis> &quot;PROG&quot;</para>
1517       <para>PROG must not contain white space and it must accept -d for uncompress.</para>
1518     </listitem>
1519   </varlistentry>
1520   <varlistentry>
1521     <term>compress server fast</term><listitem><para/></listitem>
1522   </varlistentry>
1523   <varlistentry>
1524     <term>compress server best</term><listitem><para/></listitem>
1525   </varlistentry>
1526   <varlistentry>
1527     <term>compress server custom</term>
1528     <listitem>
1529       <para>Specify <emphasis>server_custom_compress</emphasis> &quot;PROG&quot;</para>
1530       <para>PROG must not contain white space and it must accept -d for uncompress.</para>
1531     </listitem>
1532   </varlistentry>
1533 </variablelist>
1534 <para>Note that some tape devices do compression and this option has nothing
1535 to do with whether that is used. If hardware compression is used (usually via a particular tape device name
1536 or <emphasis remap='B'>mt</emphasis> option), &A; (software) compression should be disabled.</para>
1537   </listitem>
1538   </varlistentry>
1539   <varlistentry>
1540   <term><emphasis remap='B'>dumpcycle</emphasis> <emphasis remap='I'> int</emphasis></term>
1541   <listitem>
1542 <para>Default: <emphasis remap='I'>10 days</emphasis>.
1543 The number of days in the backup cycle. Each disk using this set of options will get a full 
1544 backup at least this of
1545 ten. Setting this to zero tries to do a full backup each run.</para>
1546   </listitem>
1547   </varlistentry>
1548
1549   <varlistentry>
1550   <term><emphasis remap='B'>encrypt [none|client|server]</emphasis></term>
1551   <listitem>
1552 <para>Default: <emphasis remap='I'>none</emphasis>.
1553 To encrypt backup images, it can do so either on the backup client host before it crosses the network or on the tape
1554 server host as it goes from the network into the holding disk or to tape.</para>
1555
1556 <para>So the <emphasis remap='B'>encrypt</emphasis> options line may be one
1557             of:</para>
1558
1559 <variablelist remap='TP'>
1560   <varlistentry>
1561     <term>encrypt none</term><listitem><para/></listitem>
1562   </varlistentry>
1563   <varlistentry>
1564     <term>encrypt client</term>
1565     <listitem>
1566       <para>Specify client_encrypt &quot;PROG&quot;</para>
1567       <para>PROG must not contain white space.</para>
1568       <para>Specify client_decrypt_option &quot;decryption-parameter&quot; Default: &quot;-d&quot;</para>
1569       <para>decryption-parameter must not contain white space.</para>
1570       <para>(See dumptype client-encrypt-nocomp in example/amanda.conf for reference)</para>
1571     </listitem>
1572   </varlistentry>
1573   <varlistentry>
1574     <term>encrypt server</term>
1575     <listitem>
1576       <para>Specify server_encrypt &quot;PROG&quot;</para>
1577       <para>PROG must not contain white space.</para>
1578       <para>Specify server_decrypt_option &quot;decryption-parameter&quot; Default: &quot;-d&quot;</para>
1579       <para>decryption-parameter must not contain white space.</para>
1580       <para>(See dumptype server-encrypt-fast in example/amanda.conf for reference)</para>
1581     </listitem>
1582   </varlistentry>
1583 </variablelist>
1584 <para>Note that current logic assumes compression then encryption during
1585 backup(thus decrypt then uncompress during restore). So specifying
1586 client-encryption AND server-compression is not supported.
1587 <emphasis remap='I'>amcrypt</emphasis> which is a wrapper of
1588             <emphasis remap='I'>aespipe</emphasis> is provided as a reference
1589                 symmetric encryption program.</para>
1590 </listitem>
1591 </varlistentry>
1592
1593
1594   <varlistentry>
1595   <term><emphasis remap='B'>estimate</emphasis> <emphasis remap='I'>client|calcsize|server</emphasis></term>
1596   <listitem>
1597 <para>Default: <emphasis remap='I'>client</emphasis>.
1598 Determine the way &A; does it's estimate.</para>
1599 <variablelist remap='TP'>
1600   <varlistentry>
1601     <term>client</term>
1602     <listitem>
1603       <para>Use the same program as the dumping program, this is the most
1604             accurate way to do estimates, but it can take a long time.</para>
1605     </listitem>
1606   </varlistentry>
1607   <varlistentry>
1608     <term>calcsize</term>
1609     <listitem>
1610       <para>Use a faster program to do estimates, but the result is less accurate.</para>
1611     </listitem>
1612   </varlistentry>
1613   <varlistentry>
1614     <term>server</term>
1615     <listitem>
1616       <para>Use only statistics from the previous run to give an estimate, 
1617             it takes only a few seconds but the result is not accurate if your disk 
1618             usage changes from day to day.</para>
1619     </listitem>
1620   </varlistentry>
1621 </variablelist>
1622 </listitem>
1623 </varlistentry>
1624
1625   
1626   <varlistentry>
1627   <term><emphasis remap='B'>exclude</emphasis> [ list|file ][[optional][ append ][ <emphasis remap='I'>string</emphasis> ]+]</term>
1628   <listitem>
1629 <para>Default:
1630 <emphasis remap='I'>file</emphasis>.
1631 There are two exclude lists,
1632 <emphasis remap='B'>exclude file</emphasis>
1633 and
1634 <emphasis remap='B'>exclude list.</emphasis>
1635 With
1636 <emphasis remap='B'>exclude file</emphasis>
1637 , the
1638 <emphasis remap='I'>string</emphasis>
1639 is a &gnutar; exclude expression. With
1640 <emphasis remap='B'>exclude list</emphasis>
1641 , the
1642 <emphasis remap='I'>string</emphasis>
1643 is a file name on the client containing &gnutar; exclude expressions.
1644 The path to the specified exclude list file, if present (see description of
1645 'optional' below), must be readable by the &A; user.</para>
1646
1647 <para>All exclude expressions are concatenated in one file and passed to &gnutar;
1648 as an <option>--exclude-from</option> argument.</para>
1649
1650 <para>Exclude expressions must always be specified as relative to the
1651 head directory of the DLE.</para>
1652
1653 <para>With the
1654 <emphasis remap='B'>append</emphasis> keyword, the
1655 <emphasis remap='I'>string</emphasis> is appended to the current list, without it, the
1656 <emphasis remap='I'>string</emphasis> overwrites the list.</para>
1657
1658 <para>If <emphasis remap='B'>optional</emphasis>
1659 is specified for <emphasis remap='B'>exclude list</emphasis>,
1660 then amcheck will not complain if the file doesn't exist or is not readable.</para>
1661
1662 <para>For <emphasis remap='B'>exclude list</emphasis>,
1663 if the file name is relative, the disk name being backed up is prepended.
1664 So if this is entered:</para>
1665
1666 <programlisting>
1667     exclude list &quot;.amanda.excludes&quot;
1668 </programlisting>
1669
1670 <para>the actual file used would be
1671 <filename>/var/.amanda.excludes</filename>
1672 for a backup of <filename>/var</filename>,
1673 <filename>/usr/local/.amanda.excludes</filename> for a backup of
1674 <filename>/usr/local</filename>, and so on.</para>
1675 </listitem>
1676 </varlistentry>
1677
1678   <varlistentry>
1679   <term><emphasis remap='B'>holdingdisk</emphasis> [ never|auto|required ]</term>
1680   <listitem>
1681 <para>Default:
1682 <emphasis remap='I'>auto</emphasis>.
1683 Whether a holding disk should be used for these backups or whether they should go directly to tape.
1684 If the holding disk is a portion of another file system that &A;
1685 is backing up, that file system should refer to a dumptype with
1686 <emphasis remap='B'>holdingdisk</emphasis>
1687 set to
1688 <emphasis remap='I'>never</emphasis>
1689 to avoid backing up the holding disk into itself.</para>
1690
1691   <variablelist remap='TP'>
1692   <varlistentry>
1693   <term><emphasis remap='B'>never</emphasis>|no|false|off</term>
1694   <listitem>
1695   <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>
1696   </listitem>
1697   </varlistentry>
1698   <varlistentry>
1699   <term><emphasis remap='B'>auto</emphasis>|yes|true|on</term>
1700   <listitem>
1701   <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>
1702   </listitem>
1703   </varlistentry>
1704   <varlistentry>
1705   <term><emphasis remap='B'>required</emphasis></term>
1706   <listitem>
1707   <para>Always dump to holdingdisk, never directly to tape. There will be no dump if it doesn't fit on holdingdisk</para>
1708   </listitem>
1709   </varlistentry>
1710   </variablelist>
1711
1712   </listitem>
1713   </varlistentry>
1714
1715   <varlistentry>
1716   <term><emphasis remap='B'>ignore</emphasis> <emphasis remap='I'> boolean</emphasis></term>
1717   <listitem>
1718 <para>Default:
1719 <emphasis remap='I'>no</emphasis>.
1720 Whether disks associated with this backup type should be backed up or not.
1721 This option is useful when the
1722 <emphasis remap='I'>disklist</emphasis>
1723 file is shared among several configurations,
1724 some of which should not back up all the listed file systems.</para>
1725   </listitem>
1726   </varlistentry>
1727   <varlistentry>
1728   <term><emphasis remap='B'>include</emphasis> [ list|file ][[optional][ append ][ <emphasis remap='I'>string</emphasis> ]+]</term>
1729   <listitem>
1730 <para>Default:
1731 <emphasis remap='I'>file</emphasis>
1732 &quot;.&quot;.
1733 There are two include lists,
1734 <emphasis remap='B'>include file</emphasis>
1735 and
1736 <emphasis remap='B'>include list.</emphasis>
1737 With
1738 <emphasis remap='B'>include file</emphasis>
1739 , the
1740 <emphasis remap='I'>string</emphasis>
1741 is a glob expression. With
1742 <emphasis remap='B'>include list</emphasis>
1743 , the
1744 <emphasis remap='I'>string</emphasis>
1745 is a file name on the client containing glob expressions.</para>
1746
1747 <para>All include expressions are expanded by &A;, concatenated in one file and passed to &gnutar; as a
1748 <option>--files-from</option> argument. They must start with &quot;./&quot; and contain no other &quot;/&quot;.</para>
1749
1750 <para>Include expressions must always be specified as relative to the
1751 head directory of the DLE.</para>
1752
1753 <note><para>For globbing to work at all, even the limited single level, 
1754 the top level directory of the DLE must be readable by the &A; user.</para>
1755 </note>
1756
1757 <para>With the <emphasis remap='B'>append</emphasis> keyword, the
1758 <emphasis remap='I'>string</emphasis> is appended to the current list, without it, the
1759 <emphasis remap='I'>string</emphasis> overwrites the list.</para>
1760
1761 <para>If
1762 <emphasis remap='B'>optional</emphasis> is specified for
1763 <emphasis remap='B'>include list,</emphasis> then amcheck will not complain if the file 
1764 doesn't exist or is not readable.</para>
1765
1766 <para>For <emphasis remap='B'>include list</emphasis>,
1767 If the file name is relative, the disk name being backed up is prepended.</para>
1768 </listitem>
1769 </varlistentry>
1770
1771   <varlistentry>
1772   <term><emphasis remap='B'>index</emphasis> <emphasis remap='I'> boolean</emphasis></term>
1773   <listitem>
1774 <para>Default: <emphasis remap='I'>no</emphasis>.
1775 Whether an index (catalogue) of the backup should be generated and saved in
1776 <emphasis remap='B'>indexdir</emphasis>.
1777 These catalogues are used by the <emphasis remap='B'>amrecover</emphasis> utility.</para>
1778   </listitem>
1779   </varlistentry>
1780
1781   <varlistentry>
1782   <term><emphasis remap='B'>kencrypt</emphasis> <emphasis remap='I'> boolean</emphasis></term>
1783   <listitem>
1784 <para>Default:
1785 <emphasis remap='I'>no</emphasis>.
1786 Whether the backup image should be encrypted by Kerberos as it is sent
1787 across the network from the backup client host to the tape server host.</para>
1788   </listitem>
1789   </varlistentry>
1790   <varlistentry>
1791   <term><emphasis remap='B'>maxdumps</emphasis> <emphasis remap='I'> int</emphasis></term>
1792   <listitem>
1793 <para>Default:
1794 <literal>1</literal>.
1795 The maximum number of backups from a single host that &A; will attempt to run in parallel.
1796 See also the main section parameter <emphasis remap='B'>inparallel</emphasis>.</para>
1797   </listitem>
1798   </varlistentry>
1799   <varlistentry>
1800   <term><emphasis remap='B'>maxpromoteday</emphasis> <emphasis remap='I'> int</emphasis></term>
1801   <listitem>
1802 <para>Default:
1803 <literal>10000</literal>.
1804 The maximum number of day for a promotion, set it 0 if you don't want
1805 promotion, set it to 1 or 2 if your disks get overpromoted.</para>
1806   </listitem>
1807   </varlistentry>
1808   <varlistentry>
1809   <term><emphasis remap='B'>priority</emphasis> <emphasis remap='I'> string</emphasis></term>
1810   <listitem>
1811 <para>Default: <emphasis remap='I'>medium</emphasis>.
1812 When there is no tape to write to, &A; will do incremental backups
1813 in priority order to the holding disk. The priority may be
1814 high (2), medium (1), low (0) or a number of your choice.</para>
1815   </listitem>
1816   </varlistentry>
1817   <varlistentry>
1818   <term><emphasis remap='B'>program</emphasis> [DUMP|GNUTAR|APPLICATION]</term>
1819   <listitem>
1820 <para>Default:
1821 <emphasis remap='I'>DUMP</emphasis>.
1822 The type of backup to perform. Valid values are:</para>
1823   <!-- .RS -->
1824     <variablelist remap='TP'>
1825       <varlistentry>
1826       <term><emphasis remap='B'>DUMP</emphasis></term>
1827       <listitem>
1828 <para>The native operating system backup program.</para>
1829       </listitem>
1830       </varlistentry>
1831       <varlistentry>
1832       <term><emphasis remap='B'>GNUTAR</emphasis></term>
1833       <listitem>
1834 <para>To use GNU-tar or to do PC backups using Samba.</para>
1835       </listitem>
1836       </varlistentry>
1837       <varlistentry>
1838       <term><emphasis remap='B'>APPLICATION</emphasis></term>
1839       <listitem>
1840 <para>To use an application-tool, see the <emphasis>application</emphasis> option.</para>
1841       </listitem>
1842       </varlistentry>
1843     </variablelist>
1844   </listitem>
1845   </varlistentry>
1846   <varlistentry>
1847   <term><emphasis remap='B'>application</emphasis> <emphasis remap='I'> string</emphasis></term>
1848   <listitem>
1849 <para>No default. Must be the name of an application-tool if <emphasis>program</emphasis> is set to <emphasis remap='I'>APPLICATION</emphasis>. See APPLICATION SECTION below.</para>
1850   </listitem>
1851   </varlistentry>
1852   <varlistentry>
1853   <term><emphasis remap='B'>script</emphasis> <emphasis remap='I'> string</emphasis></term>
1854   <listitem>
1855 <para>No default. Must be the name of a script-tool. You can have many script. See SCRIPT SECTION below.</para>
1856   </listitem>
1857   </varlistentry>
1858   <varlistentry>
1859   <term><emphasis remap='B'>property</emphasis> [append] <emphasis remap='I'>string</emphasis> <emphasis remap='I'>string</emphasis>+</term>
1860   <listitem>
1861 <para>These options can set various properties, they can be used by third
1862  party software to store information in the configuration file.
1863 Both strings are quoted; the first string contains the name of
1864 the property to set, and the others contains its values.
1865 <emphasis remap='B'>append</emphasis> keyword append the values to the list of values for that property.
1866 </para>
1867   </listitem>
1868   </varlistentry>
1869
1870   <varlistentry>
1871   <term><emphasis remap='B'>record</emphasis> <emphasis remap='I'> boolean</emphasis></term>
1872   <listitem>
1873 <para>Default:
1874 <emphasis remap='I'>yes</emphasis>.
1875 Whether to ask the backup program to update its database (e.g. <filename>/var/lib/dumpdates</filename>
1876 for DUMP or <filename>/usr/local/var/amanda/gnutar-lists</filename> for GNUTAR) of time stamps.
1877 This is normally enabled for daily backups and turned off for periodic archival runs.</para>
1878   </listitem>
1879   </varlistentry>
1880   <varlistentry>
1881   <term><emphasis remap='B'>skip-full</emphasis> <emphasis remap='I'> boolean</emphasis></term>
1882   <listitem>
1883 <para>Default:
1884 <emphasis remap='I'>no</emphasis>. If <emphasis remap='I'>true</emphasis> and
1885 <emphasis remap='B'>planner</emphasis> has scheduled a full backup, these disks will be skipped, and
1886 full backups should be run off-line on these days. It was reported that &A; only schedules 
1887 level 1 incrementals in this configuration; this is probably a bug.</para>
1888   </listitem>
1889   </varlistentry>
1890   <varlistentry>
1891   <term><emphasis remap='B'>skip-incr</emphasis> <emphasis remap='I'> boolean</emphasis></term>
1892   <listitem>
1893 <para>Default:
1894 <emphasis remap='I'>no</emphasis>. If <emphasis remap='I'>true</emphasis> and
1895 <emphasis remap='B'>planner</emphasis> has scheduled an incremental backup, these disks will be skipped.</para>
1896   </listitem>
1897   </varlistentry>
1898   <varlistentry>
1899   <term><emphasis remap='B'>ssh_keys</emphasis> <emphasis remap='I'> string</emphasis></term>
1900   <listitem>
1901 <para>Default:
1902 <emphasis remap='I'>No default</emphasis>.
1903 The key file the ssh auth will use, it must be the private key. If this parameter is not specified, then the default ssh key will be used.</para>
1904   </listitem>
1905   </varlistentry>
1906   <varlistentry>
1907   <term><emphasis remap='B'>starttime</emphasis> <emphasis remap='I'> int</emphasis></term>
1908   <listitem>
1909 <para>Default:
1910 <emphasis remap='I'>none</emphasis>.
1911 Backups will not start until after this time of day.
1912 The value should be hh*100+mm, e.g. 6:30PM (18:30) would be entered as
1913 <literal>1830</literal>.</para>
1914   </listitem>
1915   </varlistentry>
1916   <varlistentry>
1917   <term><emphasis remap='B'>strategy</emphasis> <emphasis remap='I'> string</emphasis></term>
1918   <listitem>
1919   <para>Default: <emphasis remap='I'>standard</emphasis>.
1920   Strategy to use when planning what level of backup to run next. Values are:</para>
1921
1922   <variablelist remap='TP'>
1923   <varlistentry>
1924   <term><emphasis remap='B'>standard</emphasis></term>
1925   <listitem>
1926   <para>The standard &A; schedule.</para>
1927   </listitem>
1928   </varlistentry>
1929   <varlistentry>
1930   <term><emphasis remap='B'>nofull</emphasis></term>
1931   <listitem>
1932   <para>Never do full backups, only level 1 incrementals.</para>
1933   </listitem>
1934   </varlistentry>
1935   <varlistentry>
1936   <term><emphasis remap='B'>noinc</emphasis></term>
1937   <listitem>
1938   <para>Never do incremental backups, only full dumps.</para>
1939   </listitem>
1940   </varlistentry>
1941   <varlistentry>
1942   <term><emphasis remap='B'>skip</emphasis></term>
1943   <listitem>
1944   <para>Never do backups (useful when sharing the <emphasis remap='I'>disklist</emphasis> file).</para>
1945   </listitem>
1946   </varlistentry>
1947   <varlistentry>
1948   <term><emphasis remap='B'>incronly</emphasis></term>
1949   <listitem>
1950   <para>Only do incremental dumps. <command>amadmin force</command> should be used to tell
1951   &A; that a full dump has been performed off-line, so that it resets to level 1.</para>
1952   </listitem>
1953   </varlistentry>
1954   </variablelist>
1955   </listitem>
1956   </varlistentry>
1957
1958   <varlistentry>
1959   <term><emphasis remap='B'>tape_splitsize</emphasis> <emphasis remap='I'> int</emphasis></term>
1960   <listitem>
1961 <para>Default:
1962 <emphasis remap='I'>none</emphasis>.
1963 Split dump file on tape into pieces of a specified size.
1964 This allows dumps to be spread across multiple tapes, and can potentially
1965 make more efficient use of tape space.
1966 Note that if this value is too large (more than half the size of the
1967 average dump being split), substantial tape space can be wasted.
1968 If too small, large dumps will be split into innumerable tiny dumpfiles,
1969 adding to restoration complexity.
1970 A good rule of thumb, usually, is 1/10 of the size of your tape.</para>
1971 <para>The default unit is Kbytes if it is not specified.</para>
1972   </listitem>
1973   </varlistentry>
1974
1975   <varlistentry>
1976   <term><emphasis remap='B'>split_diskbuffer</emphasis> <emphasis remap='I'> string</emphasis></term>
1977   <listitem>
1978 <para>Default:
1979 <emphasis remap='I'>none</emphasis>.
1980 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.
1981 </para>
1982   </listitem>
1983   </varlistentry>
1984
1985   <varlistentry>
1986   <term><emphasis remap='B'>fallback_splitsize</emphasis> <emphasis remap='I'> int</emphasis></term>
1987   <listitem>
1988 <para>Default:
1989 <emphasis remap='I'>10M</emphasis>.
1990 When dumping a split dump in PORT-WRITE mode, if no split_diskbuffer is
1991 specified (or if we somehow fail to use our split_diskbuffer), we must
1992 buffer split chunks in memory.
1993 This specifies the maximum size split chunks can be in this scenario,
1994 and thus the maximum amount of memory consumed for in-memory splitting.
1995 The size of this buffer can be changed from its (very conservative) default
1996 to a value reflecting the amount of memory that each taper process on
1997 the dump server may reasonably consume.
1998 </para>
1999 <para>The default unit is Kbytes if it is not specified.</para>
2000   </listitem>
2001   </varlistentry>
2002 </variablelist>
2003
2004 <para>The following <emphasis remap='B'>dumptype</emphasis> entries are predefined by &A;:</para>
2005
2006 <programlisting remap='.nf'>
2007 define dumptype "no-compress" {
2008     compress none
2009 }
2010 define dumptype "compress-fast" {
2011     compress client fast
2012 }
2013 define dumptype "compress-best" {
2014     compress client best
2015 }
2016 define dumptype "srvcompress" {
2017     compress server fast
2018 }
2019 define dumptype "bsd-auth" {
2020     auth bsd
2021 }
2022 define dumptype "krb4-auth" {
2023     auth krb4
2024 }
2025 define dumptype "no-record" {
2026     record no
2027 }
2028 define dumptype "no-hold" {
2029     holdingdisk no
2030 }
2031 define dumptype "no-full" {
2032     skip-full yes
2033
2034 </programlisting>
2035
2036 <para>In addition to options in a
2037 <emphasis remap='B'>dumptype</emphasis>
2038 section, one or more other
2039 <emphasis remap='B'>dumptype</emphasis>
2040 names may be supplied as identifiers, which make this
2041 <emphasis remap='B'>dumptype</emphasis>
2042 inherit options from other previously defined
2043 <emphasis remap='B'>dumptype</emphasis>s.
2044 For instance, two sections might be the same except for the
2045 <emphasis remap='B'>record</emphasis> option:</para>
2046
2047 <programlisting remap='.nf'>
2048 define dumptype "normal" {
2049     comment &quot;Normal backup, no compression, do indexing&quot;
2050     no-compress
2051     index yes
2052     maxdumps 2
2053 }
2054 define dumptype "testing" {
2055     comment &quot;Test backup, no compression, do indexing, no recording&quot;
2056     "normal"
2057     record no
2058 }
2059 </programlisting>
2060
2061 <para>&A; provides a
2062 <emphasis remap='B'>dumptype</emphasis>
2063 named
2064 <emphasis remap='I'>global</emphasis>
2065 in the sample
2066 <emphasis remap='B'>amanda.conf</emphasis>
2067 file that all
2068 <emphasis remap='B'>dumptype</emphasis>s
2069 should reference.
2070 This provides an easy place to make changes that will affect every
2071 <emphasis remap='B'>dumptype</emphasis>.</para>
2072 </refsect1>
2073
2074 <refsect1><title>TAPETYPE SECTION</title>
2075 <para>The <emphasis remap='B'>amanda.conf</emphasis>
2076 file may define multiple types of tape media and devices.
2077 The information is entered in a
2078 <emphasis remap='B'>tapetype</emphasis>
2079 section, which looks like this in the config file:</para>
2080
2081 <programlisting>
2082 define tapetype "<emphasis remap='I'>name</emphasis>" {
2083     <emphasis remap='I'>tapetype-option</emphasis> <emphasis remap='I'>tapetype-value</emphasis>
2084     <literal>...</literal>
2085 }
2086 </programlisting>
2087
2088 <para><emphasis remap='I'>Name</emphasis>
2089 is the name of this type of tape medium/device.
2090 It is referenced from the
2091 <emphasis remap='B'>tapetype</emphasis>
2092 option in the main part of the config file.</para>
2093
2094 <para>The tapetype options and values are:</para>
2095 <variablelist remap='TP'>
2096   <varlistentry>
2097   <term><emphasis remap='B'>comment</emphasis> <emphasis remap='I'> string</emphasis></term>
2098   <listitem>
2099 <para>Default:
2100 <emphasis remap='I'>none</emphasis>.
2101 A comment string describing this set of tape information.</para>
2102   </listitem>
2103   </varlistentry>
2104   <varlistentry>
2105   <term><emphasis remap='B'>filemark</emphasis> <emphasis remap='I'> int</emphasis></term>
2106   <listitem>
2107 <para>Default:
2108 <emphasis remap='I'>1 kbytes</emphasis>.
2109 How large a file mark (tape mark) is, measured in kbytes.
2110 If the size is only known in some linear measurement (e.g. inches),
2111 convert it to kbytes using the device density.</para>
2112   </listitem>
2113   </varlistentry>
2114   <varlistentry>
2115   <term><emphasis remap='B'>length</emphasis> <emphasis remap='I'> int</emphasis></term>
2116   <listitem>
2117 <para>Default:
2118 <emphasis remap='I'>2000 kbytes</emphasis>. How much data will fit on a tape, expressed in kbytes.</para>
2119
2120 <para>Note that this value is only used by &A; to schedule which backups will be run.
2121 Once the backups start, &A; will continue to write to a tape until it gets an error, 
2122 regardless of what value is entered for <emphasis remap='B'>length</emphasis>
2123 (but see <citerefentry><refentrytitle>amanda-devices</refentrytitle><manvolnum>7</manvolnum></citerefentry> for exceptions).
2124  </para>
2125   </listitem>
2126   </varlistentry>
2127
2128 <varlistentry>
2129 <term><emphasis remap='B'>blocksize</emphasis> <emphasis remap='I'> int</emphasis></term>
2130 <listitem>
2131 <para>Default:
2132 <emphasis remap='I'>32 kbytes</emphasis>.
2133 How much data will be written in each tape record, expressed in kbytes.  This is similar to the <emphasis remap="I">BLOCK_SIZE</emphasis> device property, but if the blocksize is not a multiple of 1024 bytes, then this parameter cannot be used to specify it, and the property must be used instead.</para>
2134   </listitem>
2135   </varlistentry>
2136 <varlistentry>
2137 <term><emphasis remap='B'>readblocksize</emphasis> <emphasis remap='I'> int</emphasis></term>
2138 <listitem>
2139 <para>Default: <emphasis remap="I">32 kytes</emphasis>
2140 How much data will be read in each tape record.  This can be used to override a
2141 device's block size for reads only.  This may be useful, for example, in
2142 reading a tape written with a 256k block size when Amanda is configured to use
2143 128k blocks.  This unusual feature is not supported by all operating systems and
2144 tape devices.
2145 </para>
2146 <para>The default unit is Kbytes if it is not specified.</para>
2147   </listitem>
2148   </varlistentry>
2149   
2150   <varlistentry>
2151   <term><emphasis remap='B'>speed</emphasis> <emphasis remap='I'> int</emphasis></term>
2152   <listitem>
2153 <para>Default:
2154 <emphasis remap='I'>200 bps</emphasis>.
2155 How fast the drive will accept data, in bytes per second.
2156 This parameter is NOT currently used by &A;.</para>
2157   </listitem>
2158   </varlistentry>
2159   <varlistentry>
2160   <term><emphasis remap='B'>lbl-templ</emphasis> <emphasis remap='I'> string</emphasis></term>
2161   <listitem>
2162 <para>A PostScript template file used by
2163 <emphasis remap='B'>amreport</emphasis>
2164 to generate labels. Several sample files are provided with the &A; sources in the
2165 <emphasis remap='I'>example</emphasis> directory.
2166 See the
2167 <citerefentry><refentrytitle>amreport</refentrytitle><manvolnum>8</manvolnum></citerefentry>
2168 man page for more information.</para>
2169   </listitem>
2170   </varlistentry>
2171 </variablelist>
2172
2173 <para>In addition to options, another
2174 <emphasis remap='B'>tapetype</emphasis>
2175 name may be supplie as an identifier, which makes this
2176 <emphasis remap='B'>tapetype</emphasis>
2177 inherit options from another
2178 <emphasis remap='B'>tapetype</emphasis>.
2179 For instance, the only difference between a DLT4000 tape drive using
2180 Compact-III tapes and one using Compact-IV tapes is the length of the tape.
2181 So they could be entered as:</para>
2182
2183 <programlisting remap='.nf'>
2184 define tapetype "DLT4000-III" {
2185     comment &quot;DLT4000 tape drives with Compact-III tapes&quot;
2186     length 12500 mbytes         # 10 Gig tapes with some compression
2187     filemark 2000 kbytes
2188     speed 1536 kps
2189 }
2190 define tapetype "DLT4000-IV" {
2191     "DLT4000-III"
2192     comment &quot;DLT4000 tape drives with Compact-IV tapes&quot;
2193     length 25000 mbytes         # 20 Gig tapes with some compression
2194 }
2195 </programlisting>
2196
2197 <!-- If anybody has read this, where do all those stupid 
2198      pseudo-duplicate FOM-tapetype-entries come from?? 
2199         - sgw, Jan. 2005 
2200 -->
2201
2202 </refsect1>
2203
2204 <refsect1><title>INTERFACE SECTION</title>
2205 <para>The
2206 <emphasis remap='B'>amanda.conf</emphasis>
2207 file may define multiple types of network interfaces.
2208 The information is entered in an <emphasis remap='B'>interface</emphasis>
2209 section, which looks like this:</para>
2210
2211 <programlisting>
2212 define interface "<emphasis remap='I'>name</emphasis>" {
2213     <emphasis remap='I'>interface-option</emphasis> <emphasis remap='I'>interface-value</emphasis>
2214     <literal>...</literal>
2215 }
2216 </programlisting>
2217
2218 <para><emphasis remap='I'>name</emphasis>
2219 is the name of this type of network interface. It is referenced from the
2220 <emphasis remap='I'>disklist</emphasis> file.</para>
2221
2222 <para>Note that these sections define network interface characteristics,
2223 not the actual interface that will be used. Nor do they impose limits on the bandwidth that will 
2224 actually be taken up by &A;.
2225 &A; computes the estimated bandwidth each file system backup will take
2226 based on the estimated size and time, then compares that plus any other running
2227 backups with the limit as another of the criteria when deciding whether
2228 to start the backup. Once a backup starts, &A; will use as much of the network as it can
2229 leaving throttling up to the operating system and network hardware.</para>
2230
2231 <para>The interface options and values are:</para>
2232 <variablelist remap='TP'>
2233   <varlistentry>
2234   <term><emphasis remap='B'>comment</emphasis> <emphasis remap='I'> string</emphasis></term>
2235   <listitem>
2236 <para>Default:
2237 <emphasis remap='I'>none</emphasis>.
2238 A comment string describing this set of network information.</para>
2239   </listitem>
2240   </varlistentry>
2241   <varlistentry>
2242   <term><emphasis remap='B'>use</emphasis> <emphasis remap='I'> int</emphasis></term>
2243   <listitem>
2244 <para>Default:
2245 <emphasis remap='I'>8000 Kbps</emphasis>.
2246 The speed of the interface in Kbytes per second.</para>
2247   </listitem>
2248   </varlistentry>
2249 </variablelist>
2250
2251 <para>In addition to options, another
2252 <emphasis remap='B'>interface</emphasis>
2253 name may be supplied as an identifier, which makes this
2254 <emphasis remap='B'>interface</emphasis>
2255 inherit options from another
2256 <emphasis remap='B'>interface</emphasis>.
2257 At the moment, this is of little use.</para>
2258 </refsect1>
2259
2260 <refsect1><title>APPLICATION SECTION</title>
2261 <para>The
2262 <emphasis remap='B'>amanda.conf</emphasis>
2263 file may define multiple types of application.
2264 The information is entered in a <emphasis remap='B'>application-tool</emphasis>
2265 section, which looks like this:</para>
2266
2267 <programlisting>
2268 define application-tool "<emphasis remap='I'>name</emphasis>" {
2269     <emphasis remap='I'>application-option</emphasis> <emphasis remap='I'>application-value</emphasis>
2270     <literal>...</literal>
2271 }
2272 </programlisting>
2273
2274 <para><emphasis remap='I'>name</emphasis>
2275 is the name of this type of application. It is referenced from the
2276 <emphasis remap='I'>dumptype</emphasis></para>
2277
2278 <para>The application-tool options and values are:</para>
2279 <variablelist remap='TP'>
2280   <varlistentry>
2281   <term><emphasis remap='B'>comment</emphasis> <emphasis remap='I'>string</emphasis></term>
2282   <listitem>
2283 <para>Default:
2284 <emphasis remap='I'>none</emphasis>.
2285 A comment string describing this application.</para>
2286   </listitem>
2287   </varlistentry>
2288   <varlistentry>
2289   <term><emphasis remap='B'>plugin</emphasis> <emphasis remap='I'>string</emphasis></term>
2290   <listitem>
2291 <para>No default. Must be set to the name of the program. This program must be in the <emphasis remap='I'>$libexecdir/amanda/application</emphasis> directory on the client.</para>
2292   </listitem>
2293   </varlistentry>
2294   <varlistentry>
2295   <term><emphasis remap='B'>property</emphasis> [append] [priority] <emphasis remap='I'>string</emphasis> <emphasis remap='I'>string</emphasis>+</term>
2296   <listitem>
2297 <para>No default. You can set property for the application, each application have a different set of property. Both strings are quoted; the first string contains the name of
2298 the property to set, and the others contains its values.
2299 <emphasis remap='B'>append</emphasis> keyword append the values to the list of values for that property.
2300 <emphasis remap='B'>priority</emphasis> keyword disallow the setting of that property on the client.
2301 </para>
2302   </listitem>
2303   </varlistentry>
2304 </variablelist>
2305 </refsect1>
2306
2307 <refsect1><title>SCRIPT SECTION</title>
2308 <para>The
2309 <emphasis remap='B'>amanda.conf</emphasis>
2310 file may define multiple types of script. 
2311 The information is entered in a <emphasis remap='B'>script-tool</emphasis>
2312 section, which looks like this:</para>
2313
2314 <programlisting>
2315 define script-tool "<emphasis remap='I'>name</emphasis>" {
2316     <emphasis remap='I'>script-option</emphasis> <emphasis remap='I'>script-value</emphasis>
2317     <literal>...</literal>
2318 }
2319 </programlisting>
2320
2321 <para><emphasis remap='I'>name</emphasis>
2322 is the name of this type of script. It is referenced from the
2323 <emphasis remap='I'>dumptype</emphasis></para>
2324
2325 <para>The script-tool options and values are:</para>
2326 <variablelist remap='TP'>
2327   <varlistentry>
2328   <term><emphasis remap='B'>comment</emphasis> <emphasis remap='I'>string</emphasis></term>
2329   <listitem>
2330 <para>Default:
2331 <emphasis remap='I'>none</emphasis>.
2332 A comment string describing this script.</para>
2333   </listitem>
2334   </varlistentry>
2335   <varlistentry>
2336   <term><emphasis remap='B'>plugin</emphasis> <emphasis remap='I'>string</emphasis></term>
2337   <listitem>
2338 <para>No default. Must be set to the name of the program. This program must be in the <emphasis remap='I'>$libexecdir/amanda/application</emphasis> directory on the client and/or server.</para>
2339   </listitem>
2340   </varlistentry>
2341   <varlistentry>
2342   <term><emphasis remap='B'>execute_where</emphasis> [client|server]</term>
2343   <listitem>
2344 <para>Default: <emphasis remap='I'>client</emphasis>. Where the script must be executed, on the client or server.</para>
2345   </listitem>
2346   </varlistentry>
2347   <varlistentry>
2348   <term><emphasis remap='B'>execute_on</emphasis> <emphasis remap='I'>execute_on</emphasis>[,<emphasis remap='I'>execute_on</emphasis>]*</term>
2349   <listitem>
2350 <para>No default. When the script must be executed, you can specify many of them:</para>
2351     <!-- .RS -->
2352     <variablelist remap='TP'>
2353       <varlistentry>
2354       <term><emphasis remap='B'>pre-dle-amcheck</emphasis></term>
2355       <listitem>
2356 <para>Execute before the amcheck command for the dle.</para>
2357       </listitem>
2358       </varlistentry>
2359       <varlistentry>
2360       <term><emphasis remap='B'>pre-host-amcheck</emphasis></term>
2361       <listitem>
2362 <para>Execute before the amcheck command for all dle for the client.</para>
2363       </listitem>
2364       </varlistentry>
2365       <varlistentry>
2366       <term><emphasis remap='B'>post-dle-amcheck</emphasis></term>
2367       <listitem>
2368 <para>Execute after the amcheck command for the dle.</para>
2369       </listitem>
2370       </varlistentry>
2371       <varlistentry>
2372       <term><emphasis remap='B'>post-host-amcheck</emphasis></term>
2373       <listitem>
2374 <para>Execute after the amcheck command for all dle for the client.</para>
2375       </listitem>
2376       </varlistentry>
2377       <varlistentry>
2378       <term><emphasis remap='B'>pre-dle-estimate</emphasis></term>
2379       <listitem>
2380 <para>Execute before the estimate command for the dle.</para>
2381       </listitem>
2382       </varlistentry>
2383       <varlistentry>
2384       <term><emphasis remap='B'>pre-host-estimate</emphasis></term>
2385       <listitem>
2386 <para>Execute before the estimate command for all dle for the client.</para>
2387       </listitem>
2388       </varlistentry>
2389       <varlistentry>
2390       <term><emphasis remap='B'>post-dle-estimate</emphasis></term>
2391       <listitem>
2392 <para>Execute after the estimate command for the dle.</para>
2393       </listitem>
2394       </varlistentry>
2395       <varlistentry>
2396       <term><emphasis remap='B'>post-host-estimate</emphasis></term>
2397       <listitem>
2398 <para>Execute after the estimate command for all dle for the client.</para>
2399       </listitem>
2400       </varlistentry>
2401       <varlistentry>
2402       <term><emphasis remap='B'>pre-dle-backup</emphasis></term>
2403       <listitem>
2404 <para>Execute before the backup command for the dle.</para>
2405       </listitem>
2406       </varlistentry>
2407       <varlistentry>
2408       <term><emphasis remap='B'>pre-host-backup</emphasis></term>
2409       <listitem>
2410 <para>Execute before the backup command for all dle for the client.</para>
2411       </listitem>
2412       </varlistentry>
2413       <varlistentry>
2414       <term><emphasis remap='B'>post-dle-backup</emphasis></term>
2415       <listitem>
2416 <para>Execute after the backup command for the dle.</para>
2417       </listitem>
2418       </varlistentry>
2419       <varlistentry>
2420       <term><emphasis remap='B'>post-host-backup</emphasis></term>
2421       <listitem>
2422 <para>Execute after the backup command for all dle for the client.</para>
2423       </listitem>
2424       </varlistentry>
2425       <varlistentry>
2426       <term><emphasis remap='B'>pre-recover</emphasis></term>
2427       <listitem>
2428 <para>Execute before any level is recovered.</para>
2429       </listitem>
2430       </varlistentry>
2431       <varlistentry>
2432       <term><emphasis remap='B'>post-recover</emphasis></term>
2433       <listitem>
2434 <para>Execute after all levels are recovered.</para>
2435       </listitem>
2436       </varlistentry>
2437       <varlistentry>
2438       <term><emphasis remap='B'>pre-level-recover</emphasis></term>
2439       <listitem>
2440 <para>Execute before each level recovery.</para>
2441       </listitem>
2442       </varlistentry>
2443       <varlistentry>
2444       <term><emphasis remap='B'>post-level-recover</emphasis></term>
2445       <listitem>
2446 <para>Execute after each level recovery.</para>
2447       </listitem>
2448       </varlistentry>
2449       <varlistentry>
2450       <term><emphasis remap='B'>inter-level-recover</emphasis></term>
2451       <listitem>
2452 <para>Execute between two levels of recovery.</para>
2453       </listitem>
2454       </varlistentry>
2455     </variablelist>
2456     <para>If you recover level 0 and 2 of the disk /usr with amrecover, it will execute:</para>
2457 <programlisting>
2458 script --pre-recover
2459 script --pre-level-recover --level 0
2460 #recovering level 0
2461 script --post-level-recover --level 0
2462 script --inter-level-recover --level 0 --level 2
2463 script --pre-level-recover --level 2
2464 #recovering level 2
2465 script --post-level-recover --level 2
2466 script --post-recover
2467 </programlisting>
2468   </listitem>
2469   </varlistentry>
2470   <varlistentry>
2471   <term><emphasis remap='B'>property</emphasis> [append] [priority] <emphasis remap='I'>string</emphasis> <emphasis remap='I'>string</emphasis>+</term>
2472   <listitem>
2473 <para>No default. You can set property for the script, each script have a different set of property. Both strings are quoted; the first string contains the name of
2474 the property to set, and the others contains its values.
2475 <emphasis remap='B'>append</emphasis> keyword append the values to the list of values for that property.
2476 <emphasis remap='B'>priority</emphasis> keyword disallow the setting of that property on the client.
2477 </para>
2478   </listitem>
2479   </varlistentry>
2480 </variablelist>
2481 </refsect1>
2482
2483 <refsect1><title>DEVICE SECTION</title>
2484 <para>Backend storage devices are specified in
2485 <emphasis remap='B'>amanda.conf</emphasis>
2486 in the form of "device" sections, which look like this:</para>
2487
2488 <programlisting>
2489 define device <emphasis remap='I'>name</emphasis> {
2490     commend "<emphasis remap='I'>comment (optional)</emphasis>"
2491     tapedev "<emphasis remap='I'>device-specifier</emphasis>"
2492     device_property "<emphasis remap='I'>prop-name</emphasis>" "<emphasis remap='I'>prop-value</emphasis>"
2493     <literal>...</literal>
2494 }
2495 </programlisting>
2496
2497 <para><emphasis remap='I'>name</emphasis> is the user-specified name of
2498 this device. It is referenced from the global <emphasis
2499 remap='I'>tapedev</emphasis> parameter.  The <emphasis
2500 remap='I'>device-specifier</emphasis> specifies the device name to use;
2501 see <citerefentry><refentrytitle>amanda-devices</refentrytitle><manvolnum>7</manvolnum></citerefentry>.
2502 As with most sections, the <emphasis remap='I'>comment</emphasis>
2503 parmeter is optional and only for the user's convenience.</para>
2504
2505 <para>An arbitrary number of <emphasis
2506 remap='I'>device_property</emphasis> parameters can be specified.
2507 Again, see
2508 <citerefentry><refentrytitle>amanda-devices</refentrytitle><manvolnum>7</manvolnum></citerefentry>
2509 for information on device properties.</para>
2510
2511 </refsect1>
2512
2513 <refsect1><title>CHANGER SECTION</title>
2514 <para>Changers are described in
2515 <emphasis remap='B'>amanda.conf</emphasis>
2516 in the form of "changer" sections, which look like this:</para>
2517
2518 <programlisting>
2519 define changer <emphasis remap='I'>name</emphasis> {
2520     comment "<emphasis remap='I'>comment (optional)</emphasis>"
2521     tapedev "<emphasis remap='I'>tape-device</emphasis>"
2522     tpchanger "<emphasis remap='I'>changer-type</emphasis>"
2523     changerdev "<emphasis remap='I'>device-name</emphasis>"
2524     changerfile "<emphasis remap='I'>state-file</emphasis>"
2525     <literal>...</literal>
2526 }
2527 </programlisting>
2528
2529 <para><emphasis remap='I'>name</emphasis> is the user-specified name of this
2530 device. The remaining parameters are specific to the changer type selected.
2531 </para>
2532
2533 </refsect1>
2534
2535 <refsect1><title>SEE ALSO</title>
2536 <para>
2537 <citerefentry><refentrytitle>amanda</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
2538 <citerefentry><refentrytitle>amanda-client.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
2539 <citerefentry><refentrytitle>amcrypt</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
2540 <citerefentry><refentrytitle>aespipe</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
2541 <ulink url="http://wiki.zmanda.com"/>
2542 </para>
2543
2544 </refsect1>
2545 </refentry>
2546