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