Merge tag 'upstream/3.3.3'
[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 '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 Amanda, 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 Amanda. 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 Amanda 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 <amkeyword>mailto</amkeyword>
56 and
57 <amkeyword>MailTo</amkeyword>
58 are treated the same.  Also, the characters
59 '<amkeyword>-</amkeyword>' and '<amkeyword>_</amkeyword>'
60 are interchangeable in all predefined Amanda keywords:
61 <amkeyword>device_property</amkeyword>
62 and
63 <amkeyword>device-property</amkeyword>
64 have the same meaning.  This manpage uses the dashed versions, but the
65 underscored versions will be accepted for backward compatibility</para>
66
67 <para>Identifiers are names which are defined in the configuration itself, such
68 as dumptypes or interfaces.  Identifiers are are case-insensitive, but
69 sensitive to
70 '<amkeyword>-</amkeyword>' vs.  '<amkeyword>_</amkeyword>'.
71 Identifiers should be quoted in the configuration file, although For historical
72 reasons, the quotes are optional.</para>
73
74 <para>Strings are always quoted with double quotes ("), and any double quotes
75 or backslashes within the string are escaped with a backslash:
76 <programlisting>
77 tapelist "/path/to/tapelist"
78 property "escaped-string" "escaping: \\ (backslash) and \" (double-quote)"
79 </programlisting>
80 </para>
81
82 <para>To summarize, then:
83 <programlisting>
84                           # QUOTES        CASE            -/_
85 logdir "logs"             # required      sensitive       sensitive
86 send-amreport-on strange  # prohibited    insensitive     insensitive
87 tapetype "EXABYTE"        # optional      insensitive     sensitive
88
89 define dumptype "dt" {    # optional      insensitive     sensitive
90   "dumptype-common"       # optional      insensitive     sensitive
91   strategy noinc          # prohibited    insensitive     insensitive
92 }
93 </programlisting>
94 </para>
95
96 </refsect2>
97
98 <refsect2><title>VALUE SUFFIXES</title>
99
100 <para>Integer arguments may have one of the following (case insensitive) suffixes,
101 some of which have a multiplier effect:</para>
102
103 <variablelist remap='TP'>
104   <varlistentry>
105   <term><amkeyword>b byte bytes</amkeyword></term>
106   <listitem>
107 <para>Some number of bytes.</para>
108   </listitem>
109   </varlistentry>
110   <varlistentry>
111   <term><amkeyword>bps</amkeyword></term>
112   <listitem>
113 <para>Some number of bytes per second.</para>
114   </listitem>
115   </varlistentry>
116   <varlistentry>
117   <term><amkeyword>k kb kbyte kbytes kilobyte kilobytes</amkeyword></term>
118   <listitem>
119 <para>Some number of kilobytes (bytes*1024).</para>
120   </listitem>
121   </varlistentry>
122   <varlistentry>
123   <term><amkeyword>kps kbps</amkeyword></term>
124   <listitem>
125 <para>Some number of kilobytes per second (bytes*1024).</para>
126 <para>It is the default multiplier for all size options.</para>
127   </listitem>
128   </varlistentry>
129   <varlistentry>
130   <term><amkeyword>m mb meg mbyte mbytes megabyte megabytes</amkeyword></term>
131   <listitem>
132 <para>Some number of megabytes (bytes*1024*1024).</para>
133   </listitem>
134   </varlistentry>
135   <varlistentry>
136   <term><amkeyword>mps mbps</amkeyword></term>
137   <listitem>
138 <para>Some number of megabytes per second (bytes*1024*1024).</para>
139   </listitem>
140   </varlistentry>
141   <varlistentry>
142   <term><amkeyword>g gb gbyte gbytes gigabyte gigabytes</amkeyword></term>
143   <listitem>
144 <para>Some number of gigabytes (bytes*1024*1024*1024).</para>
145   </listitem>
146   </varlistentry>
147   <varlistentry>
148   <term><amkeyword>t tb tbyte tbytes terabyte terabytes</amkeyword></term>
149   <listitem>
150 <para>Some number of terabytes (bytes*1024*1024*1024*1024).</para>
151   </listitem>
152   </varlistentry>
153   <varlistentry>
154   <term><amkeyword>tape tapes</amkeyword></term>
155   <listitem>
156 <para>Some number of tapes.</para>
157   </listitem>
158   </varlistentry>
159   <varlistentry>
160   <term><amkeyword>day days</amkeyword></term>
161   <listitem>
162 <para>Some number of days.</para>
163   </listitem>
164   </varlistentry>
165   <varlistentry>
166   <term><amkeyword>week weeks</amkeyword></term>
167   <listitem>
168 <para>Some number of weeks (days*7).</para>
169
170 <note><para>The value
171 <amkeyword>inf</amkeyword>
172 may be used in most places where an integer is expected
173 to mean an infinite amount.</para>
174
175 <para>Boolean arguments may have any of the values
176 <amkeyword>1</amkeyword>,
177 <amkeyword>y</amkeyword>,
178 <amkeyword>yes</amkeyword>,
179 <amkeyword>t</amkeyword>,
180 <amkeyword>true</amkeyword>
181 or
182 <amkeyword>on</amkeyword>
183 to indicate a true state, or
184 <amkeyword>0</amkeyword>,
185 <amkeyword>n</amkeyword>,
186 <amkeyword>no</amkeyword>,
187 <amkeyword>f</amkeyword>,
188 <amkeyword>false</amkeyword>
189 or
190 <amkeyword>off</amkeyword>
191 to indicate a false state.
192 If no argument is given,
193 <amkeyword>true</amkeyword>
194 is assumed.
195 </para>
196 </note>
197   </listitem>
198   </varlistentry>
199 </variablelist>
200 </refsect2>
201
202 <refsect2><title>PARAMETER ORDER</title>
203
204 <para>In general, the order in which parameters occur in the configuration file
205 does not matter, with the exception of subsection inheritance.  For example, if
206 dumptype "normal-encrypt" which inherits from dumptype "normal", then "normal"
207 must appear first in the configuration file.</para>
208
209 </refsect2>
210
211 <refsect2><title>STRINGS</title>
212 <para>Quoted strings in Amanda follow a common, C-like syntax.  Printable
213 characters and whitespace are kept as-is, except that the backslash character
214 (\) is used as an escape character, and a double-quote ends the string.  The allowed
215 escape sequences are
216 <programlisting>
217     ESCAPE SEQUENCE     BECOMES
218     \\                  \
219     \"                  "
220     \n                  (newline)
221     \t                  (tab)
222     \r                  (carriage return)
223     \f                  (form-feed)
224     \1 - \7
225     \01 - \77
226     \001 - \377         (character specified in octal)
227 </programlisting>
228 Illegally quoted strings are handled on a "best-effort" basis, which may lead to
229 unexpected results.
230 </para>
231 <para>Examples:
232 <programlisting>
233 finserver "/data/finance/XYZ Corp's \"real\" finances" finance-high eth0 -1
234 property "syspath" "C:\\WINDOWS\\SYSTEM"
235 </programlisting>
236 </para>
237 </refsect2>
238
239 <refsect2><title>SUBSECTIONS AND INHERITANCE</title>
240
241 <para>Amanda configuration files may include various
242 <emphasis>subsections</emphasis>, each defining a set of configuration
243 directives.  Each type of subsection is described below.  Note that all types
244 of subsections can <emphasis>inherit</emphasis> from other subsections of the
245 same type by naming the "parent" section in the "child" subsection.  For
246 example:
247
248 <programlisting>
249 define dumptype global {
250     record yes
251     index yes
252 }
253
254 define dumptype nocomp {
255     global      # inherit the parameters in dumptype 'global'
256     compress none
257 }
258 </programlisting></para>
259
260 <para>Note that multiple inheritance is also supported by simply naming
261 multiple parent sections in a child.  Parents are implicitly expanded in place
262 in a child, and the last occurrence of each parameter takes precedence.  For
263 example,
264 <programlisting>
265 define tapetype par1 {
266     comment "Parent 1"
267     filemark 8k
268     speed 300bps
269     length 200M
270 }
271 define tapetype par2 {
272     comment "Parent 2"
273     filemark 16k
274     speed 400bps
275 }
276 define tapetype child {
277     par1
278     par2
279     filemark 32k
280 }
281 </programlisting>
282 In this example, 'child' will have a filemark of 32k, a speed of 400bps, and a
283 length of 200M.</para>
284 </refsect2>
285
286 </refsect1>
287
288 <refsect1>
289 <title>GLOBAL PARAMETERS</title>
290
291 <variablelist remap='TP'>
292   <varlistentry>
293   <term><amkeyword>org</amkeyword> <amtype>string</amtype></term>
294   <listitem>
295 <para>Default:
296 <amdefault>"daily"</amdefault>.
297 A descriptive name for the configuration.
298 This string appears in the Subject line of mail reports.
299 Each Amanda configuration should have a different string to keep
300 mail reports distinct.</para>
301   </listitem>
302   </varlistentry>
303   <varlistentry>
304   <term><amkeyword>mailer</amkeyword> <amtype>string</amtype></term>
305   <listitem>
306 <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>
307   </listitem>
308   </varlistentry>
309   <varlistentry>
310   <term><amkeyword>mailto</amkeyword> <amtype>string</amtype></term>
311   <listitem>
312 <para>Default: none.
313 A space separated list of recipients for mail reports.  If not specified, amdump will not send any mail.</para>
314   </listitem>
315   </varlistentry>
316   <varlistentry>
317   <term><amkeyword>send-amreport-on</amkeyword> [ <amkeyword>all</amkeyword> | <amkeyword>strange</amkeyword> | <amkeyword>error</amkeyword> | <amkeyword>never</amkeyword> ]</term>
318   <listitem>
319 <para>Default:
320 <amkeyword>all</amkeyword>.
321 Specify which types of messages will trigger an email from amreport. amreport is used by amdump and amflush.</para>
322   <!-- .RS -->
323     <variablelist remap='TP'>
324       <varlistentry>
325       <term><amkeyword>all</amkeyword></term>
326       <listitem>
327 <para>Send an email on any message.</para>
328       </listitem>
329       </varlistentry>
330       <varlistentry>
331       <term><amkeyword>strange</amkeyword></term>
332       <listitem>
333 <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 Amanda.</para>
334       </listitem>
335       </varlistentry>
336       <varlistentry>
337       <term><amkeyword>error</amkeyword></term>
338       <listitem>
339 <para>Send an email only on error messages.</para>
340       </listitem>
341       </varlistentry>
342       <varlistentry>
343       <term><amkeyword>never</amkeyword></term>
344       <listitem>
345 <para>Never send an email.</para>
346       </listitem>
347       </varlistentry>
348     </variablelist>
349   </listitem>
350   </varlistentry>
351
352   <varlistentry>
353   <term><amkeyword>report-use-media</amkeyword> <amtype>boolean</amtype></term>
354   <listitem>
355 <para>Default:
356 <amdefault>True</amdefault> if <amkeyword>max-dle-by-volume</amkeyword>
357 is not set,
358 <amdefault>False</amdefault> if it is set.
359 If the reporter must print the list of media used in the run.</para>
360   </listitem>
361   </varlistentry>
362
363   <varlistentry>
364   <term><amkeyword>report-next-media</amkeyword> <amtype>boolean</amtype></term>
365   <listitem>
366 <para>Default:
367 <amdefault>True</amdefault> if <amkeyword>max-dle-by-volume</amkeyword>
368 is not set,
369 <amdefault>False</amdefault> if it is set.
370 If the reporter must print the list of media expected for the next run.</para>
371   </listitem>
372   </varlistentry>
373
374   <varlistentry>
375   <term><amkeyword>max-dle-by-volume</amkeyword> <amtype>int</amtype></term>
376   <listitem>
377 <para>Default:
378 <amdefault>1000000000</amdefault>.
379 The maximum number of dle written to a single volume.</para>
380   </listitem>
381   </varlistentry>
382
383   <varlistentry>
384   <term><amkeyword>dumpcycle</amkeyword> <amtype>int</amtype></term>
385   <listitem>
386 <para>Default:
387 <amdefault>10 days</amdefault>.
388 The number of days in the backup cycle.
389 Each disk will get a full backup at least this often.
390 Setting this to zero tries to do a full backup each run.</para>
391 <note><para>This parameter may also be set in a specific
392 <amkeyword>dumptype</amkeyword>
393 (see below).
394 This value sets the default for all
395 <amkeyword>dumptype</amkeyword>s
396 so must appear in
397 <emphasis remap='B'>amanda.conf</emphasis>
398 before any
399 <amkeyword>dumptype</amkeyword>s
400 are defined.</para>
401 </note>
402   </listitem>
403   </varlistentry>
404
405   <varlistentry>
406   <term><amkeyword>runspercycle</amkeyword> <amtype>int</amtype></term>
407   <listitem>
408 <para>Default:
409 <amdefault>same as dumpcycle</amdefault>.
410 The number of amdump runs in 
411 <amkeyword>dumpcycle</amkeyword>
412 days.
413 A value of 0 means the same value as 
414 <amkeyword>dumpcycle</amkeyword>.
415 A value of -1 means guess the number of runs from the &tapelist; file,
416 which is the number of tapes used in the last 
417 <amkeyword>dumpcycle</amkeyword>
418 days / 
419 <amkeyword>runtapes</amkeyword>.</para>
420   </listitem>
421   </varlistentry>
422
423   <varlistentry>
424   <term><amkeyword>tapecycle</amkeyword> <amtype>int</amtype></term>
425   <listitem>
426 <para>Default:
427 <amdefault>15 tapes</amdefault>.
428
429 Specifies the number of "active" volumes - volumes that Amanda will not
430 overwrite.  While Amanda is always willing to write to a new volume, it refuses
431 to overwrite a volume unless at least '<amkeyword>tapecycle</amkeyword> -1'
432 volumes have been written since.</para>
433
434 <para> It is considered good administrative practice to set the
435 <amkeyword>tapecycle</amkeyword> parameter slightly lower than the actual
436 number of tapes in use. This allows the administrator to more easily cope
437 with damaged or misplaced tapes or schedule adjustments that call for
438 slight adjustments in the rotation order.</para>
439
440 <para>Note: Amanda is commonly misconfigured with <amkeyword>tapecycle</amkeyword>
441 equal to the number of tapes per <amkeyword>dumpcycle</amkeyword>.  In this
442 misconfiguration, amanda may erase a full dump before a new one is
443 completed.  Recovery is then impossible. The
444 <amkeyword>tapecycle</amkeyword> must be at least one tape larger than the
445 number of tapes per dumpcycle.</para>
446
447 <para>
448 The number of tapes per dumpcycle is calculated by multiplying the number of
449 &amdump; runs per dump cycle <amkeyword>runspercycle</amkeyword> (the
450 number of &amdump; runs per dump cycle) and <emphasis
451 remap='B'>runtapes</emphasis> (the number of tapes used per run). Typically
452 <amkeyword>tapecycle</amkeyword> is set to two or four times the tapes
453 per dumpcycle.</para>
454
455   </listitem>
456   </varlistentry>
457
458   <varlistentry>
459   <term><amkeyword>usetimestamps</amkeyword>
460         <amtype>bool</amtype></term>
461     <listitem>
462       <para>Default: <amkeyword>Yes</amkeyword>.
463 This option allows Amanda to track multiple runs per calendar
464 day. The only reason one might disable it is that Amanda versions before 2.5.1
465 can't read logfiles written when this option was enabled.
466       </para>
467     </listitem>
468   </varlistentry>
469
470   <varlistentry>
471   <term><amkeyword>label-new-tapes</amkeyword>
472         <amtype>string</amtype></term>
473 <listitem>
474     <para>Deprecated, use <amkeyword>autolabel</amkeyword> option with options <amkeyword>volume-error empty</amkeyword> to get equivalent behavior.</para>
475     <para>Default: not set.
476 When set, this directive will cause Amanda to automatically write an Amanda
477 tape label to any blank tape she encounters.</para>
478 </listitem>
479 </varlistentry>
480
481   <varlistentry>
482   <term><amkeyword>autolabel</amkeyword>
483         <amtype>string</amtype>
484         [<amkeyword>any</amkeyword>]
485         [<amkeyword>other-config</amkeyword>]
486         [<amkeyword>non-amanda</amkeyword>]
487         [<amkeyword>volume-error</amkeyword>]
488         [<amkeyword>empty</amkeyword>]</term>
489 <listitem>
490     <para>Default: not set.
491 When set, this directive will cause Amanda to automatically write an Amanda
492 tape label to most volume she encounters. This option is DANGEROUS
493 because when set, Amanda may erase near-failing tapes or tapes accidentally
494 loaded in the wrong slot.</para>
495 <para>When using this directive, specify the template for new tape
496 labels. The template can contains many variables that are substituted by their
497 values:
498 <programlisting>
499     $c : config name
500     $o : org configuration
501     $b : barcode of the volume
502     $s : slot number, can specify a minimun number of digit:
503          $3s to get '001'
504     $m : meta label
505 </programlisting></para>
506 <para>The template can contain some number of contiguous '%'
507 characters, which will be replaced with a generated number. Be sure to
508 specify enough '%' characters that you do not run out of tape labels.
509 Example:
510 <markup>&quot;DailySet1-%%%&quot;</markup>,
511 <markup>&quot;$c-%%%&quot;</markup>,
512 <markup>&quot;$m-%%%&quot;</markup>,
513 <markup>&quot;$m-$b&quot;</markup>
514 </para>
515 <para>The generared label can be used only if it match the
516 <amkeyword>labelstr</amkeyword> setting. The volume will not be used if the
517 generated label doesn't match the <amkeyword>labelstr</amkeyword> setting.
518 </para>
519 <para>Note that many devices cannot distinguish an empty tape from an error
520 condition, so it may is often necessary to include
521 <amkeyword>volume-error</amkeyword> as an autolabel condition.</para>
522 <variablelist remap='TP'>
523 <varlistentry>
524 <term><amkeyword>any</amkeyword></term>
525 <listitem>equivalent to '<amkeyword>other-config non-amanda volume-error empty</amkeyword>'
526 </listitem>
527 </varlistentry>
528 <varlistentry>
529 <term><amkeyword>other-config</amkeyword></term>
530 <listitem>Label volumes with a valid Amanda label that do not match our
531 <amkeyword>labelstr</amkeyword>. Danger: this may erase volumes
532 from other Amanda configurations without warning!
533 </listitem>
534 </varlistentry>
535 <varlistentry>
536 <term><amkeyword>non-amanda</amkeyword></term>
537 <listitem>Label volumes which do not start with data that resembles an
538 Amanda header. Danger: this may erase volumes from other backup applications
539 without warning!
540 </listitem>
541 </varlistentry>
542 <varlistentry>
543 <term><amkeyword>volume-error</amkeyword></term>
544 <listitem>Label volumes where an error occurs while trying to read the label.
545 Danger: this may erase arbitrary volumes due to transient errors.
546 </listitem>
547 </varlistentry>
548 <varlistentry>
549 <term><amkeyword>empty</amkeyword></term>
550 <listitem>Label volumes where a read returns 0 bytes.
551 </listitem>
552 </varlistentry>
553 </variablelist>
554 </listitem>
555 </varlistentry>
556
557   <varlistentry>
558   <term><amkeyword>meta-autolabel</amkeyword>
559         <amtype>string</amtype></term>
560   <listitem>
561 <para>Default: not set. When set and if the changer support meta-label, this directive will cause Amanda to automatically add a meta-label to a meta-volume.</para>
562 <para>A meta-volume is a containers that contains many volumes, eg. a removable
563 hard-disk for use with chg-disk, each hard disk have many slots (volume).
564 The meta-label is the label to put on the meta-volume.</para>
565 <para>When using this directive, specify the template for new meta
566 labels. The template can contains many variables that are substituted by their
567 values:
568 <programlisting>
569     $c : config name
570     $o : org configuration
571 </programlisting></para>
572 <para>The template should contain some number of contiguous '%'
573 characters, which will be replaced with a generated number. Be sure to
574 specify enough '%' characters that you do not run out of meta labels.
575 Example:
576 <markup>&quot;DailySet1-%%%&quot;</markup>,
577 <markup>&quot;$o-%%%&quot;</markup>,
578 </para>
579   </listitem>
580   </varlistentry>
581
582   <varlistentry>
583   <term><amkeyword>dumpuser</amkeyword> <amtype>string</amtype></term>
584   <listitem>
585 <para>Default:
586 <amdefault>&quot;amanda&quot;</amdefault>.
587 The login name Amanda uses to run the backups.
588 The backup client hosts must allow access
589 from the tape server host as this user via
590 <markup>.rhosts</markup>
591 or
592 <markup>.amandahosts</markup>,
593 depending on how the Amanda software was built.</para>
594   </listitem>
595   </varlistentry>
596   <varlistentry>
597   <term><amkeyword>printer</amkeyword> <amtype>string</amtype></term>
598   <listitem>
599 <para>Printer to use when doing tape labels.
600 See the
601 <amkeyword>lbl-templ</amkeyword>
602 <amkeyword>tapetype</amkeyword>
603 option.</para>
604   </listitem>
605   </varlistentry>
606
607   <varlistentry>
608   <term><amkeyword>tapedev</amkeyword> <amtype>string</amtype></term>
609   <listitem>
610 <para>Default:
611 <amdefault>&quot;null:&quot;</amdefault>.
612 This parameter can either specify a device (explicitly or by referencing a device definition - see <manref name="amanda-devices" vol="7" />)
613 or a tape changer (explicitly or by referencing a device definition - see <manref name="amanda-changers" vol="7" />).</para>
614
615   </listitem>
616   </varlistentry>
617
618   <varlistentry>
619   <term><amkeyword>device-property</amkeyword> <amtype>string</amtype> <amtype>string</amtype></term>
620   <listitem>
621 <para>These options can set various device properties.  See
622 <manref name="amanda-devices" vol="7"/>
623 for more information on device properties and their syntax.
624 Both strings are always quoted; the first string contains the name of
625 the property to set, and the second contains its value. For example, to set
626 a fixed block size of 128k, write:</para>
627 <programlisting>
628 device-property "BLOCK_SIZE" "128k"
629 </programlisting>
630
631   </listitem>
632   </varlistentry>
633
634   <varlistentry>
635   <term><amkeyword>property</amkeyword> [<amkeyword>append</amkeyword>] <amtype>string</amtype> <amtype>string</amtype>+</term>
636   <listitem>
637 <para>These options can set various properties, they can be used by third
638  party software to store information in the configuration file.
639 Both strings are quoted; the first string contains the name of
640 the property to set, and the others contains its values.
641 <amkeyword>append</amkeyword> keyword append the values to the list of values for that property.
642 </para>
643   </listitem>
644   </varlistentry>
645
646   <varlistentry>
647   <term><amkeyword>tpchanger</amkeyword> <amtype>string</amtype></term>
648   <listitem>
649 <para>Default: not set.  The tape changer to use.  In most cases, only one of
650 <amkeyword>tpchanger</amkeyword> or <amkeyword>tapedev</amkeyword> is
651 specified, although for backward compatibility both may be specified if
652 <amkeyword>tpchanger</amkeyword> gives the name of an old changer script.
653 See <manref name="amanda-changers" vol="7" /> for more information on
654 configuring changers.</para>
655   </listitem>
656   </varlistentry>
657
658   <varlistentry>
659   <term><amkeyword>interactivity</amkeyword> <amtype>string</amtype></term>
660   <listitem>
661 <para>Default: not set.  The interactivity module Amanda should use to interact with
662 the user.  See <manref name="amanda-interactivity" vol="7" /> for a list of
663 modules.</para>
664   </listitem>
665   </varlistentry>
666
667   <varlistentry>
668   <term><amkeyword>taperscan</amkeyword> <amtype>string</amtype></term>
669   <listitem>
670 <para>Default: traditional.  The taperscan module amanda should use to find a tape
671 to write to. See <manref name="amanda-taperscan" vol="7" /> for a list of
672 modules.</para>
673   </listitem>
674   </varlistentry>
675
676   <varlistentry>
677   <term><amkeyword>changerdev</amkeyword> <amtype>string</amtype></term>
678   <listitem>
679 <para>Default:
680 <amdefault>&quot;dev/null&quot;</amdefault>.
681 A tape changer configuration parameter.
682 Usage depends on the particular changer defined with the
683 <amkeyword>tpchanger</amkeyword>
684 option.</para>
685   </listitem>
686   </varlistentry>
687   <varlistentry>
688   <term><amkeyword>changerfile</amkeyword> <amtype>string</amtype></term>
689   <listitem>
690 <para>Default:
691 <amdefault>&quot;/usr/adm/amanda/log/changer-status&quot;</amdefault>.
692 A tape changer configuration parameter.
693 Usage depends on the particular changer defined with the
694 <amkeyword>tpchanger</amkeyword>
695 option.</para>
696   </listitem>
697   </varlistentry>
698   <varlistentry>
699   <term><amkeyword>runtapes</amkeyword> <amtype>int</amtype></term>
700   <listitem>
701 <para>Default:
702 <amdefault>1</amdefault>.
703 The maximum number of tapes used in a single run.
704 If a tape changer is not configured, this option is not used
705 and should be commented out of the configuration file.</para>
706 <para>If a tape changer is configured, this may be set larger than one to
707 let Amanda write to more than one tape.</para>
708 <para>Note that this is an upper bound on the number of tapes,
709 and Amanda may use less.</para>
710   </listitem>
711   </varlistentry>
712
713   <varlistentry>
714   <term><amkeyword>maxdumpsize</amkeyword> <amtype>int</amtype></term>
715   <listitem>
716 <para>Default:
717 <amdefault><amkeyword>runtapes</amkeyword>*<amkeyword>tape-length</amkeyword></amdefault>.
718 Maximum number of bytes the planner will schedule for a run.</para>
719 <para>The default unit is Kbytes if it is not specified.</para>
720   </listitem>
721   </varlistentry>
722   <varlistentry>
723   <term><amkeyword>taperalgo</amkeyword> [ <amkeyword>first</amkeyword> | <amkeyword>firstfit</amkeyword> | <amkeyword>largest</amkeyword> | <amkeyword>largestfit</amkeyword> | <amkeyword>smallest</amkeyword> | <amkeyword>last</amkeyword> ]</term>
724   <listitem>
725 <para>Default:
726 <amkeyword>first</amkeyword>.
727 The algorithm used to choose which dump image to send to the taper.</para>
728   <!-- .RS -->
729     <variablelist remap='TP'>
730       <varlistentry>
731       <term><amkeyword>first</amkeyword></term>
732       <listitem>
733 <para>First in, first out.</para>
734       </listitem>
735       </varlistentry>
736       <varlistentry>
737       <term><amkeyword>firstfit</amkeyword></term>
738       <listitem>
739 <para>The first dump image that will fit on the current tape.</para>
740       </listitem>
741       </varlistentry>
742       <varlistentry>
743       <term><amkeyword>largest</amkeyword></term>
744       <listitem>
745 <para>The largest dump image.</para>
746       </listitem>
747       </varlistentry>
748       <varlistentry>
749       <term><amkeyword>largestfit</amkeyword></term>
750       <listitem>
751 <para>The largest dump image that will fit on the current tape.</para>
752       </listitem>
753       </varlistentry>
754       <varlistentry>
755       <term><amkeyword>smallest</amkeyword></term>
756       <listitem>
757 <para>The smallest dump image.</para>
758       </listitem>
759       </varlistentry>
760       <varlistentry>
761       <term><amkeyword>last</amkeyword></term>
762       <listitem>
763 <para>Last in, first out.</para>
764       </listitem>
765       </varlistentry>
766     </variablelist>
767   
768   </listitem>
769   </varlistentry>
770 <varlistentry>
771   <term><amkeyword>taper-parallel-write</amkeyword> <amtype>int</amtype></term>
772   <listitem>
773     <para>Default: <amdefault>1</amdefault>.
774 Amanda can write simultaneously up to that number of volume at any given
775 time. The changer must have as many drives.</para>
776   </listitem>
777 </varlistentry>
778
779 <varlistentry>
780   <term><amkeyword>eject-volume</amkeyword> <amtype>int</amtype></term>
781   <listitem>
782     <para>Default: <amdefault>no</amdefault>.
783 Set to <amkeyword>yes</amkeyword> if you want the volume to be ejected
784 after Amanda wrote data to it. It works only with some changer and device.</para>
785   </listitem>
786 </varlistentry>
787
788 <varlistentry>
789 <term><amkeyword>labelstr</amkeyword> <amtype>string</amtype></term>
790 <listitem>
791 <para>Default:
792 <amdefault>&quot;.*&quot;</amdefault>.
793 The tape label constraint regular expression.
794 All tape labels generated (see
795 <manref name="amlabel" vol="8"/>)
796 and used by this configuration must match the regular expression.
797 If multiple configurations are run from the same tape server host,
798 it is helpful to set their labels to different strings
799 (for example, &quot;DAILY[0-9][0-9]*&quot; vs.
800 &quot;ARCHIVE[0-9][0-9]*&quot;)
801 to avoid overwriting each other's tapes.</para>
802 </listitem>
803 </varlistentry>
804   <varlistentry>
805   <term><amkeyword>tapetype</amkeyword> <amtype>string</amtype></term>
806   <listitem>
807 <para>Default:
808 <amdefault>no default</amdefault>.
809 The type of tape drive associated with
810 <amkeyword>tapedev</amkeyword>
811 or
812 <amkeyword>tpchanger</amkeyword>.
813 This refers to one of the defined <amkeyword>tapetype</amkeyword>s
814 in the config file (see below), which specify various tape parameters,
815 like the
816 <amkeyword>length</amkeyword>,
817 <amkeyword>filemark</amkeyword>
818 size, and
819 <amkeyword>speed</amkeyword>
820 of the tape media and device.</para>
821   </listitem>
822   </varlistentry>
823   <varlistentry>
824   <term><amkeyword>ctimeout</amkeyword> <amtype>int</amtype></term>
825   <listitem>
826 <para>Default:
827 <amdefault>30 seconds</amdefault>.
828 Maximum amount of time that
829 <emphasis remap='B'>amcheck</emphasis>
830 will wait for each client host.</para>
831   </listitem>
832   </varlistentry>
833   <varlistentry>
834   <term><amkeyword>dtimeout</amkeyword> <amtype>int</amtype></term>
835   <listitem>
836 <para>Default:
837 <amdefault>1800 seconds</amdefault>.
838 Amount of idle time per disk on a given client that a
839 <emphasis remap='B'>dumper</emphasis>
840 running from within
841 <command>amdump</command>
842 will wait before it fails with a data timeout error.</para>
843   </listitem>
844   </varlistentry>
845
846   <varlistentry>
847   <term><amkeyword>etimeout</amkeyword> <amtype>int</amtype></term>
848   <listitem>
849 <para>Default:
850 <amdefault>300 seconds</amdefault>.
851 Amount of time per estimate on a given client that the
852 <emphasis remap='B'>planner</emphasis> step of
853 <command>amdump</command> will wait to get the dump size estimates
854 (note: Amanda runs up to 3 estimates for each DLE).  For instance,
855 with the default of 300 seconds and four DLE's, each estimating level
856 0 and level 1 on client A, <emphasis remap='B'>planner</emphasis>
857 will wait up to 40 minutes for that machine.  A negative value will
858 be interpreted as a total amount of time to wait
859 per client instead of per disk.</para>
860   </listitem>
861   </varlistentry>
862
863   <varlistentry>
864   <term><amkeyword>connect-tries</amkeyword> <amtype>int</amtype></term>
865   <listitem>
866 <para>Default:
867 <amdefault>3</amdefault>.
868 How many times the server will try a connection.</para>
869   </listitem>
870   </varlistentry>
871
872   <varlistentry>
873   <term><amkeyword>req-tries</amkeyword> <amtype>int</amtype></term>
874   <listitem>
875 <para>Default:
876 <amdefault>3</amdefault>.
877 How many times the server will resend a REQ packet if it doesn't get the ACK packet.</para>
878   </listitem>
879   </varlistentry>
880
881   <varlistentry>
882   <term><amkeyword>netusage</amkeyword> <amtype>int</amtype></term>
883   <listitem>
884 <para>Default:
885 <amdefault>80000 Kbps</amdefault>.
886 The maximum network bandwidth allocated to Amanda, in Kbytes per second.
887 See also the
888 <emphasis remap='B'>interface</emphasis>
889 section.</para>
890   </listitem>
891   </varlistentry>
892   <varlistentry>
893   <term><amkeyword>inparallel</amkeyword> <amtype>int</amtype></term>
894   <listitem>
895 <para>Default:
896 <amdefault>10</amdefault>.
897 The maximum number of backups that Amanda will attempt to run in parallel.
898 Amanda will stay within the constraints of network bandwidth and
899 holding disk space available, so it doesn't hurt to set
900 this number a bit high. Some contention can occur with larger numbers
901 of backups, but this effect is relatively small on most systems.</para>
902   </listitem>
903   </varlistentry>
904
905   <varlistentry>
906   <term><amkeyword>displayunit</amkeyword> &quot;k|m|g|t&quot;</term>
907   <listitem>
908 <para>Default:
909 <amdefault>&quot;k&quot;</amdefault>.
910 The unit used to print many numbers, k=kilo, m=mega, g=giga, t=tera.
911 </para>
912   </listitem>
913   </varlistentry>
914   
915   <varlistentry>
916   <term><amkeyword>dumporder</amkeyword> <amtype>string</amtype></term>
917   <listitem>
918 <para>Default:
919 <amdefault>&quot;tttTTTTTTT&quot;</amdefault>.
920 The priority order of each dumper:
921
922 <programlisting>
923 s: smallest size
924 S: largest size
925 t: smallest time
926 T: largest time
927 b: smallest bandwidth
928 B: largest bandwidth
929 </programlisting></para>
930
931   </listitem>
932   </varlistentry>
933
934   <varlistentry>
935   <term><amkeyword>maxdumps</amkeyword> <amtype>int</amtype></term>
936   <listitem>
937 <para>Default:
938 <amdefault>1</amdefault>.
939 The maximum number of backups from a single host that Amanda will
940 attempt to run in parallel. See also the
941 <emphasis remap='B'>inparallel</emphasis>
942 option.</para>
943
944 <para>Note that this parameter may also be set in a specific
945 <amkeyword>dumptype</amkeyword>
946 (see below).
947 This value sets the default for all
948 <amkeyword>dumptype</amkeyword>s
949 so must appear in
950 <emphasis remap='B'>amanda.conf</emphasis>
951 before any
952 <amkeyword>dumptype</amkeyword>s
953 are defined.</para>
954   </listitem>
955   </varlistentry>
956
957   <varlistentry>
958   <term><amkeyword>bumpsize</amkeyword> <amtype>int</amtype></term>
959   <listitem>
960 <para>Default:
961 <amdefault>10 Mbytes</amdefault>.
962 The minimum savings required to trigger an automatic
963 bump from one incremental level to the next, expressed as size.
964 If Amanda determines that the next higher backup level
965 will be this much smaller than the current level,
966 it will do the next level.
967 The value of this parameter is used only if the parameter 
968 <emphasis>bumppercent</emphasis> is set to 0.
969 </para>
970 <para>The default unit is Kbytes if it is not specified.</para>
971 <para>
972 The global setting of this parameter can be overwritten inside of a  
973 dumptype-definition.  
974 </para>
975 <para>
976 See also the options 
977 <amkeyword>bumppercent</amkeyword>,
978 <amkeyword>bumpmult</amkeyword> and
979 <amkeyword>bumpdays</amkeyword>.</para>
980   </listitem>
981   </varlistentry>
982
983   <varlistentry>
984   <term><amkeyword>bumppercent</amkeyword> <amtype>int</amtype></term>
985   <listitem>
986 <para>Default:
987 <amdefault>0</amdefault>.
988 The minimum savings required to trigger an automatic
989 bump from one incremental level to the next, expressed as percentage of the
990 current size of the DLE (size of current level 0).
991 If Amanda determines that the next higher backup level
992 will be this much smaller than the current level,
993 it will do the next level.
994 </para>
995 <para>
996 If this parameter is set to 0, the value of the
997 parameter <emphasis>bumpsize</emphasis> is used to trigger bumping.
998 </para>
999 <para>
1000 The global setting of this parameter can be overwritten inside of a  
1001 dumptype-definition.  
1002 </para>
1003 <para>
1004 See also the options 
1005 <amkeyword>bumpsize</amkeyword>,
1006 <amkeyword>bumpmult</amkeyword> and
1007 <amkeyword>bumpdays</amkeyword>.</para>
1008   </listitem>
1009   </varlistentry>
1010
1011   <varlistentry>
1012   <term><amkeyword>bumpmult</amkeyword> <amtype>float</amtype></term>
1013   <listitem>
1014 <para>Default:
1015 <amdefault>1.5</amdefault>.
1016 The bump size multiplier.
1017 Amanda multiplies
1018 <amkeyword>bumpsize</amkeyword>
1019 by this factor for each level.
1020 This prevents active filesystems from
1021 bumping too much by making it harder to bump to the next level.
1022 For example, with the default
1023 <amkeyword>bumpsize</amkeyword>
1024 and
1025 <amkeyword>bumpmult</amkeyword>
1026 set to 2.0, the bump threshold will be 10 Mbytes for level one, 20
1027 Mbytes for level two, 40 Mbytes for level three, and so on.</para>
1028 <para>
1029 The global setting of this parameter can be overwritten inside of a  
1030 dumptype-definition.  
1031 </para>
1032   </listitem>
1033   </varlistentry>
1034   <varlistentry>
1035   <term><amkeyword>bumpdays</amkeyword> <amtype>int</amtype></term>
1036   <listitem>
1037 <para>Default:
1038 <amdefault>2 days</amdefault>.
1039 To insure redundancy in the dumps, Amanda keeps filesystems at the
1040 same incremental level for at least
1041 <amkeyword>bumpdays</amkeyword>
1042 days, even if the other bump threshold criteria are met.</para>
1043 <para>
1044 The global setting of this parameter can be overwritten inside of a  
1045 dumptype-definition.  
1046 </para>
1047   </listitem>
1048   </varlistentry>
1049   
1050   <varlistentry>
1051   <term><amkeyword>diskfile</amkeyword> <amtype>string</amtype></term>
1052   <listitem>
1053 <para>Default:
1054 <amdefault>&quot;disklist&quot;</amdefault>.
1055 The file name for the
1056 <emphasis remap='I'>disklist</emphasis>
1057 file holding client hosts, disks and other client dumping information.</para>
1058   </listitem>
1059   </varlistentry>
1060   <varlistentry>
1061   <term><amkeyword>infofile</amkeyword> <amtype>string</amtype></term>
1062   <listitem>
1063 <para>Default:
1064 <amdefault>&quot;/usr/adm/amanda/curinfo&quot;</amdefault>.
1065 The file or directory name for the historical information database.
1066 If Amanda was configured to use DBM databases, this is the base file
1067 name for them.
1068 If it was configured to use text formated databases (the default),
1069 this is the base directory and within here will be a directory per
1070 client, then a directory per disk, then a text file of data.</para>
1071   </listitem>
1072   </varlistentry>
1073   <varlistentry>
1074   <term><amkeyword>logdir</amkeyword> <amtype>string</amtype></term>
1075   <listitem>
1076 <para>Default:
1077 <amdefault>&quot;/usr/adm/amanda&quot;</amdefault>.
1078 The directory for the
1079 <command>amdump</command>
1080 and
1081 <emphasis remap='B'>log</emphasis>
1082 files.</para>
1083   </listitem>
1084   </varlistentry>
1085   <varlistentry>
1086   <term><amkeyword>indexdir</amkeyword> <amtype>string</amtype></term>
1087   <listitem>
1088 <para>Default
1089 <amdefault>&quot;/usr/adm/amanda/index&quot;</amdefault>.
1090 The directory where index files (backup image catalogues) are stored.
1091 Index files are
1092 only generated for filesystems whose
1093 <amkeyword>dumptype</amkeyword>
1094 has the
1095 <amkeyword>index</amkeyword>
1096 option enabled.</para>
1097   </listitem>
1098   </varlistentry>
1099   <varlistentry>
1100   <term><amkeyword>tapelist</amkeyword> <amtype>string</amtype></term>
1101   <listitem>
1102 <para>Default:
1103 <amdefault>&quot;tapelist&quot;</amdefault>.
1104 The file name for the active &tapelist;.
1105 Amanda maintains this file with information about the active set of tapes.</para>
1106   </listitem>
1107   </varlistentry>
1108   <varlistentry>
1109   <term><amkeyword>device-output-buffer-size</amkeyword> <amtype>int</amtype></term>
1110   <listitem>
1111 <para>Default:
1112 <amdefault>1280k</amdefault>.
1113 Controls the amount of memory used by Amanda
1114 to hold data as it is read from the network or disk before it is written to
1115 the output device. Higher values may be
1116 useful on fast tape drives and optical media.</para>
1117 <para>The default unit is bytes if it is not specified.</para>
1118   </listitem>
1119   </varlistentry>
1120   <varlistentry>
1121   <term><amkeyword>tapebufs</amkeyword> <amtype>int</amtype></term>
1122   <listitem>
1123 <para>Default:
1124 <amdefault>20</amdefault>.
1125 This option is deprecated; use
1126 the <amkeyword>device-output-buffer-size</amkeyword> directive
1127 instead. <amkeyword>tapebufs</amkeyword> works the same way,
1128 but the number specified is multiplied by the device blocksize prior
1129 to use.</para>
1130   </listitem>
1131   </varlistentry>
1132   <varlistentry>
1133   <term><amkeyword>reserve</amkeyword> <amtype>int</amtype></term>
1134   <listitem>
1135 <para>Default:
1136 <amdefault>100</amdefault>.
1137 The part of holding-disk space that should be reserved for incremental
1138 backups if no tape is available, expressed as a percentage of the 
1139 available holding-disk space (0-100).
1140 By default, when there is no tape to write to, degraded mode (incremental) backups 
1141 will be performed to the holding disk. If full backups should also be allowed in this case,
1142 the amount of holding disk space reserved for incrementals should be lowered.</para>
1143   </listitem>
1144   </varlistentry>
1145   <varlistentry>
1146   <term><amkeyword>autoflush</amkeyword> <amkeyword>no</amkeyword>|<amkeyword>yes</amkeyword>|<amkeyword>all</amkeyword></term>
1147   <listitem>
1148 <para>Default:
1149 <amkeyword>no</amkeyword>.
1150 Whether an amdump run will flush the dumps from holding disk to tape.
1151 With <amkeyword>yes</amkeyword>, only dump matching the command line argument are flushed.
1152 With <amkeyword>all</amkeyword>, all dump are flushed.</para>
1153   </listitem>
1154   </varlistentry>
1155   <varlistentry>
1156   <term><amkeyword>amrecover-do-fsf</amkeyword> <amtype>bool</amtype></term>
1157   <listitem>
1158 <para>Deprecated; amrecover always uses fsf, and does not invoke amrestore.</para>
1159 <para>Default:
1160 <amkeyword>on</amkeyword>.
1161 Amrecover will call amrestore with the -f flag for faster positioning of the tape.</para>
1162   </listitem>
1163   </varlistentry>
1164   <varlistentry>
1165   <term><amkeyword>amrecover-check-label</amkeyword> <amtype>bool</amtype></term>
1166   <listitem>
1167 <para>Deprecated; amrecover always checks the label, and does not invoke amrestore.</para>
1168 <para>Default:
1169 <amkeyword>on</amkeyword>.
1170 Amrecover will call amrestore with the -l flag to check the label.</para>
1171   </listitem>
1172   </varlistentry>
1173   <varlistentry>
1174   <term><amkeyword>amrecover-changer</amkeyword> <amtype>string</amtype></term>
1175   <listitem>
1176 <para>Default: not set.
1177 Amrecover will use the changer if you use 'settape &lt;string&gt;' and that string
1178 is the same as the <amkeyword>amrecover-changer</amkeyword> setting.</para>
1179   </listitem>
1180   </varlistentry>
1181   <varlistentry>
1182   <term><amkeyword>columnspec</amkeyword> <amtype>string</amtype></term>
1183   <listitem>
1184 <para> default: "HostName=0:-12:12,Disk=1:-11:11,Level=1:-1:1,OrigKB=1:-7:0,OutKB=1:-7:0,Compress=1:-6:1,DumpTime=1:-7:7,Dumprate=1:-6:1,TapeTime=1:-6:6,TapeRate=1:-6:1"</para>
1185 <para>Defines the width of columns <emphasis remap='B'>amreport</emphasis>
1186 should use.
1187 <emphasis remap='I'>String</emphasis>
1188 is a comma (',') separated list of triples. Each triple consists
1189 of three parts which are separated by a equal sign ('=') and a colon (':') (see the example).
1190 These four parts specify:
1191
1192   <orderedlist>
1193   <listitem>
1194       <para>the name of the column, which may be:
1195
1196 <programlisting>
1197         Compress (compression ratio)
1198         Disk (client disk name)
1199         DumpRate (dump rate in KBytes/sec)
1200         DumpTime (total dump time in hours:minutes)
1201         HostName (client host name)
1202         Level (dump level)
1203         OrigKB (original image size in KBytes)
1204         OutKB (output image size in KBytes)
1205         TapeRate (tape writing rate in KBytes/sec)
1206         TapeTime (total tape time in hours:minutes)
1207 </programlisting></para>
1208
1209   </listitem>
1210
1211   <listitem>
1212 <para>the amount of space to display before the column (used to get whitespace between columns).</para>
1213   </listitem>
1214   <listitem>
1215 <para>the width of the column itself.
1216 If set to a negative value, the width will be calculated on demand to fit the largest entry in
1217 this column.</para>
1218   </listitem>
1219   <listitem>
1220 <para>the precision of the column, number of digit after the decimal point for number.</para>
1221   </listitem>
1222   </orderedlist></para>
1223
1224 <para>Here is an example:
1225 <programlisting>
1226 columnspec &quot;Disk=1:18,HostName=0:10,OrigKB=::2,OutKB=1:7&quot;
1227 </programlisting></para>
1228 <para>
1229 The above will display the disk information in 18 characters
1230 and put one space before it. The hostname column will be 10 characters wide with
1231 no space to the left. The Original KBytes print 2 decimal digit. The output KBytes column is seven characters wide
1232 with one space before it.</para>
1233   </listitem>
1234   </varlistentry>
1235
1236   <varlistentry>
1237   <term><amkeyword>includefile</amkeyword> <amtype>string</amtype></term>
1238   <listitem>
1239 <para>Default:
1240 <amdefault>no default</amdefault>.
1241 The name of an Amanda configuration file to include within the current file.
1242 Useful for sharing dumptypes, tapetypes and interface definitions among several configurations.
1243 Relative pathnames are relative to the configuration directory.
1244 </para>
1245   </listitem>
1246   </varlistentry>
1247
1248   <varlistentry>
1249   <term><amkeyword>debug-days</amkeyword> <amtype>int</amtype></term>
1250   <listitem>
1251 <para>Default:
1252 <amdefault>3</amdefault>.
1253 The number of days the debug files are kept.</para>
1254   </listitem>
1255   </varlistentry>
1256
1257   <varlistentry>
1258   <term><amkeyword>debug-auth</amkeyword> <amtype>int</amtype></term>
1259   <listitem>
1260 <para>Default:
1261 <amdefault>0</amdefault>.
1262 Debug level of the auth module</para>
1263   </listitem>
1264   </varlistentry>
1265
1266   <varlistentry>
1267   <term><amkeyword>debug-event</amkeyword> <amtype>int</amtype></term>
1268   <listitem>
1269 <para>Default:
1270 <amdefault>0</amdefault>.
1271 Debug level of the event module</para>
1272   </listitem>
1273   </varlistentry>
1274
1275   <varlistentry>
1276   <term><amkeyword>debug-holding</amkeyword> <amtype>int</amtype></term>
1277   <listitem>
1278 <para>Default:
1279 <amdefault>0</amdefault>.
1280 Debug level of the holdingdisk module</para>
1281   </listitem>
1282   </varlistentry>
1283
1284   <varlistentry>
1285   <term><amkeyword>debug-protocol</amkeyword> <amtype>int</amtype></term>
1286   <listitem>
1287 <para>Default:
1288 <amdefault>0</amdefault>.
1289 Debug level of the protocol module</para>
1290   </listitem>
1291   </varlistentry>
1292
1293   <varlistentry>
1294   <term><amkeyword>debug-planner</amkeyword> <amtype>int</amtype></term>
1295   <listitem>
1296 <para>Default:
1297 <amdefault>0</amdefault>.
1298 Debug level of the planner process</para>
1299   </listitem>
1300   </varlistentry>
1301
1302   <varlistentry>
1303   <term><amkeyword>debug-driver</amkeyword> <amtype>int</amtype></term>
1304   <listitem>
1305 <para>Default:
1306 <amdefault>0</amdefault>.
1307 Debug level of the driver process</para>
1308   </listitem>
1309   </varlistentry>
1310
1311   <varlistentry>
1312   <term><amkeyword>debug-dumper</amkeyword> <amtype>int</amtype></term>
1313   <listitem>
1314 <para>Default:
1315 <amdefault>0</amdefault>.
1316 Debug level of the dumper process</para>
1317   </listitem>
1318   </varlistentry>
1319
1320   <varlistentry>
1321   <term><amkeyword>debug-chunker</amkeyword> <amtype>int</amtype></term>
1322   <listitem>
1323 <para>Default:
1324 <amdefault>0</amdefault>.
1325 Debug level of the chunker process</para>
1326   </listitem>
1327   </varlistentry>
1328
1329   <varlistentry>
1330   <term><amkeyword>debug-taper</amkeyword> <amtype>int</amtype></term>
1331   <listitem>
1332 <para>Default:
1333 <amdefault>0</amdefault>.
1334 Debug level of the taper process</para>
1335   </listitem>
1336   </varlistentry>
1337
1338   <varlistentry>
1339   <term><amkeyword>debug-recovery</amkeyword> <amtype>int</amtype></term>
1340   <listitem>
1341 <para>Default:
1342 <amdefault>1</amdefault>.
1343 Debug level of all recovery process</para>
1344   </listitem>
1345   </varlistentry>
1346
1347   <varlistentry>
1348   <term><amkeyword>flush-threshold-dumped</amkeyword> <amtype>int</amtype></term>
1349   <listitem>
1350 <para>Default: <amdefault>0</amdefault>.
1351   Amanda will not begin writing data to a new volume until the amount of
1352   data on the holding disk is at least this percentage of the volume
1353   size. In other words, Amanda will not begin until the
1354   amount of data on the holding disk is greater than the tape
1355   length times this parameter.
1356   This parameter may be larger than 100%, for example to keep
1357   more recent dumps on the holding disk for faster recovery.</para>
1358 <para> Needless to say, your holding disk must be big enough
1359   that this criterion could be satisfied. If the holding disk cannot
1360   be used for a particular dump (because, for example, there is no
1361   remaining holding space) then Amanda will disregard the constraint
1362   specified by this setting and start a new volume anyway. Once
1363   writing to a volume has begun, this constraint is not applied unless
1364   and until a new volume is needed.</para>
1365 <para> The value of this parameter may not exceed than that of
1366   the <amkeyword>flush-threshold-scheduled</amkeyword>
1367   parameter.</para>
1368   </listitem>
1369   </varlistentry>
1370
1371   <varlistentry>
1372   <term><amkeyword>flush-threshold-scheduled</amkeyword> <amtype>int</amtype></term>
1373   <listitem>
1374 <para>Default: <amdefault>0</amdefault>.
1375   Amanda will not begin writing data to a new volume until the sum of the
1376   amount of data on the holding disk and the estimated amount of data
1377   remaining to be dumped during this run is at least this percentage
1378   of the volume size. In other words, Amanda will not begin until the
1379   inequality <inlineequation><mathphrase>h + s &gt; t &#215;
1380   d</mathphrase></inlineequation> is satisfied,
1381   where <mathphrase>h</mathphrase> is the amount of data on the
1382   holding disk, <mathphrase>s</mathphrase> is the total amount of
1383   data scheduled for this run but not dumped
1384   yet, <mathphrase>t</mathphrase> is the capacity of a volume,
1385   and <mathphrase>d</mathphrase> is this parameter, expressed as a
1386   percentage.  This parameter may be larger than 100%.</para>
1387 <para>  Needless to say, your holding disk must be big enough
1388   that this criterion could be satisfied. If the holding disk cannot
1389   be used for a particular dump (because, for example, there is no
1390   remaining holding space) then Amanda will disregard the constraint
1391   specified by this setting and start a new volume anyway.  Once
1392   writing to a volume has begun, this constraint is not applied unless
1393   and until a new volume is needed.</para>
1394 <para> The value of this parameter may not be less than that of
1395   the <amkeyword>flush-threshold-dumped</amkeyword>
1396   or <amkeyword>taperflush</amkeyword> parameters.</para>
1397   </listitem>
1398   </varlistentry>
1399
1400 <!-- the entity '#215' below is U+00D7 MULTIPLICATION SIGN; the 'times' entity
1401      is not as portable as one might hope. -->
1402   <varlistentry>
1403   <term><amkeyword>taperflush</amkeyword> <amtype>int</amtype></term>
1404   <listitem>
1405 <para>Default: <amdefault>0</amdefault>.
1406   At the end of a run, Amanda will start a new tape to flush remaining
1407   data if there is more data on the holding disk at the end of a run
1408   than this setting allows; the amount is specified as a percentage of
1409   the capacity of a single
1410   volume. In other words, at the end of a run, Amanda will begin
1411   a new tape if the 
1412   inequality <inlineequation><mathphrase>h &gt; t &#215;
1413   f</mathphrase></inlineequation> is satisfied,
1414   where <mathphrase>h</mathphrase> is the amount of data remaining on the
1415   holding disk from this or previous runs, <mathphrase>t</mathphrase>
1416   is the capacity of a volume,
1417   and <mathphrase>f</mathphrase> is this parameter, expressed as a
1418   percentage.  This parameter may be greater than 100%.</para>
1419 <para> The value of this parameter may not exceed that of
1420   the <amkeyword>flush-threshold-scheduled</amkeyword>
1421   parameter.; <amkeyword>autoflush</amkeyword> must be set to 'yes' if
1422  <amkeyword>taperflush</amkeyword> is greater than 0.</para>
1423   </listitem>
1424   </varlistentry>
1425
1426   <varlistentry>
1427   <term><amkeyword>reserved-udp-port</amkeyword> <amtype>int</amtype>,<amtype>int</amtype></term>
1428   <listitem>
1429 <para>Default: --with-udpportrange or 
1430 <amdefault>512,1023</amdefault>.
1431 Reserved udp port that will be used (bsd, bsdudp).
1432 Range is inclusive.</para>
1433   </listitem>
1434   </varlistentry>
1435
1436   <varlistentry>
1437   <term><amkeyword>reserved-tcp-port</amkeyword> <amtype>int</amtype>,<amtype>int</amtype></term>
1438   <listitem>
1439 <para>Default: --with-low-tcpportrange or 
1440 <amdefault>512,1023</amdefault>.
1441 Reserved tcp port that will be used (bsdtcp).
1442 Range is inclusive.</para>
1443   </listitem>
1444   </varlistentry>
1445
1446   <varlistentry>
1447   <term><amkeyword>unreserved-tcp-port</amkeyword> <amtype>int</amtype>,<amtype>int</amtype></term>
1448   <listitem>
1449 <para>Default: --with-tcpportrange or 
1450 <amdefault>1024,65535</amdefault>.
1451 Unreserved tcp port that will be used (bsd, bsdudp).
1452 Range is inclusive.</para>
1453   </listitem>
1454   </varlistentry>
1455
1456   <varlistentry>
1457   <term><amkeyword>recovery-limit</amkeyword> [ <amtype>string</amtype> | <amkeyword>same-host</amkeyword> | <amkeyword>server</amkeyword>]</term>
1458   <listitem>
1459 <para>Default: none (no limitations).  This parameter limits the hosts
1460     that may do recoveries.  Hosts are identified by their authenticated
1461     peer name, as described in <manref name="amanda-auth" vol="7"/>; if this is
1462     not available and the recovery-limit parameter is present, recovery will be
1463     denied.  The arguments to the parameter are strings giving host match
1464     expressions (see <manref name="amanda-match" vol="7"/>) or the special
1465     keywords <amkeyword>same-host</amkeyword> or <amkeyword>server</amkeyword>.
1466     The <amkeyword>same-host</amkeyword> keyword requires an exact
1467     match to the hostname of the DLE being recovered.
1468     The <amkeyword>server</amkeyword> keyword require the connection come from
1469     the fqdn of the server.
1470     Specifying no arguments at all will disable all
1471     recoveries from any host.</para>
1472
1473 <para>Note that match expressions can be constructed to be
1474     forgiving of e.g., fully-qualified vs. unqualified hostnames, but
1475     <amkeyword>same-host</amkeyword> requires an exact match.</para>
1476
1477 <para>The error messages that appear in amrecover are intentionally vague to
1478     avoid information leakage.  Consult the amindexd debug log for more details
1479     on the reasons a recovery was rejected.</para>
1480
1481 <para>Recovery limits can be refined on a per-DLE basis using the dumptype
1482     parameter of the same name.  Note that the default value will apply to any
1483     dumpfiles for disks which no longer appear in the disklist; thus leaving the
1484     global parameter at its default value but setting it for all DLEs is not
1485     sufficient to maintain secure backups.</para>
1486
1487   </listitem>
1488   </varlistentry>
1489
1490   <varlistentry>
1491   <term><amkeyword>tmpdir</amkeyword> <amtype>string</amtype></term>
1492   <listitem>
1493 <para>Default: none (system default).  Set it to a directory with lots of free
1494 space if sort in amindexd fail with 'No space left on device'.</para>
1495   </listitem>
1496   </varlistentry>
1497 </variablelist>
1498 </refsect1>
1499
1500 <refsect1><title>HOLDINGDISK SECTION</title>
1501 <para>The <emphasis remap='B'>amanda.conf</emphasis>
1502 file may define one or more holding disks used as buffers to hold
1503 backup images before they are written to tape.
1504 The syntax is:</para>
1505
1506 <programlisting>
1507 define holdingdisk <emphasis remap='I'>name</emphasis> {
1508     <emphasis remap='I'>holdingdisk-option</emphasis> <emphasis remap='I'>holdingdisk-value</emphasis>
1509     <literal>...</literal>
1510 }
1511 </programlisting>
1512
1513 <para>The { must appear at the end of a line, and the } on its own line.</para>
1514 <para><emphasis remap='I'>Name</emphasis>
1515 is a logical name for this holding disk.</para>
1516
1517 <para>The options and values are:</para>
1518
1519 <variablelist remap='TP'>
1520   <varlistentry>
1521   <term><amkeyword>comment</amkeyword> <amtype>string</amtype></term>
1522   <listitem>
1523 <para>Default: not set.
1524 A comment string describing this holding disk.</para>
1525   </listitem>
1526   </varlistentry>
1527
1528   <varlistentry>
1529   <term><amkeyword>directory</amkeyword> <amtype>string</amtype></term>
1530   <listitem>
1531 <para>Default:
1532 <amdefault>&quot;/dumps/amanda&quot;</amdefault>.
1533 The path to this holding area.</para>
1534   </listitem>
1535   </varlistentry>
1536
1537   <varlistentry>
1538   <term><amkeyword>use</amkeyword> <amtype>int</amtype></term>
1539   <listitem>
1540 <para>Default:
1541 <amdefault>0 Gb</amdefault>.
1542 Amount of space that can be used in this holding disk area.
1543 If the value is zero, all available space on the file system is used.
1544 If the value is negative, Amanda will use all available space minus that value.</para>
1545   </listitem>
1546   </varlistentry>
1547
1548   <varlistentry>
1549   <term><amkeyword>chunksize</amkeyword> <amtype>int</amtype></term>
1550   <listitem>
1551 <para>Default:
1552 <amdefault>1 Gb</amdefault>.
1553 Holding disk chunk size. Dumps larger than the specified size will be stored in multiple
1554 holding disk files. The size of each chunk will not exceed the specified value.
1555 However, even though dump images are split in the holding disk, they are concatenated as 
1556 they are written to tape, so each dump image still corresponds to a single continuous 
1557 tape section.</para>
1558 <para>The default unit is Kbytes if it is not specified.</para>
1559
1560 <para>If 0 is specified, Amanda will create holding disk chunks as large as
1561 ((INT_MAX/1024)-64) Kbytes.</para>
1562
1563 <para>Each holding disk chunk includes a 32 Kbyte header, so the minimum
1564 chunk size is 64 Kbytes (but that would be really silly).</para>
1565
1566 <para>Operating systems that are limited to a maximum file size of 2 Gbytes
1567 actually cannot handle files that large.
1568 They must be at least one byte less than 2 Gbytes.
1569 Since Amanda works with 32 Kbyte blocks, and
1570 to handle the final read at the end of the chunk, the chunk size
1571 should be at least 64 Kbytes (2 * 32 Kbytes) smaller than the maximum
1572 file size, e.g. 2047 Mbytes.</para>
1573   </listitem>
1574   </varlistentry>
1575 </variablelist>
1576 </refsect1>
1577
1578 <refsect1><title>DUMPTYPE SECTION</title>
1579 <para>The &amconf; file may define multiple sets of backup options 
1580 and refer to them by name from the &disklist; file.
1581 For instance, one set of options might be defined for file systems
1582 that can benefit from high compression, another set that does not compress well,
1583 another set for file systems that should always get a full backup and so on.</para>
1584
1585 <para>A set of backup options are entered in a
1586 <amkeyword>dumptype</amkeyword>
1587 section, which looks like this:</para>
1588
1589 <programlisting>
1590 define dumptype "<emphasis remap='I'>name</emphasis>" {
1591     <emphasis remap='I'>dumptype-option</emphasis> <emphasis remap='I'>dumptype-value</emphasis>
1592     <literal>...</literal>
1593 }
1594 </programlisting>
1595
1596 <para>The { must appear at the end of a line, and the } on its own line.</para>
1597 <para><emphasis remap='I'>Name</emphasis>
1598 is the name of this set of backup options.
1599 It is referenced from the &disklist; file.</para>
1600
1601 <para>Some of the options in a
1602 <amkeyword>dumptype</amkeyword>
1603 section are the same as those in the main part of &amconf;.
1604 The main option value is used to set the default for all
1605 <amkeyword>dumptype</amkeyword>
1606 sections. For instance, setting
1607 <amkeyword>dumpcycle</amkeyword>
1608 to 50 in the main part of the config file causes all following
1609 <amkeyword>dumptype</amkeyword>
1610 sections to start with that value,
1611 but the value may be changed on a section by section basis.
1612 Changes to variables in the main part of the config file must be
1613 done before (earlier in the file) any
1614 <amkeyword>dumptype</amkeyword>s
1615 are defined.</para>
1616
1617 <para>The dumptype options and values are:</para>
1618
1619 <variablelist remap='TP'>
1620   <varlistentry>
1621   <term><amkeyword>auth</amkeyword> <amtype>string</amtype></term>
1622   <listitem>
1623 <para>Default:
1624 <amdefault>&quot;bsdtcp&quot;</amdefault>.
1625 Type of authorization to perform between tape server and backup client hosts.  See <manref name="amanda-auth" vol="7"/> for more detail.</para>
1626   </listitem>
1627   </varlistentry>
1628
1629   <varlistentry>
1630   <term><amkeyword>amandad-path</amkeyword> <amtype>string</amtype></term>
1631   <listitem>
1632 <para>Default:
1633 <amdefault>&quot;$libexec/amandad&quot;</amdefault>.
1634 Specify the amandad path of the client, only use with rsh/ssh authentification.
1635 </para>
1636   </listitem>
1637   </varlistentry>
1638
1639   <varlistentry>
1640   <term><amkeyword>client-username</amkeyword> <amtype>string</amtype></term>
1641   <listitem>
1642 <para>Default:
1643 <amdefault>CLIENT_LOGIN</amdefault>.
1644 Specify the username to connect on the client, only use with rsh/ssh authentification.
1645 </para>
1646   </listitem>
1647   </varlistentry>
1648
1649   <varlistentry>
1650   <term><amkeyword>client-port</amkeyword> [ <amtype>int</amtype> | <amtype>string</amtype> ]</term>
1651   <listitem>
1652 <para>Default:
1653 <amdefault>&quot;amanda&quot;</amdefault>.
1654 Specifies the port to connect to on the client.  It can be a service name or a numeric port number.
1655 </para>
1656   </listitem>
1657   </varlistentry>
1658
1659
1660 <!-- bumping parameters yanked from the global section above -->
1661
1662   <varlistentry>
1663   <term><amkeyword>bumpsize</amkeyword> <amtype>int</amtype></term>
1664   <listitem>
1665 <para>Default:
1666 <amdefault>10 Mbytes</amdefault>.
1667 The minimum savings required to trigger an automatic
1668 bump from one incremental level to the next, expressed as size.
1669 If Amanda determines that the next higher backup level
1670 will be this much smaller than the current level,
1671 it will do the next level.
1672 The value of this parameter is used only if the parameter 
1673 <emphasis>bumppercent</emphasis> is set to 0.
1674 </para>
1675 <para>The default unit is Kbytes if it is not specified.</para>
1676 <para>
1677 See also the options 
1678 <amkeyword>bumppercent</amkeyword>,
1679 <amkeyword>bumpmult</amkeyword> and
1680 <amkeyword>bumpdays</amkeyword>.</para>
1681   </listitem>
1682   </varlistentry>
1683
1684   <varlistentry>
1685   <term><amkeyword>bumppercent</amkeyword> <amtype>int</amtype></term>
1686   <listitem>
1687 <para>Default:
1688 <amdefault>0</amdefault>.
1689 The minimum savings required to trigger an automatic
1690 bump from one incremental level to the next, expressed as percentage of the
1691 current size of the DLE (size of current level 0).
1692 If Amanda determines that the next higher backup level
1693 will be this much smaller than the current level,
1694 it will do the next level.
1695 </para>
1696 <para>
1697 If this parameter is set to 0, the value of the
1698 parameter <emphasis>bumpsize</emphasis> is used to trigger bumping.
1699 </para>
1700 <para>
1701 See also the options 
1702 <amkeyword>bumpsize</amkeyword>,
1703 <amkeyword>bumpmult</amkeyword> and
1704 <amkeyword>bumpdays</amkeyword>.</para>
1705   </listitem>
1706   </varlistentry>
1707
1708   <varlistentry>
1709   <term><amkeyword>bumpmult</amkeyword> <amtype>float</amtype></term>
1710   <listitem>
1711 <para>Default:
1712 <amdefault>1.5</amdefault>.
1713 The bump size multiplier.
1714 Amanda multiplies
1715 <amkeyword>bumpsize</amkeyword>
1716 by this factor for each level.
1717 This prevents active filesystems from
1718 bumping too much by making it harder to bump to the next level.
1719 For example, with the default
1720 <amkeyword>bumpsize</amkeyword>
1721 and
1722 <amkeyword>bumpmult</amkeyword>
1723 set to 2.0, the bump threshold will be 10 Mbytes for level one, 20
1724 Mbytes for level two, 40 Mbytes for level three, and so on.</para>
1725   </listitem>
1726   </varlistentry>
1727   <varlistentry>
1728   <term><amkeyword>bumpdays</amkeyword> <amtype>int</amtype></term>
1729   <listitem>
1730 <para>Default:
1731 <amdefault>2 days</amdefault>.
1732 To insure redundancy in the dumps, Amanda keeps filesystems at the
1733 same incremental level for at least
1734 <amkeyword>bumpdays</amkeyword>
1735 days, even if the other bump threshold criteria are met.</para>
1736   </listitem>
1737   </varlistentry>
1738   
1739   <varlistentry>
1740   <term><amkeyword>comment</amkeyword> <amtype>string</amtype></term>
1741   <listitem>
1742 <para>Default: not set.
1743 A comment string describing this set of backup options.</para>
1744   </listitem>
1745   </varlistentry>
1746   <varlistentry>
1747   <term><amkeyword>comprate</amkeyword> <amtype>float</amtype> [, <amtype>float</amtype> ]</term>
1748   <listitem>
1749 <para>Default:
1750 <amdefault>0.50, 0.50</amdefault>.
1751 The expected full and incremental compression factor for dumps.
1752 It is only used if Amanda does not have any history information on
1753 compression rates for a filesystem, so should not usually need to be set.
1754 However, it may be useful for the first time a very large filesystem that 
1755 compresses very little is backed up.</para>
1756   </listitem>
1757   </varlistentry>
1758   <varlistentry>
1759   <term><amkeyword>compress</amkeyword> [ <amkeyword>none</amkeyword> | <amkeyword>client</amkeyword> | <amkeyword>server</amkeyword> ] [ <amkeyword>best</amkeyword> | <amkeyword>fast</amkeyword> | <amkeyword>custom</amkeyword> ]</term>
1760   <listitem>
1761 <para>Default:
1762 <amkeyword>client fast</amkeyword>.
1763 If Amanda does compression of the backup images, it can do so either on the backup client 
1764 host before it crosses the network or on the tape server host as it goes from the
1765 network into the holding disk or to tape.  Which place to do compression (if at all) depends on how well the
1766 dump image usually compresses, the speed and load on the client or server, network capacity, 
1767 holding disk capacity, availability of tape hardware compression, etc.</para>
1768
1769 <para>For either type of compression, Amanda also allows the selection
1770 of three styles of compression.
1771 <amkeyword>best</amkeyword>
1772 is the best compression available, often at the expense of CPU overhead.
1773 <amkeyword>fast</amkeyword>
1774 is often not as good a compression as
1775 <amkeyword>best</amkeyword>,
1776 but usually less CPU overhead. Or to specify <amkeyword>custom</amkeyword>
1777 to use your own compression method. (See dumptype custom-compress in example/amanda.conf for reference)</para>
1778
1779 <para>So the <amkeyword>compress</amkeyword> options line may be one of:</para>
1780
1781 <variablelist remap='TP'>
1782   <varlistentry>
1783     <term>compress none</term><listitem><para/></listitem>
1784   </varlistentry>
1785   <varlistentry>
1786     <term>compress client fast</term><listitem><para/></listitem>
1787   </varlistentry>
1788   <varlistentry>
1789     <term>compress client best</term><listitem><para/></listitem>
1790   </varlistentry>
1791   <varlistentry>
1792     <term>compress client custom</term>
1793     <listitem>
1794       <para>Specify <amkeyword>client-custom-compress</amkeyword> &quot;PROG&quot;</para>
1795       <para>PROG must not contain white space and it must accept -d for uncompress.</para>
1796     </listitem>
1797   </varlistentry>
1798   <varlistentry>
1799     <term>compress server fast</term><listitem><para/></listitem>
1800   </varlistentry>
1801   <varlistentry>
1802     <term>compress server best</term><listitem><para/></listitem>
1803   </varlistentry>
1804   <varlistentry>
1805     <term>compress server custom</term>
1806     <listitem>
1807       <para>Specify <amkeyword>server-custom-compress</amkeyword> &quot;PROG&quot;</para>
1808       <para>PROG must not contain white space and it must accept -d for uncompress.</para>
1809     </listitem>
1810   </varlistentry>
1811 </variablelist>
1812 <para>Note that some tape devices do compression and this option has nothing
1813 to do with whether that is used. If hardware compression is used (usually via a particular tape device name
1814 or <emphasis remap='B'>mt</emphasis> option), Amanda (software) compression should be disabled.</para>
1815   </listitem>
1816   </varlistentry>
1817
1818   <varlistentry>
1819   <term><amkeyword>client-custom-compress</amkeyword> <amtype>string</amtype></term>
1820   <listitem>
1821 <para>Default: none.
1822     The program to use to perform compression/decompression on the client; used with
1823 "compress client custom".  Must not contain whitespace.  Must accept -d to uncompress.</para>
1824   </listitem>
1825   </varlistentry>
1826
1827   <varlistentry>
1828   <term><amkeyword>server-custom-compress</amkeyword> <amtype>string</amtype></term>
1829   <listitem>
1830 <para>Default: none.
1831     The program to use to perform compression/decompression on the server; used with
1832 "compress server custom".  Must not contain whitespace.  Must accept -d to uncompress.</para>
1833   </listitem>
1834   </varlistentry>
1835
1836   <varlistentry>
1837   <term><amkeyword>dumpcycle</amkeyword> <amtype>int</amtype></term>
1838   <listitem>
1839 <para>Default: <amdefault>10 days</amdefault>.
1840 The number of days in the backup cycle. Each disk using this set of options will get a full 
1841 backup at least this of
1842 ten. Setting this to zero tries to do a full backup each run.</para>
1843   </listitem>
1844   </varlistentry>
1845
1846   <varlistentry>
1847   <term><amkeyword>encrypt</amkeyword> [ <amkeyword>none</amkeyword> | <amkeyword>client</amkeyword> | <amkeyword>server</amkeyword> ]</term>
1848   <listitem>
1849 <para>Default: not set.
1850 To encrypt backup images, it can do so either on the backup client host before it crosses the network or on the tape
1851 server host as it goes from the network into the holding disk or to tape.</para>
1852
1853 <para>So the <amkeyword>encrypt</amkeyword> options line may be one
1854             of:</para>
1855
1856 <variablelist remap='TP'>
1857   <varlistentry>
1858     <term>encrypt none</term><listitem><para/></listitem>
1859   </varlistentry>
1860   <varlistentry>
1861     <term>encrypt client</term>
1862     <listitem>
1863       <para>Specify client-encrypt &quot;PROG&quot;</para>
1864       <para>PROG must not contain white space.</para>
1865       <para>Specify client-decrypt-option &quot;decryption-parameter&quot; Default: &quot;-d&quot;</para>
1866       <para>decryption-parameter must not contain white space.</para>
1867       <para>(See dumptype client-encrypt-nocomp in example/amanda.conf for reference)</para>
1868     </listitem>
1869   </varlistentry>
1870   <varlistentry>
1871     <term>encrypt server</term>
1872     <listitem>
1873       <para>Specify server-encrypt &quot;PROG&quot;</para>
1874       <para>PROG must not contain white space.</para>
1875       <para>Specify server-decrypt-option &quot;decryption-parameter&quot; Default: &quot;-d&quot;</para>
1876       <para>decryption-parameter must not contain white space.</para>
1877       <para>(See dumptype server-encrypt-fast in example/amanda.conf for reference)</para>
1878     </listitem>
1879   </varlistentry>
1880 </variablelist>
1881 <para>Note that current logic assumes compression then encryption during
1882 backup(thus decrypt then uncompress during restore). So specifying
1883 client-encryption AND server-compression is not supported.
1884 <emphasis remap='I'>amcrypt</emphasis> which is a wrapper of
1885             <emphasis remap='I'>aespipe</emphasis> is provided as a reference
1886                 symmetric encryption program.</para>
1887 </listitem>
1888 </varlistentry>
1889
1890   <varlistentry>
1891   <term><amkeyword>client-encrypt</amkeyword> <amtype>string</amtype></term>
1892   <listitem>
1893 <para>Default: none.
1894 The program to use to perform encryption/decryption on the client; used with
1895 "encrypt client".  Must not contain whitespace.</para>
1896   </listitem>
1897   </varlistentry>
1898
1899   <varlistentry>
1900   <term><amkeyword>client-decrypt-option</amkeyword> <amtype>string</amtype></term>
1901   <listitem>
1902 <para>Default: -d.
1903 The option that can be passed to client-encrypt to make it decrypt instead.
1904 Must not contain whitespace.</para>
1905   </listitem>
1906   </varlistentry>
1907
1908   <varlistentry>
1909   <term><amkeyword>server-encrypt</amkeyword> <amtype>string</amtype></term>
1910   <listitem>
1911 <para>Default: none.
1912 The program to use to perform encryption/decryption on the server; used with
1913 "encrypt server".  Must not contain whitespace.</para>
1914   </listitem>
1915   </varlistentry>
1916
1917   <varlistentry>
1918   <term><amkeyword>server-decrypt-option</amkeyword> <amtype>string</amtype></term>
1919   <listitem>
1920 <para>Default: -d.
1921 The option that can be passed to server-encrypt to make it decrypt instead.
1922 Must not contain whitespace.</para>
1923   </listitem>
1924   </varlistentry>
1925
1926   <varlistentry>
1927   <term><amkeyword>estimate</amkeyword> [ <amkeyword>client</amkeyword> | <amkeyword>calcsize</amkeyword> | <amkeyword>server</amkeyword> ]+</term>
1928   <listitem>
1929 <para>Default: <amkeyword>client</amkeyword>.
1930 Determine the way Amanda estimates the size of each DLE before beginning a backup.  This is a list of acceptable estimate methods, and Amanda applies the first method supported by the application.  The methods are:</para>
1931 <variablelist remap='TP'>
1932   <varlistentry>
1933     <term>client</term>
1934     <listitem>
1935       <para>Use the same program as the dumping program. This is the most
1936             accurate method to do estimates, but it can take a long time.</para>
1937     </listitem>
1938   </varlistentry>
1939   <varlistentry>
1940     <term>calcsize</term>
1941     <listitem>
1942       <para>Use a faster program to do estimates, but the result is less
1943       accurate.</para>
1944     </listitem>
1945   </varlistentry>
1946   <varlistentry>
1947     <term>server</term>
1948     <listitem>
1949       <para>Use only statistics from the previous few runs to give an estimate.
1950             This very quick, but the result is not accurate if your disk
1951             usage changes from day to day.  If this method is specified, but the
1952             server does not have enough data to make an estimate, then the option
1953             is internally moved to the end of the list, thereby preferring 'client'
1954             or 'calcsize' in this case.</para>
1955     </listitem>
1956   </varlistentry>
1957 </variablelist>
1958 </listitem>
1959 </varlistentry>
1960
1961   
1962   <varlistentry>
1963   <term><amkeyword>exclude</amkeyword> [ <amkeyword>list</amkeyword> | <amkeyword>file</amkeyword> ][[<amkeyword>optional</amkeyword>][<amkeyword>append</amkeyword>][ <amtype>string</amtype> ]+]</term>
1964   <listitem>
1965 <para>Default:
1966 <amkeyword>file</amkeyword>.  Exclude is the opposite of
1967 <amkeyword>include</amkeyword> and specifies files that will be excluded from
1968 the backup.  The format of the exclude expressions depends on the application,
1969 and some applications do not support excluding files at all.</para>
1970
1971 <para>There are two exclude parameters,
1972 <amkeyword>exclude</amkeyword> <amkeyword>file</amkeyword>
1973 and
1974 <amkeyword>exclude</amkeyword> <amkeyword>list.</amkeyword>
1975 With
1976 <amkeyword>exclude</amkeyword> <amkeyword>file</amkeyword>, the
1977 <amtype>string</amtype>
1978 is an exclude expression. With
1979 <amkeyword>exclude</amkeyword> <amkeyword>list</amkeyword>
1980 , the
1981 <amtype>string</amtype>
1982 is a file name on the client containing &gnutar; exclude expressions.
1983 The path to the specified exclude list file, if present (see description of
1984 'optional' below), must be readable by the Amanda user.</para>
1985
1986 <para>All exclude expressions are concatenated in one file and passed to the
1987 application as an <option>--exclude-from</option> argument.</para>
1988
1989 <para>For &gnutar;, exclude expressions must always be specified as relative to the
1990 top-level directory of the DLE, and must start with "./".  See the manpages for individual
1991 applications for more information on supported exclude expressions.</para>
1992
1993 <para>With the
1994 <amkeyword>append</amkeyword> keyword, the
1995 <amtype>string</amtype> is appended to the current list, without it, the
1996 <amtype>string</amtype> overwrites the list.</para>
1997
1998 <para>If <amkeyword>optional</amkeyword>
1999 is specified for <amkeyword>exclude</amkeyword> <amkeyword>list</amkeyword>,
2000 then amcheck will not complain if the file doesn't exist or is not readable.</para>
2001
2002 <para>For <amkeyword>exclude</amkeyword> <amkeyword>list</amkeyword>,
2003 if the file name is relative, the disk name being backed up is prepended.
2004 So if this is entered:</para>
2005
2006 <programlisting>
2007     exclude list &quot;.amanda.excludes&quot;
2008 </programlisting>
2009
2010 <para>the actual file used would be
2011 <filename>/var/.amanda.excludes</filename>
2012 for a backup of <filename>/var</filename>,
2013 <filename>/usr/local/.amanda.excludes</filename> for a backup of
2014 <filename>/usr/local</filename>, and so on.</para>
2015 </listitem>
2016 </varlistentry>
2017
2018   <varlistentry>
2019   <term><amkeyword>holdingdisk</amkeyword> [ <amkeyword>never</amkeyword> | <amkeyword>auto</amkeyword> | <amkeyword>required</amkeyword> ]</term>
2020   <listitem>
2021 <para>Default:
2022 <amkeyword>auto</amkeyword>.
2023 Whether a holding disk should be used for these backups or whether they should go directly to tape.
2024 If the holding disk is a portion of another file system that Amanda
2025 is backing up, that file system should refer to a dumptype with
2026 <amkeyword>holdingdisk</amkeyword>
2027 set to
2028 <emphasis remap='I'>never</emphasis>
2029 to avoid backing up the holding disk into itself.</para>
2030
2031   <variablelist remap='TP'>
2032   <varlistentry>
2033   <term><amkeyword>never</amkeyword>|no|false|off</term>
2034   <listitem>
2035   <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>
2036   </listitem>
2037   </varlistentry>
2038   <varlistentry>
2039   <term><amkeyword>auto</amkeyword>|yes|true|on</term>
2040   <listitem>
2041   <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>
2042   </listitem>
2043   </varlistentry>
2044   <varlistentry>
2045   <term><amkeyword>required</amkeyword></term>
2046   <listitem>
2047   <para>Always dump to holdingdisk, never directly to tape. There will be no dump if it doesn't fit on holdingdisk</para>
2048   </listitem>
2049   </varlistentry>
2050   </variablelist>
2051
2052   </listitem>
2053   </varlistentry>
2054
2055   <varlistentry>
2056   <term><amkeyword>ignore</amkeyword> <amtype>boolean</amtype></term>
2057   <listitem>
2058 <para>Default:
2059 <amkeyword>no</amkeyword>.
2060 Whether disks associated with this backup type should be backed up or not.
2061 This option is useful when the
2062 <emphasis remap='I'>disklist</emphasis>
2063 file is shared among several configurations,
2064 some of which should not back up all the listed file systems.</para>
2065   </listitem>
2066   </varlistentry>
2067   <varlistentry>
2068   <term><amkeyword>include</amkeyword> [ <amkeyword>list</amkeyword> | <amkeyword>file</amkeyword> ][[<amkeyword>optional</amkeyword>][<amkeyword>append</amkeyword>][ <amtype>string</amtype> ]+]</term>
2069   <listitem>
2070 <para>Default:
2071 <amkeyword>file</amkeyword>
2072 &quot;.&quot;.
2073 There are two include lists,
2074 <amkeyword>include file</amkeyword>
2075 and
2076 <amkeyword>include list.</amkeyword>
2077 With
2078 <amkeyword>include file</amkeyword>
2079 , the
2080 <amtype>string</amtype>
2081 is a glob expression. With
2082 <amkeyword>include list</amkeyword>
2083 , the
2084 <amtype>string</amtype>
2085 is a file name on the client containing glob expressions.</para>
2086
2087 <para>All include expressions are expanded by Amanda, concatenated in one file and passed to &gnutar; as a
2088 <option>--files-from</option> argument. They must start with &quot;./&quot; and contain no other &quot;/&quot;.</para>
2089
2090 <para>Include expressions must always be specified as relative to the
2091 head directory of the DLE.</para>
2092
2093 <note><para>For globbing to work at all, even the limited single level, 
2094 the top level directory of the DLE must be readable by the Amanda user.</para>
2095 </note>
2096
2097 <para>With the <amkeyword>append</amkeyword> keyword, the
2098 <amtype>string</amtype> is appended to the current list, without it, the
2099 <amtype>string</amtype> overwrites the list.</para>
2100
2101 <para>If
2102 <amkeyword>optional</amkeyword> is specified for
2103 <amkeyword>include list</amkeyword>, then amcheck will not complain if the file 
2104 doesn't exist or is not readable.</para>
2105
2106 <para>For <amkeyword>include list</amkeyword>,
2107 If the file name is relative, the disk name being backed up is prepended.</para>
2108 </listitem>
2109 </varlistentry>
2110
2111   <varlistentry>
2112   <term><amkeyword>index</amkeyword> <amtype>boolean</amtype></term>
2113   <listitem>
2114 <para>Default: <amkeyword>no</amkeyword>.
2115 Whether an index (catalogue) of the backup should be generated and saved in
2116 <amkeyword>indexdir</amkeyword>.
2117 These catalogues are used by the <emphasis remap='B'>amrecover</emphasis> utility.</para>
2118   </listitem>
2119   </varlistentry>
2120
2121   <varlistentry>
2122   <term><amkeyword>kencrypt</amkeyword> <amtype>boolean</amtype></term>
2123   <listitem>
2124 <para>Default:
2125 <amkeyword>no</amkeyword>.
2126 Whether the backup image should be encrypted by Kerberos as it is sent
2127 across the network from the backup client host to the tape server host.</para>
2128   </listitem>
2129   </varlistentry>
2130   <varlistentry>
2131   <term><amkeyword>maxdumps</amkeyword> <amtype>int</amtype></term>
2132   <listitem>
2133 <para>Default:
2134 <amdefault>1</amdefault>.
2135 The maximum number of backups from a single host that Amanda will attempt to run in parallel.
2136 See also the main section parameter <amkeyword>inparallel</amkeyword>.</para>
2137   </listitem>
2138   </varlistentry>
2139   <varlistentry>
2140   <term><amkeyword>maxpromoteday</amkeyword> <amtype>int</amtype></term>
2141   <listitem>
2142 <para>Default:
2143 <amdefault>10000</amdefault>.
2144 The maximum number of day for a promotion, set it 0 if you don't want
2145 promotion, set it to 1 or 2 if your disks get overpromoted.</para>
2146   </listitem>
2147   </varlistentry>
2148   <varlistentry>
2149   <term><amkeyword>max-warnings</amkeyword> <amtype>int</amtype></term>
2150   <listitem>
2151 <para>Default:
2152 <amdefault>20</amdefault>.
2153 The maximum number of error lines in the report for a dle. A value of '0'
2154 means unlimited. This is useful to reduce the size of the log file and the
2155 size of the report. All errors are put in separate files if a dle have more
2156 errors.</para>
2157   </listitem>
2158   </varlistentry>
2159   <varlistentry>
2160   <term><amkeyword>priority</amkeyword> [ <amkeyword>low</amkeyword> | <amkeyword>medium</amkeyword> | <amkeyword>high</amkeyword> ]</term>
2161   <listitem>
2162 <para>Default: <amkeyword>medium</amkeyword>.
2163 When there is no tape to write to, Amanda will do incremental backups
2164 in priority order to the holding disk. The priority may be
2165 high (2), medium (1), low (0) or a number of your choice.</para>
2166   </listitem>
2167   </varlistentry>
2168   <varlistentry>
2169   <term><amkeyword>program</amkeyword> [ <amkeyword>&quot;DUMP&quot;</amkeyword> | <amkeyword>&quot;GNUTAR&quot;</amkeyword> | <amkeyword>&quot;APPLICATION&quot;</amkeyword> ]</term>
2170   <listitem>
2171 <para>Default:
2172 <amdefault>&quot;DUMP&quot;</amdefault>.
2173 The type of backup to perform. Valid values are:</para>
2174   <!-- .RS -->
2175     <variablelist remap='TP'>
2176       <varlistentry>
2177       <term><amkeyword>&quot;DUMP&quot;</amkeyword></term>
2178       <listitem>
2179 <para>The native operating system backup program.</para>
2180       </listitem>
2181       </varlistentry>
2182       <varlistentry>
2183       <term><amkeyword>&quot;GNUTAR&quot;</amkeyword></term>
2184       <listitem>
2185 <para>To use GNU-tar or to do PC backups using Samba.</para>
2186       </listitem>
2187       </varlistentry>
2188       <varlistentry>
2189       <term><amkeyword>&quot;APPLICATION&quot;</amkeyword></term>
2190       <listitem>
2191 <para>To use an application, see the <emphasis>application</emphasis> option.</para>
2192       </listitem>
2193       </varlistentry>
2194     </variablelist>
2195   </listitem>
2196   </varlistentry>
2197   <varlistentry>
2198   <term><amkeyword>application</amkeyword> <amtype>string</amtype></term>
2199   <listitem>
2200 <para>No default. Must be the name of an application if <emphasis>program</emphasis> is set to <emphasis remap='I'>APPLICATION</emphasis>. See APPLICATION SECTION below.</para>
2201   </listitem>
2202   </varlistentry>
2203   <varlistentry>
2204   <term><amkeyword>script</amkeyword> <amtype>string</amtype></term>
2205   <listitem>
2206 <para>No default. Must be the name of a script. You can have many script. See SCRIPT SECTION below.</para>
2207   </listitem>
2208   </varlistentry>
2209   <varlistentry>
2210   <term><amkeyword>property</amkeyword> [<amkeyword>append</amkeyword>] <amtype>string</amtype> <amtype>string</amtype>+</term>
2211   <listitem>
2212 <para>These options can set various properties, they can be used by third
2213  party software to store information in the configuration file.
2214 Both strings are quoted; the first string contains the name of
2215 the property to set, and the others contains its values.
2216 <amkeyword>append</amkeyword> keyword append the values to the list of values for that property.
2217 </para>
2218   </listitem>
2219   </varlistentry>
2220
2221   <varlistentry>
2222   <term><amkeyword>record</amkeyword> <amtype>boolean</amtype></term>
2223   <listitem>
2224 <para>Default:
2225 <emphasis remap='I'>yes</emphasis>.
2226 Whether to ask the backup program to update its database (e.g. <filename>/var/lib/dumpdates</filename>
2227 for DUMP or <filename>/usr/local/var/amanda/gnutar-lists</filename> for GNUTAR) of time stamps.
2228 This is normally enabled for daily backups and turned off for periodic archival runs.</para>
2229   </listitem>
2230   </varlistentry>
2231   <varlistentry>
2232   <term><amkeyword>skip-full</amkeyword> <amtype>boolean</amtype></term>
2233   <listitem>
2234 <para>Default:
2235 <amkeyword>no</amkeyword>. If <amkeyword>true</amkeyword> and
2236 <emphasis remap='B'>planner</emphasis> has scheduled a full backup, these disks will be skipped, and
2237 full backups should be run off-line on these days. It was reported that Amanda only schedules 
2238 level 1 incrementals in this configuration; this is probably a bug.</para>
2239   </listitem>
2240   </varlistentry>
2241   <varlistentry>
2242   <term><amkeyword>skip-incr</amkeyword> <amtype>boolean</amtype></term>
2243   <listitem>
2244 <para>Default:
2245 <amkeyword>no</amkeyword>. If <amkeyword>true</amkeyword> and
2246 <emphasis remap='B'>planner</emphasis> has scheduled an incremental backup, these disks will be skipped.</para>
2247   </listitem>
2248   </varlistentry>
2249   <varlistentry>
2250   <term><amkeyword>ssh-keys</amkeyword> <amtype>string</amtype></term>
2251   <listitem>
2252 <para>Default: not set.
2253 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>
2254   </listitem>
2255   </varlistentry>
2256   <varlistentry>
2257   <term><amkeyword>starttime</amkeyword> <amtype>int</amtype></term>
2258   <listitem>
2259 <para>Default: not set.
2260 Backup of these disks will not start until after this time of day.
2261 The value should be hh*100+mm, e.g. 6:30PM (18:30) would be entered as
2262 <literal>1830</literal>.</para>
2263   </listitem>
2264   </varlistentry>
2265   <varlistentry>
2266   <term><amkeyword>strategy</amkeyword> [ <amkeyword>standard</amkeyword> | <amkeyword>nofull</amkeyword> | <amkeyword>noinc</amkeyword> | <amkeyword>skip</amkeyword> | <amkeyword>incronly</amkeyword> ]</term>
2267   <listitem>
2268   <para>Default: <amkeyword>standard</amkeyword>.
2269   Strategy to use when planning what level of backup to run next. Values are:</para>
2270
2271   <variablelist remap='TP'>
2272   <varlistentry>
2273   <term><amkeyword>standard</amkeyword></term>
2274   <listitem>
2275   <para>The standard Amanda schedule.</para>
2276   </listitem>
2277   </varlistentry>
2278   <varlistentry>
2279   <term><amkeyword>nofull</amkeyword></term>
2280   <listitem>
2281   <para>Never do full backups, only level 1 incrementals.</para>
2282   </listitem>
2283   </varlistentry>
2284   <varlistentry>
2285   <term><amkeyword>noinc</amkeyword></term>
2286   <listitem>
2287   <para>Never do incremental backups, only full dumps.</para>
2288   </listitem>
2289   </varlistentry>
2290   <varlistentry>
2291   <term><amkeyword>skip</amkeyword></term>
2292   <listitem>
2293   <para>Treat this DLE as if it doesn't exist (useful to disable DLEs
2294   when sharing the <emphasis remap='I'>disklist</emphasis> file between
2295   multiple configurations). Skipped DLEs will not be checked or
2296   dumped, and will not be matched by disklist expressions.</para>
2297   </listitem>
2298   </varlistentry>
2299   <varlistentry>
2300   <term><amkeyword>incronly</amkeyword></term>
2301   <listitem>
2302   <para>Only do incremental dumps. <command>amadmin force</command> should be used to tell
2303   Amanda that a full dump has been performed off-line, so that it resets to level 1.</para>
2304   </listitem>
2305   </varlistentry>
2306   </variablelist>
2307   </listitem>
2308   </varlistentry>
2309
2310   <varlistentry>
2311   <term><amkeyword>allow-split</amkeyword> <amtype>bool</amtype></term>
2312   <listitem>
2313 <para>Default: true.
2314 If true, then dumps with this dumptype can be split on the storage media.  If false, then
2315 the dump will be written in a single file on the media.  See "Dump Splitting Configuration"
2316 below.</para>
2317   </listitem>
2318   </varlistentry>
2319
2320   <varlistentry>
2321   <term><amkeyword>tape-splitsize</amkeyword> <amtype>int</amtype></term>
2322   <listitem>
2323       <para>Deprecated.  See "Dump Splitting Configuration" below.</para>
2324 <para>Default: not set.
2325 Split dump file on tape into pieces of a specified size.
2326 The default unit is Kbytes if it is not specified.</para>
2327   </listitem>
2328   </varlistentry>
2329
2330   <varlistentry>
2331   <term><amkeyword>split-diskbuffer</amkeyword> <amtype>string</amtype></term>
2332       <para>Deprecated.  See "Dump Splitting Configuration" below.</para>
2333   <listitem>
2334 <para>Default: not set.
2335 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.
2336 </para>
2337   </listitem>
2338   </varlistentry>
2339
2340   <varlistentry>
2341   <term><amkeyword>fallback-splitsize</amkeyword> <amtype>int</amtype></term>
2342   <listitem>
2343       <para>Deprecated.  See "Dump Splitting Configuration" below.</para>
2344 <para>Default:
2345 <amdefault>10M</amdefault>.
2346 This specifies the part size used when no <amkeyword>split-diskbuffer</amkeyword> is specified, or when it is too small or does not exist,
2347 and thus the maximum amount of memory consumed for in-memory splitting.
2348 The default unit is Kbytes if it is not specified.</para>
2349   </listitem>
2350   </varlistentry>
2351
2352   <varlistentry>
2353       <term><amkeyword>recovery-limit</amkeyword>
2354             [ <amkeyword>server</amkeyword> | <amkeyword>same-host</amkeyword> | <amtype>string</amtype> ]*</term>
2355   <listitem>
2356
2357 <para>Default: global value.  This parameter overrides the global
2358     <amkeyword>recovery-limit</amkeyword> parameter for DLEs of this
2359     dumptype.</para>
2360
2361   </listitem>
2362   </varlistentry>
2363
2364   <varlistentry>
2365       <term><amkeyword>dump-limit</amkeyword>
2366             [ <amkeyword>server</amkeyword> | <amkeyword>same-host</amkeyword> ]*</term>
2367   <listitem>
2368
2369 <para>Default: <amkeyword>server</amkeyword>. Specify which host can initiate
2370  a backup of the dle.  With <amkeyword>server</amkeyword>, the server
2371  can initiate a backup with the <command>amdump</command> command.
2372  With <amkeyword>same-host</amkeyword>, the client can initiate a backup with
2373  the <command>amdump_client</command> command.</para>
2374
2375   </listitem>
2376   </varlistentry>
2377 </variablelist>
2378
2379 <para>The following <amkeyword>dumptype</amkeyword> entries are predefined by Amanda:</para>
2380
2381 <programlisting remap='.nf'>
2382 define dumptype "no-compress" {
2383     compress none
2384 }
2385 define dumptype "compress-fast" {
2386     compress client fast
2387 }
2388 define dumptype "compress-best" {
2389     compress client best
2390 }
2391 define dumptype "srvcompress" {
2392     compress server fast
2393 }
2394 define dumptype "bsd-auth" {
2395     auth "bsd"
2396 }
2397 define dumptype "bsdtcp-auth" {
2398     auth "bsdtcp"
2399 }
2400 define dumptype "no-record" {
2401     record no
2402 }
2403 define dumptype "no-hold" {
2404     holdingdisk no
2405 }
2406 define dumptype "no-full" {
2407     skip-full yes
2408
2409 </programlisting>
2410
2411 <para>In addition to options in a
2412 <amkeyword>dumptype</amkeyword>
2413 section, one or more other
2414 <amkeyword>dumptype</amkeyword>
2415 names may be supplied as identifiers, which make this
2416 <amkeyword>dumptype</amkeyword>
2417 inherit options from other previously defined
2418 <amkeyword>dumptype</amkeyword>s.
2419 For instance, two sections might be the same except for the
2420 <amkeyword>record</amkeyword> option:</para>
2421
2422 <programlisting remap='.nf'>
2423 define dumptype "normal" {
2424     comment &quot;Normal backup, no compression, do indexing&quot;
2425     no-compress
2426     index yes
2427     maxdumps 2
2428 }
2429 define dumptype "testing" {
2430     comment &quot;Test backup, no compression, do indexing, no recording&quot;
2431     "normal"
2432     record no
2433 }
2434 </programlisting>
2435
2436 <para>Amanda provides a
2437 <amkeyword>dumptype</amkeyword>
2438 named
2439 <emphasis remap='I'>global</emphasis>
2440 in the sample
2441 <emphasis remap='B'>amanda.conf</emphasis>
2442 file that all
2443 <amkeyword>dumptype</amkeyword>s
2444 should reference.
2445 This provides an easy place to make changes that will affect every
2446 <amkeyword>dumptype</amkeyword>, although you must be careful
2447 that every dumptype explicitly inherits from the
2448 <emphasis remap='I'>global</emphasis>
2449 dumptype - Amanda does not do so automatically.</para>
2450 </refsect1>
2451
2452 <refsect1><title>TAPETYPE SECTION</title>
2453 <para>The <emphasis remap='B'>amanda.conf</emphasis>
2454 file may define multiple types of tape media and devices.
2455 The information is entered in a
2456 <amkeyword>tapetype</amkeyword>
2457 section, which looks like this in the config file:</para>
2458
2459 <programlisting>
2460 define tapetype "<amtype>name</amtype>" {
2461     <emphasis remap='I'>tapetype-option</emphasis> <emphasis remap='I'>tapetype-value</emphasis>
2462     <literal>...</literal>
2463 }
2464 </programlisting>
2465
2466 <para>The { must appear at the end of a line, and the } on its own line.</para>
2467 <para><emphasis remap='I'>Name</emphasis>
2468 is the name of this type of tape medium/device.
2469 It is referenced from the
2470 <amkeyword>tapetype</amkeyword>
2471 option in the main part of the config file.</para>
2472
2473 <para>The tapetype options and values are:</para>
2474 <variablelist remap='TP'>
2475   <varlistentry>
2476   <term><amkeyword>comment</amkeyword> <amtype>string</amtype></term>
2477   <listitem>
2478 <para>Default: not set.
2479 A comment string describing this set of tape information.</para>
2480   </listitem>
2481   </varlistentry>
2482   <varlistentry>
2483   <term><amkeyword>filemark</amkeyword> <amtype>int</amtype></term>
2484   <listitem>
2485 <para>Default:
2486 <amdefault>1 kbytes</amdefault>.
2487 How large a file mark (tape mark) is, measured in kbytes.
2488 If the size is only known in some linear measurement (e.g. inches),
2489 convert it to kbytes using the device density.</para>
2490   </listitem>
2491   </varlistentry>
2492   <varlistentry>
2493   <term><amkeyword>length</amkeyword> <amtype>int</amtype></term>
2494   <listitem>
2495 <para>Default:
2496 <amdefault>2000 kbytes</amdefault>. How much data will fit on a tape, expressed in kbytes.</para>
2497
2498 <para>Note that this value is only used by Amanda to schedule which backups will be run.
2499 Once the backups start, Amanda will continue to write to a tape until it gets an error, 
2500 regardless of what value is entered for <amkeyword>length</amkeyword>
2501 (but see <manref name="amanda-devices" vol="7" /> for exceptions).
2502  </para>
2503   </listitem>
2504   </varlistentry>
2505
2506 <varlistentry>
2507 <term><amkeyword>blocksize</amkeyword> <amtype>int</amtype></term>
2508 <listitem>
2509 <para>Default:
2510 <amdefault>32 kbytes</amdefault>.
2511 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>
2512   </listitem>
2513   </varlistentry>
2514 <varlistentry>
2515 <term><amkeyword>readblocksize</amkeyword> <amtype>int</amtype></term>
2516 <listitem>
2517 <para>Default: <amdefault>32 kytes</amdefault>
2518 How much data will be read in each tape record.  This can be used to override a
2519 device's block size for reads only.  This may be useful, for example, in
2520 reading a tape written with a 256k block size when Amanda is configured to use
2521 128k blocks.  This unusual feature is not supported by all operating systems and
2522 tape devices.
2523 </para>
2524 <para>The default unit is Kbytes if it is not specified.</para>
2525   </listitem>
2526   </varlistentry>
2527   
2528   <varlistentry>
2529   <term><amkeyword>part-size</amkeyword> <amtype>int</amtype></term>
2530   <listitem>
2531 <para>If this is set to zero (default), then no splitting will take place,
2532 and the entire dump will fail, if end-of-medium is encountered before
2533 the dump is complete, unless the device property LEOM is true, and the
2534 device can detect EOM.  See "Dump Splitting Configuration" below.</para>
2535   </listitem>
2536   </varlistentry>
2537
2538   <varlistentry>
2539   <term><amkeyword>part-cache-type</amkeyword> [ <amkeyword>none</amkeyword> | <amkeyword>disk</amkeyword> | <amkeyword>memory</amkeyword> ] </term>
2540   <listitem>
2541 <para>Default: none.  When part caching is required, this parameter specifies
2542 the type of caching that will be used.  The options include no caching
2543 (<amkeyword>none</amkeyword>), in which case a failed part will cause the
2544 entire dump to fail; on-disk caching (<amkeyword>disk</amkeyword>), for
2545 which <amkeyword>part-cache-dir</amkeyword> must be set properly; and
2546 in-memory caching (<amkeyword>memory</amkeyword>), which on most systems
2547 severely restrains the size of the part that can be written.  See "Dump
2548 Splitting Configuration" below.</para>
2549   </listitem>
2550   </varlistentry>
2551
2552   <varlistentry>
2553   <term><amkeyword>part-cache-dir</amkeyword> <amtype>string</amtype></term>
2554   <listitem>
2555 <para>Default: none.
2556 The directory in which part-cache files can be written when caching on disk.
2557 See "Dump Splitting Configuration" below.</para>
2558   </listitem>
2559   </varlistentry>
2560
2561   <varlistentry>
2562   <term><amkeyword>part-cache-max-size</amkeyword> <amtype>int</amtype></term>
2563   <listitem>
2564 <para>Default: none.
2565 The maximum part size to use when caching is in effect.  This is used to limit
2566 the part size when disk or memory space for caching is constrained.  This value
2567 must be greater than zero.</para>
2568   </listitem>
2569   </varlistentry>
2570
2571   <varlistentry>
2572   <term><amkeyword>speed</amkeyword> <amtype>int</amtype></term>
2573   <listitem>
2574 <para>Default:
2575 <amdefault>200 bps</amdefault>.
2576 How fast the drive will accept data, in bytes per second.
2577 This parameter is NOT currently used by Amanda.</para>
2578   </listitem>
2579   </varlistentry>
2580   <varlistentry>
2581   <term><amkeyword>lbl-templ</amkeyword> <amtype>string</amtype></term>
2582   <listitem>
2583 <para>Default: not set.
2584 A PostScript template file used by
2585 <emphasis remap='B'>amreport</emphasis>
2586 to generate labels. Several sample files are provided with the Amanda sources in the
2587 <emphasis remap='I'>example</emphasis> directory.
2588 See the
2589 <manref name="amreport" vol="8"/>
2590 man page for more information.</para>
2591   </listitem>
2592   </varlistentry>
2593 </variablelist>
2594
2595 <para>In addition to options, another
2596 <amkeyword>tapetype</amkeyword>
2597 name may be supplied as an identifier, which makes this
2598 <amkeyword>tapetype</amkeyword>
2599 inherit options from another
2600 <amkeyword>tapetype</amkeyword>.
2601 For instance, the only difference between a DLT4000 tape drive using
2602 Compact-III tapes and one using Compact-IV tapes is the length of the tape.
2603 So they could be entered as:</para>
2604
2605 <programlisting remap='.nf'>
2606 define tapetype "DLT4000-III" {
2607     comment &quot;DLT4000 tape drives with Compact-III tapes&quot;
2608     length 12500 mbytes         # 10 Gig tapes with some compression
2609     filemark 2000 kbytes
2610     speed 1536 kps
2611 }
2612 define tapetype "DLT4000-IV" {
2613     "DLT4000-III"
2614     comment &quot;DLT4000 tape drives with Compact-IV tapes&quot;
2615     length 25000 mbytes         # 20 Gig tapes with some compression
2616 }
2617 </programlisting>
2618
2619 <!-- If anybody has read this, where do all those stupid 
2620      pseudo-duplicate FOM-tapetype-entries come from?? 
2621         - sgw, Jan. 2005 
2622 -->
2623
2624 </refsect1>
2625
2626 <refsect1><title>INTERFACE SECTION</title>
2627 <para>The
2628 <emphasis remap='B'>amanda.conf</emphasis>
2629 file may define multiple types of network interfaces.
2630 The information is entered in an <amkeyword>interface</amkeyword>
2631 section, which looks like this:</para>
2632
2633 <programlisting>
2634 define interface "<emphasis remap='I'>name</emphasis>" {
2635     <emphasis remap='I'>interface-option</emphasis> <emphasis remap='I'>interface-value</emphasis>
2636     <literal>...</literal>
2637 }
2638 </programlisting>
2639
2640 <para>The { must appear at the end of a line, and the } on its own line.</para>
2641 <para><emphasis remap='I'>name</emphasis>
2642 is the name of this type of network interface. It is referenced from the
2643 <emphasis remap='I'>disklist</emphasis> file.</para>
2644
2645 <para>Note that these sections define network interface characteristics,
2646 not the actual interface that will be used. Nor do they impose limits on the bandwidth that will 
2647 actually be taken up by Amanda.
2648 Amanda computes the estimated bandwidth each file system backup will take
2649 based on the estimated size and time, then compares that plus any other running
2650 backups with the limit as another of the criteria when deciding whether
2651 to start the backup. Once a backup starts, Amanda will use as much of the network as it can
2652 leaving throttling up to the operating system and network hardware.</para>
2653
2654 <para>The interface options and values are:</para>
2655 <variablelist remap='TP'>
2656   <varlistentry>
2657   <term><amkeyword>comment</amkeyword> <amtype>string</amtype></term>
2658   <listitem>
2659 <para>Default: not set.
2660 A comment string describing this set of network information.</para>
2661   </listitem>
2662   </varlistentry>
2663   <varlistentry>
2664   <term><amkeyword>use</amkeyword> <amtype>int</amtype></term>
2665   <listitem>
2666 <para>Default:
2667 <amdefault>80000 Kbps</amdefault>.
2668 The speed of the interface in Kbytes per second.</para>
2669   </listitem>
2670   </varlistentry>
2671 </variablelist>
2672
2673 <para>In addition to options, another
2674 <amkeyword>interface</amkeyword>
2675 name may be supplied as an identifier, which makes this
2676 <amkeyword>interface</amkeyword>
2677 inherit options from another
2678 <amkeyword>interface</amkeyword>.
2679 At the moment, this is of little use.</para>
2680 </refsect1>
2681
2682 <refsect1><title>APPLICATION SECTION</title>
2683 <para>The
2684 <emphasis remap='B'>amanda.conf</emphasis>
2685 file may define multiple types of application.
2686 The information is entered in a <amkeyword>application</amkeyword>
2687 section, which looks like this:</para>
2688
2689 <programlisting>
2690 define application "<emphasis remap='I'>name</emphasis>" {
2691     <emphasis remap='I'>application-option</emphasis> <emphasis remap='I'>application-value</emphasis>
2692     <literal>...</literal>
2693 }
2694 </programlisting>
2695 <para>The { must appear at the end of a line, and the } on its own line.</para>
2696
2697 <para><emphasis remap='I'>name</emphasis>
2698 is the name of this type of application. It is referenced from the
2699 <emphasis remap='I'>dumptype</emphasis></para>
2700
2701 <para>The application options and values are:</para>
2702 <variablelist remap='TP'>
2703   <varlistentry>
2704   <term><amkeyword>client-name</amkeyword> <amtype>string</amtype></term>
2705   <listitem>
2706 <para>No default,
2707 specifies an application name that is in the amanda-client.conf on the client.
2708 The setting from that application will be merged with the current application.
2709 If <amkeyword>client-name</amkeyword> is set then it is an error
2710 if that application is not defined on the client.</para>
2711 <para>If <amkeyword>client-name</amkeyword> is not set then the
2712 merge is done with the application that have the name equal to the plugin.
2713 eg. if the plugin is 'amgtar', then the setting from the application 'amgtar'
2714 is used if it is defined.
2715 </para>
2716   </listitem>
2717   </varlistentry>
2718   <varlistentry>
2719   <term><amkeyword>comment</amkeyword> <amtype>string</amtype></term>
2720   <listitem>
2721 <para>Default: not set.
2722 A comment string describing this application.</para>
2723   </listitem>
2724   </varlistentry>
2725   <varlistentry>
2726   <term><amkeyword>plugin</amkeyword> <amtype>string</amtype></term>
2727   <listitem>
2728 <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>
2729   </listitem>
2730   </varlistentry>
2731   <varlistentry>
2732   <term><amkeyword>property</amkeyword> [<amkeyword>append</amkeyword>] [<amkeyword>priority</amkeyword>] <amtype>string</amtype> <amtype>string</amtype>+</term>
2733   <listitem>
2734 <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
2735 the property to set, and the others contains its values.
2736 <amkeyword>append</amkeyword> keyword append the values to the list of values for that property.
2737 <amkeyword>priority</amkeyword> keyword disallow the setting of that property on the client.
2738 </para>
2739   </listitem>
2740   </varlistentry>
2741 </variablelist>
2742 </refsect1>
2743
2744 <refsect1><title>SCRIPT SECTION</title>
2745 <para>The
2746 <emphasis remap='B'>amanda.conf</emphasis>
2747 file may define multiple types of script. 
2748 The information is entered in a <amkeyword>script</amkeyword>
2749 section, which looks like this:</para>
2750
2751 <programlisting>
2752 define script "<emphasis remap='I'>name</emphasis>" {
2753     <emphasis remap='I'>script-option</emphasis> <emphasis remap='I'>script-value</emphasis>
2754     <literal>...</literal>
2755 }
2756 </programlisting>
2757 <para>The { must appear at the end of a line, and the } on its own line.</para>
2758
2759 <para><emphasis remap='I'>name</emphasis>
2760 is the name of this type of script. It is referenced from the
2761 <emphasis remap='I'>dumptype</emphasis></para>
2762
2763 <para>The script options and values are:</para>
2764 <variablelist remap='TP'>
2765   <varlistentry>
2766   <term><amkeyword>client-name</amkeyword> <amtype>string</amtype></term>
2767   <listitem>
2768 <para>No default,
2769 specifies a script name that is in the amanda-client.conf on the client.
2770 The setting from that script will be merged with the currect script.
2771 If <amkeyword>client-name</amkeyword> is set then it is an error if that script is not defined on the client.</para>
2772 <para>If <amkeyword>client-name</amkeyword> is not set then the
2773 merge is done with the script that have the name equal to the plugin.
2774 eg. if the plugin is 'amlog-script', then the setting from the script
2775 'amlog-script' is used.
2776 </para>
2777   </listitem>
2778   </varlistentry>
2779   <varlistentry>
2780   <term><amkeyword>comment</amkeyword> <amtype>string</amtype></term>
2781   <listitem>
2782 <para>Default: not set.
2783 A comment string describing this script.</para>
2784   </listitem>
2785   </varlistentry>
2786   <varlistentry>
2787   <term><amkeyword>plugin</amkeyword> <amtype>string</amtype></term>
2788   <listitem>
2789 <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>
2790   </listitem>
2791   </varlistentry>
2792   <varlistentry>
2793   <term><amkeyword>order</amkeyword> <amtype>int</amtype></term>
2794   <listitem>
2795 <para>Default: <amdefault>5000</amdefault>. Scripts are executed in that order, it is useful if you have many scripts and they must be executed in a spefific order.</para>
2796   </listitem>
2797   </varlistentry>
2798   <varlistentry>
2799   <term><amkeyword>single-execution</amkeyword> <amtype>boolean</amtype></term>
2800   <listitem>
2801 <para>Default: <amdefault>no</amdefault>. The script is executed for each dle. If <amdefault>yes</amdefault>, the script is executed one time only.</para>
2802   </listitem>
2803   </varlistentry>
2804   <varlistentry>
2805   <term><amkeyword>execute-where</amkeyword> [ <amkeyword>client</amkeyword> | <amkeyword>server</amkeyword> ]</term>
2806   <listitem>
2807 <para>Default: <amkeyword>client</amkeyword>. Where the script must be executed, on the client or server.</para>
2808   </listitem>
2809   </varlistentry>
2810   <varlistentry>
2811   <term><amkeyword>execute-on</amkeyword> <amtype>execute_on</amtype> [,<amtype>execute_on</amtype>]*</term>
2812   <listitem>
2813 <para>No default. When the script must be executed, you can specify many of them:</para>
2814     <!-- .RS -->
2815     <variablelist remap='TP'>
2816       <varlistentry>
2817       <term><amkeyword>pre-amcheck</amkeyword></term>
2818       <listitem>
2819 <para>Execute before the amcheck command for all dle. Can only be run on server.</para>
2820       </listitem>
2821       </varlistentry>
2822       <varlistentry>
2823       <term><amkeyword>pre-dle-amcheck</amkeyword></term>
2824       <listitem>
2825 <para>Execute before the amcheck command for the dle.</para>
2826       </listitem>
2827       </varlistentry>
2828       <varlistentry>
2829       <term><amkeyword>pre-host-amcheck</amkeyword></term>
2830       <listitem>
2831 <para>Execute before the amcheck command for all dle for the client.</para>
2832       </listitem>
2833       </varlistentry>
2834       <varlistentry>
2835       <term><amkeyword>post-amcheck</amkeyword></term>
2836       <listitem>
2837 <para>Execute after the amcheck command for all dle. Can only be run on server.</para>
2838       </listitem>
2839       </varlistentry>
2840       <varlistentry>
2841       <term><amkeyword>post-dle-amcheck</amkeyword></term>
2842       <listitem>
2843 <para>Execute after the amcheck command for the dle.</para>
2844       </listitem>
2845       </varlistentry>
2846       <varlistentry>
2847       <term><amkeyword>post-host-amcheck</amkeyword></term>
2848       <listitem>
2849 <para>Execute after the amcheck command for all dle for the client.</para>
2850       </listitem>
2851       </varlistentry>
2852       <varlistentry>
2853       <term><amkeyword>pre-estimate</amkeyword></term>
2854       <listitem>
2855 <para>Execute before the estimate command for all dle. Can only be run on server.</para>
2856       </listitem>
2857       </varlistentry>
2858       <varlistentry>
2859       <term><amkeyword>pre-dle-estimate</amkeyword></term>
2860       <listitem>
2861 <para>Execute before the estimate command for the dle.</para>
2862       </listitem>
2863       </varlistentry>
2864       <varlistentry>
2865       <term><amkeyword>pre-host-estimate</amkeyword></term>
2866       <listitem>
2867 <para>Execute before the estimate command for all dle for the client.</para>
2868       </listitem>
2869       </varlistentry>
2870       <varlistentry>
2871       <term><amkeyword>post-estimate</amkeyword></term>
2872       <listitem>
2873 <para>Execute after the estimate command for all dle. Can only be run on server.</para>
2874       </listitem>
2875       </varlistentry>
2876       <varlistentry>
2877       <term><amkeyword>post-dle-estimate</amkeyword></term>
2878       <listitem>
2879 <para>Execute after the estimate command for the dle.</para>
2880       </listitem>
2881       </varlistentry>
2882       <varlistentry>
2883       <term><amkeyword>post-host-estimate</amkeyword></term>
2884       <listitem>
2885 <para>Execute after the estimate command for all dle for the client.</para>
2886       </listitem>
2887       </varlistentry>
2888       <varlistentry>
2889       <term><amkeyword>pre-backup</amkeyword></term>
2890       <listitem>
2891 <para>Execute before the backup command for all dle. Can only be run on server.</para>
2892       </listitem>
2893       </varlistentry>
2894       <varlistentry>
2895       <term><amkeyword>pre-dle-backup</amkeyword></term>
2896       <listitem>
2897 <para>Execute before the backup command for the dle.</para>
2898       </listitem>
2899       </varlistentry>
2900       <varlistentry>
2901       <term><amkeyword>pre-host-backup</amkeyword></term>
2902       <listitem>
2903 <para>Execute before the backup command for all dle for the client. It can't be run on client, it must be run on server</para>
2904       </listitem>
2905       </varlistentry>
2906       <varlistentry>
2907       <term><amkeyword>post-backup</amkeyword></term>
2908       <listitem>
2909 <para>Execute after the backup command for all dle. Can only be run on server.</para>
2910       </listitem>
2911       </varlistentry>
2912       <varlistentry>
2913       <term><amkeyword>post-dle-backup</amkeyword></term>
2914       <listitem>
2915 <para>Execute after the backup command for the dle.</para>
2916       </listitem>
2917       </varlistentry>
2918       <varlistentry>
2919       <term><amkeyword>post-host-backup</amkeyword></term>
2920       <listitem>
2921 <para>Execute after the backup command for all dle for the client. It can't be run on client, it must be run on server</para>
2922       </listitem>
2923       </varlistentry>
2924       <varlistentry>
2925       <term><amkeyword>pre-recover</amkeyword></term>
2926       <listitem>
2927 <para>Execute before any level is recovered.</para>
2928       </listitem>
2929       </varlistentry>
2930       <varlistentry>
2931       <term><amkeyword>post-recover</amkeyword></term>
2932       <listitem>
2933 <para>Execute after all levels are recovered.</para>
2934       </listitem>
2935       </varlistentry>
2936       <varlistentry>
2937       <term><amkeyword>pre-level-recover</amkeyword></term>
2938       <listitem>
2939 <para>Execute before each level recovery.</para>
2940       </listitem>
2941       </varlistentry>
2942       <varlistentry>
2943       <term><amkeyword>post-level-recover</amkeyword></term>
2944       <listitem>
2945 <para>Execute after each level recovery.</para>
2946       </listitem>
2947       </varlistentry>
2948       <varlistentry>
2949       <term><amkeyword>inter-level-recover</amkeyword></term>
2950       <listitem>
2951 <para>Execute between two levels of recovery.</para>
2952       </listitem>
2953       </varlistentry>
2954     </variablelist>
2955     <para>If you recover level 0 and 2 of the disk /usr with amrecover, it will execute:</para>
2956 <programlisting>
2957 script --pre-recover
2958 script --pre-level-recover --level 0
2959 #recovering level 0
2960 script --post-level-recover --level 0
2961 script --inter-level-recover --level 0 --level 2
2962 script --pre-level-recover --level 2
2963 #recovering level 2
2964 script --post-level-recover --level 2
2965 script --post-recover
2966 </programlisting>
2967   </listitem>
2968   </varlistentry>
2969   <varlistentry>
2970   <term><amkeyword>property</amkeyword> [<amkeyword>append</amkeyword>] [<amkeyword>priority</amkeyword>] <amtype>string</amtype> <amtype>string</amtype>+</term>
2971   <listitem>
2972 <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
2973 the property to set, and the others contains its values.
2974 <amkeyword>append</amkeyword> keyword append the values to the list of values for that property.
2975 <amkeyword>priority</amkeyword> keyword disallow the setting of that property on the client.
2976 </para>
2977   </listitem>
2978   </varlistentry>
2979 </variablelist>
2980 </refsect1>
2981
2982 <refsect1><title>DEVICE SECTION</title>
2983 <para>Backend storage devices are specified in
2984 <emphasis remap='B'>amanda.conf</emphasis>
2985 in the form of "device" sections, which look like this:</para>
2986
2987 <programlisting>
2988 define device <emphasis remap='I'>name</emphasis> {
2989     commend "<emphasis remap='I'>comment (optional)</emphasis>"
2990     tapedev "<emphasis remap='I'>device-specifier</emphasis>"
2991     device-property "<emphasis remap='I'>prop-name</emphasis>" "<emphasis remap='I'>prop-value</emphasis>"
2992     <literal>...</literal>
2993 }
2994 </programlisting>
2995
2996 <para>The { must appear at the end of a line, and the } on its own line.</para>
2997 <para><emphasis remap='I'>name</emphasis> is the user-specified name of
2998 this device. It is referenced from the global <emphasis
2999 remap='I'>tapedev</emphasis> parameter.  The <emphasis
3000 remap='I'>device-specifier</emphasis> specifies the device name to use;
3001 see <manref name="amanda-devices" vol="7"/>.
3002 As with most sections, the <emphasis remap='I'>comment</emphasis>
3003 parmeter is optional and only for the user's convenience.</para>
3004
3005 <para>An arbitrary number of <emphasis
3006 remap='I'>device-property</emphasis> parameters can be specified.
3007 Again, see
3008 <manref name="amanda-devices" vol="7"/>
3009 for information on device properties.</para>
3010
3011 </refsect1>
3012
3013 <refsect1><title>CHANGER SECTION</title>
3014 <para>Changers are described in
3015 <emphasis remap='B'>amanda.conf</emphasis>
3016 in the form of "changer" sections, which look like this:</para>
3017
3018 <programlisting>
3019 define changer <emphasis remap='I'>name</emphasis> {
3020     comment "<emphasis remap='I'>comment (optional)</emphasis>"
3021     tpchanger "<emphasis remap='I'>changer-spec</emphasis>"
3022     changerdev "<emphasis remap='I'>device-name</emphasis>"
3023     changerfile "<emphasis remap='I'>state-file</emphasis>"
3024     <literal>...</literal>
3025 }
3026 </programlisting>
3027
3028 <para>The { must appear at the end of a line, and the } on its own line.</para>
3029 <para><emphasis remap='I'>name</emphasis> is the user-specified name of this
3030 device. The remaining parameters are specific to the changer type selected.
3031 </para>
3032
3033 <para>See <manref name="amanda-changers" vol="7" /> for more information on configuring changers.</para>
3034
3035 </refsect1>
3036
3037 <refsect1><title>INTERACTIVITY SECTION</title>
3038 <para>The
3039 <emphasis remap='B'>amanda.conf</emphasis>
3040 file may define multiple interactivyt methods, although only one will be used - that specified
3041 by the <amkeyword>interactivity</amkeyword> parameter.
3042 The information is entered in a <amkeyword>interactivity</amkeyword>
3043 section, which looks like this:</para>
3044
3045 <programlisting>
3046 define interactivity <emphasis remap='I'>name</emphasis> {
3047     <emphasis remap='I'>interactivity-option</emphasis> <emphasis remap='I'>interactivity-value</emphasis>
3048     <literal>...</literal>
3049 }
3050 </programlisting>
3051
3052 <para>The { must appear at the end of a line, and the } on its own line.</para>
3053 <para><emphasis remap='I'>name</emphasis> is the user-specified name of this
3054 interactivity. The remaining parameters are specific to the interactivity type
3055 selected.
3056 </para>
3057
3058 <para>The interactivity options and values are:</para>
3059 <variablelist remap='TP'>
3060   <varlistentry>
3061   <term><amkeyword>comment</amkeyword> <amtype>string</amtype></term>
3062   <listitem>
3063 <para>Default: not set.
3064 A comment string describing this interactivity.</para>
3065   </listitem>
3066   </varlistentry>
3067   <varlistentry>
3068   <term><amkeyword>plugin</amkeyword> <amtype>string</amtype></term>
3069   <listitem>
3070 <para>No default. Must be set to the name of the interactivity module, as described in <manref name="amanda-interactivity" vol="7" />.</para>
3071   </listitem>
3072   </varlistentry>
3073   <varlistentry>
3074   <term><amkeyword>property</amkeyword> [<amkeyword>append</amkeyword>] <amtype>string</amtype> <amtype>string</amtype>+</term>
3075   <listitem>
3076 <para>No default. You can set arbitrary properties for the interactivity.  Each interactivity module has a different set of properties. The first string contains the name of
3077 the property to set, and the others contains its values.  All strings should be quoted.
3078 The <amkeyword>append</amkeyword> keyword appends the given values to an existing list of values for that property.
3079 </para>
3080   </listitem>
3081   </varlistentry>
3082 </variablelist>
3083
3084 <para>See <manref name="amanda-interactivity" vol="7" /> for more information on configuring interactivity methods.</para>
3085
3086 </refsect1>
3087
3088 <refsect1><title>TAPERSCAN SECTION</title>
3089 <para>The
3090 <emphasis remap='B'>amanda.conf</emphasis>
3091 file may define multiple taperscan methods, although only one will be used - that specified
3092 by the <amkeyword>taperscan</amkeyword> parameter.
3093 The information is entered in a <amkeyword>taperscan</amkeyword>
3094 section, which looks like this:</para>
3095
3096 <programlisting>
3097 define taperscan <emphasis remap='I'>name</emphasis> {
3098     <emphasis remap='I'>taperscan-option</emphasis> <emphasis remap='I'>taperscan-value</emphasis>
3099     <literal>...</literal>
3100 }
3101 </programlisting>
3102
3103 <para>The { must appear at the end of a line, and the } on its own line.</para>
3104 <para><emphasis remap='I'>name</emphasis> is the user-specified name of this
3105 taperscan. The remaining parameters are specific to the taperscan type
3106 selected.
3107 </para>
3108
3109 <para>The taperscan options and values are:</para>
3110 <variablelist remap='TP'>
3111   <varlistentry>
3112   <term><amkeyword>comment</amkeyword> <amtype>string</amtype></term>
3113   <listitem>
3114 <para>Default: not set.
3115 A comment string describing this taperscan.</para>
3116   </listitem>
3117   </varlistentry>
3118   <varlistentry>
3119   <term><amkeyword>plugin</amkeyword> <amtype>string</amtype></term>
3120   <listitem>
3121 <para>No default. Must be set to the name of the taperscan module.  See <manref name="amanda-taperscan" vol="7" /> for a list of defined taperscan modules.</para>
3122   </listitem>
3123   </varlistentry>
3124   <varlistentry>
3125   <term><amkeyword>property</amkeyword> [<amkeyword>append</amkeyword>] <amtype>string</amtype> <amtype>string</amtype>+</term>
3126   <listitem>
3127 <para>No default.  Operates just like properties for interactivity methods, above.</para>
3128   </listitem>
3129   </varlistentry>
3130 </variablelist>
3131
3132 <para>See <manref name="amanda-taperscan" vol="7" /> for more information on configuring taperscan.</para>
3133
3134 </refsect1>
3135
3136 <refsect1><title>Dump Splitting Configuration</title>
3137
3138     <para>Amanda can "split" dumps into parts while writing them to storage
3139         media.  This allows Amanda to recover gracefully from a failure while
3140         writing a part to a volume, by simply selecting a new volume and
3141         re-writing the dump from the beginning of the failed part.  Parts also
3142         allow Amanda to seek directly to the required data, although this
3143         functionality is not yet used.</para>
3144
3145     <para>In order to support re-writing from the beginning of a failed part,
3146         Amanda must have access to the contents of the part after it has been
3147         partially written.  If the dump is being read from holding disk, then
3148         the part contents are availble there.  Otherwise, the part must be
3149         cached, and this can be done memory or on disk.  In either of the
3150         latter cases, the cache must have enough space to hold an entire
3151         part.</para>
3152
3153     <para>Because it is common for a single Amanda configuration to use both
3154         holding-disk (FILE-WRITE) and direct (known as PORT-WRITE) dumps, Amanda
3155         allows the configuration of different split sizes for the two cases.  This
3156         allows, for example, for a part size appropriate to large tapes when
3157         performing FILE-WRITE dumps, with a part size limited by available disk
3158         or memory when performing PORT-WRITE dumps.</para>
3159
3160     <para>Selecting a proper split size is a delicate matter.  If the parts are
3161         too large, substantial storage space may be wasted in failed parts.  If
3162         too small, large dumps will be split into innumerable tiny dumpfiles,
3163         adding to restoration complexity; furthermore, an excess of filemarks
3164         will cause slower tape drive operation and reduce the usable space on
3165         tape.  A good rule of thumb is 1/10 of the size of a volume of storage
3166         media.</para>
3167
3168     <para>In versions of Amanda through 3.1.*, splitting was controlled by the
3169         dumptype parameters <amkeyword>tape-splitsize</amkeyword>,
3170         <amkeyword>split-diskbuffer</amkeyword>, and
3171         <amkeyword>fallback-splitsize</amkeyword>.  These keywords had
3172         confusing and non-intuitive interactions, and have since been
3173         deprecated.</para>
3174
3175     <para>If the deprecated keywords are not present, subsequent versions
3176         of Amanda use the dumptype parameter
3177         <amkeyword>allow-split</amkeyword> to control whether a DLE can be
3178         split, and the <emphasis>tapetype</emphasis> parameters
3179         <amkeyword>part-size</amkeyword>,
3180         <amkeyword>part-cache-type</amkeyword>,
3181         <amkeyword>part-cache-dir</amkeyword>, and
3182         <amkeyword>part-cache-max-size</amkeyword>.  The
3183         <amkeyword>part-size</amkeyword> specifies the "normal" part size,
3184         while the <amkeyword>part-cache-*</amkeyword> parameters describe
3185         how to behave when caching is required (on PORT-WRITE).  Full
3186         details on these parameters are given above.</para>
3187
3188 </refsect1>
3189
3190 <seealso>
3191 <manref name="amanda-client.conf" vol="5"/>,
3192 <manref name="amanda-applications" vol="7"/>,
3193 <manref name="amanda-auth" vol="7"/>,
3194 <manref name="amanda-changers" vol="7"/>,
3195 <manref name="amanda-devices" vol="7"/>,
3196 <manref name="amanda-interactivity" vol="7"/>,
3197 <manref name="amanda-scripts" vol="7"/>
3198 <manref name="amanda-taperscan" vol="7"/>
3199 </seealso>
3200
3201
3202 </refentry>
3203