3 .\" Author: James da Silva <jds@amanda.org>
4 .\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
6 .\" Manual: File formats and conventions
7 .\" Source: Amanda 3.3.1
10 .TH "AMANDA\&.CONF" "5" "02/21/2012" "Amanda 3\&.3\&.1" "File formats and conventions"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
31 amanda.conf \- Main configuration file for Amanda, the Advanced Maryland Automatic Network Disk Archiver
35 is the main configuration file for Amanda\&. This manpage lists the relevant sections and parameters of this file for quick reference\&.
38 \fB<CONFIG_DIR>/<config>/amanda\&.conf\fR
42 There are a number of configuration parameters that control the behavior of the Amanda programs\&. All have default values, so you need not specify the parameter in
44 if the default is suitable\&.
47 Lines starting with # are ignored, as are blank lines\&. Comments may be placed on a line with a directive by starting the comment with a #\&. The remainder of the line is ignored\&.
48 .SS "KEYWORDS AND IDENTIFIERS"
50 Keywords are case insensitive, i\&.e\&.
54 are treated the same\&. Also, the characters \*(Aq\fB\-\fR\*(Aq and \*(Aq\fB_\fR\*(Aq are interchangeable in all predefined Amanda keywords:
57 \fBdevice\-property\fR
58 have the same meaning\&. This manpage uses the dashed versions, but the underscored versions will be accepted for backward compatibility
60 Identifiers are names which are defined in the configuration itself, such as dumptypes or interfaces\&. Identifiers are are case\-insensitive, but sensitive to \*(Aq\fB\-\fR\*(Aq vs\&. \*(Aq\fB_\fR\*(Aq\&. Identifiers should be quoted in the configuration file, although For historical reasons, the quotes are optional\&.
62 Strings are always quoted with double quotes ("), and any double quotes or backslashes within the string are escaped with a backslash:
65 tapelist "/path/to/tapelist"
66 property "escaped\-string" "escaping: \e\e (backslash) and \e" (double\-quote)"
73 logdir "logs" # required sensitive sensitive
74 send\-amreport\-on strange # prohibited insensitive insensitive
75 tapetype "EXABYTE" # optional insensitive sensitive
77 define dumptype "dt" { # optional insensitive sensitive
78 "dumptype\-common" # optional insensitive sensitive
79 strategy noinc # prohibited insensitive insensitive
84 Integer arguments may have one of the following (case insensitive) suffixes, some of which have a multiplier effect:
88 Some number of bytes\&.
93 Some number of bytes per second\&.
96 \fBk kb kbyte kbytes kilobyte kilobytes\fR
98 Some number of kilobytes (bytes*1024)\&.
103 Some number of kilobytes per second (bytes*1024)\&.
105 It is the default multiplier for all size options\&.
108 \fBm mb meg mbyte mbytes megabyte megabytes\fR
110 Some number of megabytes (bytes*1024*1024)\&.
115 Some number of megabytes per second (bytes*1024*1024)\&.
118 \fBg gb gbyte gbytes gigabyte gigabytes\fR
120 Some number of gigabytes (bytes*1024*1024*1024)\&.
123 \fBt tb tbyte tbytes terabyte terabytes\fR
125 Some number of terabytes (bytes*1024*1024*1024*1024)\&.
130 Some number of tapes\&.
135 Some number of days\&.
140 Some number of weeks (days*7)\&.
146 .nr an-no-space-flag 1
155 may be used in most places where an integer is expected to mean an infinite amount\&.
157 Boolean arguments may have any of the values
165 to indicate a true state, or
173 to indicate a false state\&. If no argument is given,
179 .SS "PARAMETER ORDER"
181 In general, the order in which parameters occur in the configuration file does not matter, with the exception of subsection inheritance\&. For example, if dumptype "normal\-encrypt" which inherits from dumptype "normal", then "normal" must appear first in the configuration file\&.
184 Quoted strings in Amanda follow a common, C\-like syntax\&. Printable characters and whitespace are kept as\-is, except that the backslash character (\e) is used as an escape character, and a double\-quote ends the string\&. The allowed escape sequences are
187 ESCAPE SEQUENCE BECOMES
192 \er (carriage return)
196 \e001 \- \e377 (character specified in octal)
198 Illegally quoted strings are handled on a "best\-effort" basis, which may lead to unexpected results\&.
203 finserver "/data/finance/XYZ Corp\*(Aqs \e"real\e" finances" finance\-high eth0 \-1
204 property "syspath" "C:\e\eWINDOWS\e\eSYSTEM"
206 .SS "SUBSECTIONS AND INHERITANCE"
208 Amanda configuration files may include various
209 \fIsubsections\fR, each defining a set of configuration directives\&. Each type of subsection is described below\&. Note that all types of subsections can
211 from other subsections of the same type by naming the "parent" section in the "child" subsection\&. For example:
214 define dumptype global {
219 define dumptype nocomp {
220 global # inherit the parameters in dumptype \*(Aqglobal\*(Aq
225 Note that multiple inheritance is also supported by simply naming multiple parent sections in a child\&. Parents are implicitly expanded in place in a child, and the last occurrence of each parameter takes precedence\&. For example,
228 define tapetype par1 {
234 define tapetype par2 {
239 define tapetype child {
245 In this example, \*(Aqchild\*(Aq will have a filemark of 32k, a speed of 400bps, and a length of 200M\&.
246 .SH "GLOBAL PARAMETERS"
248 \fBorg\fR \fIstring\fR
251 \fI"daily"\fR\&. A descriptive name for the configuration\&. This string appears in the Subject line of mail reports\&. Each Amanda configuration should have a different string to keep mail reports distinct\&.
254 \fBmailer\fR \fIstring\fR
256 Default found by configure\&. A mail program that can send mail with \*(Aq\fIMAILER \-s "subject" user < message_file\fR\*(Aq\&.
259 \fBmailto\fR \fIstring\fR
261 Default: none\&. A space separated list of recipients for mail reports\&. If not specified, amdump will not send any mail\&.
264 \fBsend\-amreport\-on\fR [ \fBall\fR | \fBstrange\fR | \fBerror\fR | \fBnever\fR ]
267 \fBall\fR\&. Specify which types of messages will trigger an email from amreport\&. amreport is used by amdump and amflush\&.
271 Send an email on any message\&.
276 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\&.
281 Send an email only on error messages\&.
286 Never send an email\&.
290 \fBmax\-dle\-by\-volume\fR \fIint\fR
293 \fI1000000000\fR\&. The maximum number of dle written to a single volume\&.
296 \fBdumpcycle\fR \fIint\fR
299 \fI10 days\fR\&. The number of days in the backup cycle\&. Each disk will get a full backup at least this often\&. Setting this to zero tries to do a full backup each run\&.
305 .nr an-no-space-flag 1
312 This parameter may also be set in a specific
314 (see below)\&. This value sets the default for all
315 \fBdumptype\fRs so must appear in
318 \fBdumptype\fRs are defined\&.
323 \fBrunspercycle\fR \fIint\fR
326 \fIsame as dumpcycle\fR\&. The number of amdump runs in
328 days\&. A value of 0 means the same value as
329 \fBdumpcycle\fR\&. A value of \-1 means guess the number of runs from the
331 file, which is the number of tapes used in the last
337 \fBtapecycle\fR \fIint\fR
340 \fI15 tapes\fR\&. Specifies the number of "active" volumes \- volumes that Amanda will not overwrite\&. While Amanda is always willing to write to a new volume, it refuses to overwrite a volume unless at least \*(Aq\fBtapecycle\fR
341 \-1\*(Aq volumes have been written since\&.
343 It is considered good administrative practice to set the
345 parameter slightly lower than the actual number of tapes in use\&. This allows the administrator to more easily cope with damaged or misplaced tapes or schedule adjustments that call for slight adjustments in the rotation order\&.
347 Note: Amanda is commonly misconfigured with
349 equal to the number of tapes per
350 \fBdumpcycle\fR\&. In this misconfiguration, amanda may erase a full dump before a new one is completed\&. Recovery is then impossible\&. The
352 must be at least one tape larger than the number of tapes per dumpcycle\&.
354 The number of tapes per dumpcycle is calculated by multiplying the number of
360 runs per dump cycle) and
362 (the number of tapes used per run)\&. Typically
364 is set to two or four times the tapes per dumpcycle\&.
367 \fBusetimestamps\fR \fIbool\fR
370 \fBYes\fR\&. This option allows Amanda to track multiple runs per calendar day\&. The only reason one might disable it is that Amanda versions before 2\&.5\&.1 can\*(Aqt read logfiles written when this option was enabled\&.
373 \fBlabel\-new\-tapes\fR \fIstring\fR
378 \fBvolume\-error empty\fR
379 to get equivalent behavior\&.
381 Default: not set\&. When set, this directive will cause Amanda to automatically write an Amanda tape label to any blank tape she encounters\&.
384 \fBautolabel\fR \fIstring\fR [\fBany\fR] [\fBother\-config\fR] [\fBnon\-amanda\fR] [\fBvolume\-error\fR] [\fBempty\fR]
386 Default: not set\&. When set, this directive will cause Amanda to automatically write an Amanda tape label to most volume she encounters\&. This option is DANGEROUS because when set, Amanda may erase near\-failing tapes or tapes accidentally loaded in the wrong slot\&.
388 When using this directive, specify the template for new tape labels\&. The template can contains many variables that are substituted by their values:
392 $o : org configuration
393 $b : barcode of the volume
394 $s : slot number, can specify a minimun number of digit:
395 $3s to get \*(Aq001\*(Aq
399 The template can contain some number of contiguous \*(Aq%\*(Aq characters, which will be replaced with a generated number\&. Be sure to specify enough \*(Aq%\*(Aq characters that you do not run out of tape labels\&. Example:
400 \fB"DailySet1\-%%%"\fR,
405 The generared label can be used only if it match the
407 setting\&. The volume will not be used if the generated label doesn\*(Aqt match the
411 Note that many devices cannot distinguish an empty tape from an error condition, so it may is often necessary to include
413 as an autolabel condition\&.
417 equivalent to \*(Aq\fBother\-config non\-amanda volume\-error empty\fR\*(Aq
422 Label volumes with a valid Amanda label that do not match our
423 \fBlabelstr\fR\&. Danger: this may erase volumes
424 from other Amanda configurations without warning!
429 Label volumes which do not start with data that resembles an
430 Amanda header\&. Danger: this may erase volumes from other backup applications
436 Label volumes where an error occurs while trying to read the label\&.
437 Danger: this may erase arbitrary volumes due to transient errors\&.
442 Label volumes where a read returns 0 bytes\&.
446 \fBmeta\-autolabel\fR \fIstring\fR
448 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\&.
450 A meta\-volume is a containers that contains many volumes, eg\&. a removable hard\-disk for use with chg\-disk, each hard disk have many slots (volume)\&. The meta\-label is the label to put on the meta\-volume\&.
452 When using this directive, specify the template for new meta labels\&. The template can contains many variables that are substituted by their values:
456 $o : org configuration
459 The template should contain some number of contiguous \*(Aq%\*(Aq characters, which will be replaced with a generated number\&. Be sure to specify enough \*(Aq%\*(Aq characters that you do not run out of meta labels\&. Example:
460 \fB"DailySet1\-%%%"\fR,
464 \fBdumpuser\fR \fIstring\fR
467 \fI"amanda"\fR\&. The login name Amanda uses to run the backups\&. The backup client hosts must allow access from the tape server host as this user via
470 \fB\&.amandahosts\fR, depending on how the Amanda software was built\&.
473 \fBprinter\fR \fIstring\fR
475 Printer to use when doing tape labels\&. See the
481 \fBtapedev\fR \fIstring\fR
484 \fI"null:"\fR\&. This parameter can either specify a device (explicitly or by referencing a device definition \- see
485 \fBamanda-devices\fR(7)) or a tape changer (explicitly or by referencing a device definition \- see
486 \fBamanda-changers\fR(7))\&.
489 \fBdevice\-property\fR \fIstring\fR \fIstring\fR
491 These options can set various device properties\&. See
492 \fBamanda-devices\fR(7)
493 for more information on device properties and their syntax\&. Both strings are always quoted; the first string contains the name of the property to set, and the second contains its value\&. For example, to set a fixed block size of 128k, write:
495 device\-property "BLOCK_SIZE" "128k"
499 \fBproperty\fR [\fBappend\fR] \fIstring\fR \fIstring\fR+
501 These options can set various properties, they can be used by third party software to store information in the configuration file\&. Both strings are quoted; the first string contains the name of the property to set, and the others contains its values\&.
503 keyword append the values to the list of values for that property\&.
506 \fBtpchanger\fR \fIstring\fR
508 Default: not set\&. The tape changer to use\&. In most cases, only one of
512 is specified, although for backward compatibility both may be specified if
514 gives the name of an old changer script\&. See
515 \fBamanda-changers\fR(7)
516 for more information on configuring changers\&.
519 \fBinteractivity\fR \fIstring\fR
521 Default: not set\&. The interactivity module Amanda should use to interact with the user\&. See
522 \fBamanda-interactivity\fR(7)
523 for a list of modules\&.
526 \fBtaperscan\fR \fIstring\fR
528 Default: traditional\&. The taperscan module amanda should use to find a tape to write to\&. See
529 \fBamanda-taperscan\fR(7)
530 for a list of modules\&.
533 \fBchangerdev\fR \fIstring\fR
536 \fI"dev/null"\fR\&. A tape changer configuration parameter\&. Usage depends on the particular changer defined with the
541 \fBchangerfile\fR \fIstring\fR
544 \fI"/usr/adm/amanda/log/changer\-status"\fR\&. A tape changer configuration parameter\&. Usage depends on the particular changer defined with the
549 \fBruntapes\fR \fIint\fR
552 \fI1\fR\&. The maximum number of tapes used in a single run\&. If a tape changer is not configured, this option is not used and should be commented out of the configuration file\&.
554 If a tape changer is configured, this may be set larger than one to let Amanda write to more than one tape\&.
556 Note that this is an upper bound on the number of tapes, and Amanda may use less\&.
559 \fBmaxdumpsize\fR \fIint\fR
562 \fI\fBruntapes\fR\fR\fI*\fR\fI\fBtape\-length\fR\fR\&. Maximum number of bytes the planner will schedule for a run\&.
564 The default unit is Kbytes if it is not specified\&.
567 \fBtaperalgo\fR [ \fBfirst\fR | \fBfirstfit\fR | \fBlargest\fR | \fBlargestfit\fR | \fBsmallest\fR | \fBlast\fR ]
570 \fBfirst\fR\&. The algorithm used to choose which dump image to send to the taper\&.
574 First in, first out\&.
579 The first dump image that will fit on the current tape\&.
584 The largest dump image\&.
589 The largest dump image that will fit on the current tape\&.
594 The smallest dump image\&.
599 Last in, first out\&.
603 \fBtaper\-parallel\-write\fR \fIint\fR
606 \fI1\fR\&. Amanda can write simultaneously up to that number of volume at any given time\&. The changer must have as many drives\&.
609 \fBeject\-volume\fR \fIint\fR
614 if you want the volume to be ejected after Amanda wrote data to it\&. It works only with some changer and device\&.
617 \fBlabelstr\fR \fIstring\fR
620 \fI"\&.*"\fR\&. The tape label constraint regular expression\&. All tape labels generated (see
621 \fBamlabel\fR(8)) and used by this configuration must match the regular expression\&. If multiple configurations are run from the same tape server host, it is helpful to set their labels to different strings (for example, "DAILY[0\-9][0\-9]*" vs\&. "ARCHIVE[0\-9][0\-9]*") to avoid overwriting each other\*(Aqs tapes\&.
624 \fBtapetype\fR \fIstring\fR
627 \fIno default\fR\&. The type of tape drive associated with
630 \fBtpchanger\fR\&. This refers to one of the defined
631 \fBtapetype\fRs in the config file (see below), which specify various tape parameters, like the
636 of the tape media and device\&.
639 \fBctimeout\fR \fIint\fR
642 \fI30 seconds\fR\&. Maximum amount of time that
644 will wait for each client host\&.
647 \fBdtimeout\fR \fIint\fR
650 \fI1800 seconds\fR\&. Amount of idle time per disk on a given client that a
654 will wait before it fails with a data timeout error\&.
657 \fBetimeout\fR \fIint\fR
660 \fI300 seconds\fR\&. Amount of time per estimate on a given client that the
664 will wait to get the dump size estimates (note: Amanda runs up to 3 estimates for each DLE)\&. For instance, with the default of 300 seconds and four DLE\*(Aqs, each estimating level 0 and level 1 on client A,
666 will wait up to 40 minutes for that machine\&. A negative value will be interpreted as a total amount of time to wait per client instead of per disk\&.
669 \fBconnect\-tries\fR \fIint\fR
672 \fI3\fR\&. How many times the server will try a connection\&.
675 \fBreq\-tries\fR \fIint\fR
678 \fI3\fR\&. How many times the server will resend a REQ packet if it doesn\*(Aqt get the ACK packet\&.
681 \fBnetusage\fR \fIint\fR
684 \fI80000 Kbps\fR\&. The maximum network bandwidth allocated to Amanda, in Kbytes per second\&. See also the
689 \fBinparallel\fR \fIint\fR
692 \fI10\fR\&. The maximum number of backups that Amanda will attempt to run in parallel\&. Amanda will stay within the constraints of network bandwidth and holding disk space available, so it doesn\*(Aqt hurt to set this number a bit high\&. Some contention can occur with larger numbers of backups, but this effect is relatively small on most systems\&.
695 \fBdisplayunit\fR "k|m|g|t"
698 \fI"k"\fR\&. The unit used to print many numbers, k=kilo, m=mega, g=giga, t=tera\&.
701 \fBdumporder\fR \fIstring\fR
704 \fI"tttTTTTTTT"\fR\&. The priority order of each dumper:
711 b: smallest bandwidth
716 \fBmaxdumps\fR \fIint\fR
719 \fI1\fR\&. The maximum number of backups from a single host that Amanda will attempt to run in parallel\&. See also the
723 Note that this parameter may also be set in a specific
725 (see below)\&. This value sets the default for all
726 \fBdumptype\fRs so must appear in
729 \fBdumptype\fRs are defined\&.
732 \fBbumpsize\fR \fIint\fR
735 \fI10 Mbytes\fR\&. The minimum savings required to trigger an automatic bump from one incremental level to the next, expressed as size\&. If Amanda determines that the next higher backup level will be this much smaller than the current level, it will do the next level\&. The value of this parameter is used only if the parameter
739 The default unit is Kbytes if it is not specified\&.
741 The global setting of this parameter can be overwritten inside of a dumptype\-definition\&.
750 \fBbumppercent\fR \fIint\fR
753 \fI0\fR\&. The minimum savings required to trigger an automatic bump from one incremental level to the next, expressed as percentage of the current size of the DLE (size of current level 0)\&. If Amanda determines that the next higher backup level will be this much smaller than the current level, it will do the next level\&.
755 If this parameter is set to 0, the value of the parameter
757 is used to trigger bumping\&.
759 The global setting of this parameter can be overwritten inside of a dumptype\-definition\&.
768 \fBbumpmult\fR \fIfloat\fR
771 \fI1\&.5\fR\&. The bump size multiplier\&. Amanda multiplies
773 by this factor for each level\&. This prevents active filesystems from bumping too much by making it harder to bump to the next level\&. For example, with the default
777 set to 2\&.0, the bump threshold will be 10 Mbytes for level one, 20 Mbytes for level two, 40 Mbytes for level three, and so on\&.
779 The global setting of this parameter can be overwritten inside of a dumptype\-definition\&.
782 \fBbumpdays\fR \fIint\fR
785 \fI2 days\fR\&. To insure redundancy in the dumps, Amanda keeps filesystems at the same incremental level for at least
787 days, even if the other bump threshold criteria are met\&.
789 The global setting of this parameter can be overwritten inside of a dumptype\-definition\&.
792 \fBdiskfile\fR \fIstring\fR
795 \fI"disklist"\fR\&. The file name for the
797 file holding client hosts, disks and other client dumping information\&.
800 \fBinfofile\fR \fIstring\fR
803 \fI"/usr/adm/amanda/curinfo"\fR\&. The file or directory name for the historical information database\&. If Amanda was configured to use DBM databases, this is the base file name for them\&. If it was configured to use text formated databases (the default), this is the base directory and within here will be a directory per client, then a directory per disk, then a text file of data\&.
806 \fBlogdir\fR \fIstring\fR
809 \fI"/usr/adm/amanda"\fR\&. The directory for the
816 \fBindexdir\fR \fIstring\fR
819 \fI"/usr/adm/amanda/index"\fR\&. The directory where index files (backup image catalogues) are stored\&. Index files are only generated for filesystems whose
826 \fBtapelist\fR \fIstring\fR
829 \fI"tapelist"\fR\&. The file name for the active
830 \fBtapelist\fR(5)\&. Amanda maintains this file with information about the active set of tapes\&.
833 \fBdevice\-output\-buffer\-size\fR \fIint\fR
836 \fI1280k\fR\&. Controls the amount of memory used by Amanda to hold data as it is read from the network or disk before it is written to the output device\&. Higher values may be useful on fast tape drives and optical media\&.
838 The default unit is bytes if it is not specified\&.
841 \fBtapebufs\fR \fIint\fR
844 \fI20\fR\&. This option is deprecated; use the
845 \fBdevice\-output\-buffer\-size\fR
848 works the same way, but the number specified is multiplied by the device blocksize prior to use\&.
851 \fBreserve\fR \fIint\fR
854 \fI100\fR\&. The part of holding\-disk space that should be reserved for incremental backups if no tape is available, expressed as a percentage of the available holding\-disk space (0\-100)\&. By default, when there is no tape to write to, degraded mode (incremental) backups will be performed to the holding disk\&. If full backups should also be allowed in this case, the amount of holding disk space reserved for incrementals should be lowered\&.
857 \fBautoflush\fR \fBno\fR|\fByes\fR|\fBall\fR
860 \fBno\fR\&. Whether an amdump run will flush the dumps from holding disk to tape\&. With
861 \fByes\fR, only dump matching the command line argument are flushed\&. With
862 \fBall\fR, all dump are flushed\&.
865 \fBamrecover\-do\-fsf\fR \fIbool\fR
867 Deprecated; amrecover always uses fsf, and does not invoke amrestore\&.
870 \fBon\fR\&. Amrecover will call amrestore with the \-f flag for faster positioning of the tape\&.
873 \fBamrecover\-check\-label\fR \fIbool\fR
875 Deprecated; amrecover always checks the label, and does not invoke amrestore\&.
878 \fBon\fR\&. Amrecover will call amrestore with the \-l flag to check the label\&.
881 \fBamrecover\-changer\fR \fIstring\fR
883 Default: not set\&. Amrecover will use the changer if you use \*(Aqsettape <string>\*(Aq and that string is the same as the
884 \fBamrecover\-changer\fR
888 \fBcolumnspec\fR \fIstring\fR
890 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"
892 Defines the width of columns
896 is a comma (\*(Aq,\*(Aq) separated list of triples\&. Each triple consists of three parts which are separated by a equal sign (\*(Aq=\*(Aq) and a colon (\*(Aq:\*(Aq) (see the example)\&. These four parts specify:
906 the name of the column, which may be:
909 Compress (compression ratio)
910 Disk (client disk name)
911 DumpRate (dump rate in KBytes/sec)
912 DumpTime (total dump time in hours:minutes)
913 HostName (client host name)
915 OrigKB (original image size in KBytes)
916 OutKB (output image size in KBytes)
917 TapeRate (tape writing rate in KBytes/sec)
918 TapeTime (total tape time in hours:minutes)
930 the amount of space to display before the column (used to get whitespace between columns)\&.
941 the width of the column itself\&. If set to a negative value, the width will be calculated on demand to fit the largest entry in this column\&.
952 the precision of the column, number of digit after the decimal point for number\&.
958 columnspec "Disk=1:18,HostName=0:10,OrigKB=::2,OutKB=1:7"
961 The above will display the disk information in 18 characters and put one space before it\&. The hostname column will be 10 characters wide with no space to the left\&. The Original KBytes print 2 decimal digit\&. The output KBytes column is seven characters wide with one space before it\&.
964 \fBincludefile\fR \fIstring\fR
967 \fIno default\fR\&. The name of an Amanda configuration file to include within the current file\&. Useful for sharing dumptypes, tapetypes and interface definitions among several configurations\&. Relative pathnames are relative to the configuration directory\&.
970 \fBdebug\-days\fR \fIint\fR
973 \fI3\fR\&. The number of days the debug files are kept\&.
976 \fBdebug\-auth\fR \fIint\fR
979 \fI0\fR\&. Debug level of the auth module
982 \fBdebug\-event\fR \fIint\fR
985 \fI0\fR\&. Debug level of the event module
988 \fBdebug\-holding\fR \fIint\fR
991 \fI0\fR\&. Debug level of the holdingdisk module
994 \fBdebug\-protocol\fR \fIint\fR
997 \fI0\fR\&. Debug level of the protocol module
1000 \fBdebug\-planner\fR \fIint\fR
1003 \fI0\fR\&. Debug level of the planner process
1006 \fBdebug\-driver\fR \fIint\fR
1009 \fI0\fR\&. Debug level of the driver process
1012 \fBdebug\-dumper\fR \fIint\fR
1015 \fI0\fR\&. Debug level of the dumper process
1018 \fBdebug\-chunker\fR \fIint\fR
1021 \fI0\fR\&. Debug level of the chunker process
1024 \fBdebug\-taper\fR \fIint\fR
1027 \fI0\fR\&. Debug level of the taper process
1030 \fBdebug\-recovery\fR \fIint\fR
1033 \fI1\fR\&. Debug level of all recovery process
1036 \fBflush\-threshold\-dumped\fR \fIint\fR
1039 \fI0\fR\&. Amanda will not begin writing data to a new volume until the amount of data on the holding disk is at least this percentage of the volume size\&. In other words, Amanda will not begin until the amount of data on the holding disk is greater than the tape length times this parameter\&. This parameter may be larger than 100%, for example to keep more recent dumps on the holding disk for faster recovery\&.
1041 Needless to say, your holding disk must be big enough that this criterion could be satisfied\&. If the holding disk cannot be used for a particular dump (because, for example, there is no remaining holding space) then Amanda will disregard the constraint specified by this setting and start a new volume anyway\&. Once writing to a volume has begun, this constraint is not applied unless and until a new volume is needed\&.
1043 The value of this parameter may not exceed than that of the
1044 \fBflush\-threshold\-scheduled\fR
1048 \fBflush\-threshold\-scheduled\fR \fIint\fR
1051 \fI0\fR\&. Amanda will not begin writing data to a new volume until the sum of the amount of data on the holding disk and the estimated amount of data remaining to be dumped during this run is at least this percentage of the volume size\&. In other words, Amanda will not begin until the inequality
1055 is the amount of data on the holding disk,
1057 is the total amount of data scheduled for this run but not dumped yet,
1059 is the capacity of a volume, and
1061 is this parameter, expressed as a percentage\&. This parameter may be larger than 100%\&.
1063 Needless to say, your holding disk must be big enough that this criterion could be satisfied\&. If the holding disk cannot be used for a particular dump (because, for example, there is no remaining holding space) then Amanda will disregard the constraint specified by this setting and start a new volume anyway\&. Once writing to a volume has begun, this constraint is not applied unless and until a new volume is needed\&.
1065 The value of this parameter may not be less than that of the
1066 \fBflush\-threshold\-dumped\fR
1072 \fBtaperflush\fR \fIint\fR
1075 \fI0\fR\&. At the end of a run, Amanda will start a new tape to flush remaining data if there is more data on the holding disk at the end of a run than this setting allows; the amount is specified as a percentage of the capacity of a single volume\&. In other words, at the end of a run, Amanda will begin a new tape if the inequality
1079 is the amount of data remaining on the holding disk from this or previous runs,
1081 is the capacity of a volume, and
1083 is this parameter, expressed as a percentage\&. This parameter may be greater than 100%\&.
1085 The value of this parameter may not exceed that of the
1086 \fBflush\-threshold\-scheduled\fR
1089 must be set to \*(Aqyes\*(Aq if
1091 is greater than 0\&.
1094 \fBreserved\-udp\-port\fR \fIint\fR,\fIint\fR
1096 Default: \-\-with\-udpportrange or
1097 \fI512,1023\fR\&. Reserved udp port that will be used (bsd, bsdudp)\&. Range is inclusive\&.
1100 \fBreserved\-tcp\-port\fR \fIint\fR,\fIint\fR
1102 Default: \-\-with\-low\-tcpportrange or
1103 \fI512,1023\fR\&. Reserved tcp port that will be used (bsdtcp)\&. Range is inclusive\&.
1106 \fBunreserved\-tcp\-port\fR \fIint\fR,\fIint\fR
1108 Default: \-\-with\-tcpportrange or
1109 \fI1024,65535\fR\&. Unreserved tcp port that will be used (bsd, bsdudp)\&. Range is inclusive\&.
1112 \fBrecovery\-limit\fR [ \fIstring\fR | \fBsame\-host\fR | \fBserver\fR]
1114 Default: none (no limitations)\&. This parameter limits the hosts that may do recoveries\&. Hosts are identified by their authenticated peer name, as described in
1115 \fBamanda-auth\fR(7); if this is not available and the recovery\-limit parameter is present, recovery will be denied\&. The arguments to the parameter are strings giving host match expressions (see
1116 \fBamanda-match\fR(7)) or the special keywords
1121 keyword requires an exact match to the hostname of the DLE being recovered\&. The
1123 keyword require the connection come from the fqdn of the server\&. Specifying no arguments at all will disable all recoveries from any host\&.
1125 Note that match expressions can be constructed to be forgiving of e\&.g\&., fully\-qualified vs\&. unqualified hostnames, but
1127 requires an exact match\&.
1129 The error messages that appear in amrecover are intentionally vague to avoid information leakage\&. Consult the amindexd debug log for more details on the reasons a recovery was rejected\&.
1131 Recovery limits can be refined on a per\-DLE basis using the dumptype parameter of the same name\&. Note that the default value will apply to any dumpfiles for disks which no longer appear in the disklist; thus leaving the global parameter at its default value but setting it for all DLEs is not sufficient to maintain secure backups\&.
1133 .SH "HOLDINGDISK SECTION"
1137 file may define one or more holding disks used as buffers to hold backup images before they are written to tape\&. The syntax is:
1139 define holdingdisk \fIname\fR {
1140 \fIholdingdisk\-option\fR \fIholdingdisk\-value\fR
1145 The { must appear at the end of a line, and the } on its own line\&.
1148 is a logical name for this holding disk\&.
1150 The options and values are:
1152 \fBcomment\fR \fIstring\fR
1154 Default: not set\&. A comment string describing this holding disk\&.
1157 \fBdirectory\fR \fIstring\fR
1160 \fI"/dumps/amanda"\fR\&. The path to this holding area\&.
1166 \fI0 Gb\fR\&. Amount of space that can be used in this holding disk area\&. If the value is zero, all available space on the file system is used\&. If the value is negative, Amanda will use all available space minus that value\&.
1169 \fBchunksize\fR \fIint\fR
1172 \fI1 Gb\fR\&. Holding disk chunk size\&. Dumps larger than the specified size will be stored in multiple holding disk files\&. The size of each chunk will not exceed the specified value\&. However, even though dump images are split in the holding disk, they are concatenated as they are written to tape, so each dump image still corresponds to a single continuous tape section\&.
1174 The default unit is Kbytes if it is not specified\&.
1176 If 0 is specified, Amanda will create holding disk chunks as large as ((INT_MAX/1024)\-64) Kbytes\&.
1178 Each holding disk chunk includes a 32 Kbyte header, so the minimum chunk size is 64 Kbytes (but that would be really silly)\&.
1180 Operating systems that are limited to a maximum file size of 2 Gbytes actually cannot handle files that large\&. They must be at least one byte less than 2 Gbytes\&. Since Amanda works with 32 Kbyte blocks, and to handle the final read at the end of the chunk, the chunk size should be at least 64 Kbytes (2 * 32 Kbytes) smaller than the maximum file size, e\&.g\&. 2047 Mbytes\&.
1182 .SH "DUMPTYPE SECTION"
1185 \fBamanda.conf\fR(5)
1186 file may define multiple sets of backup options and refer to them by name from the
1188 file\&. For instance, one set of options might be defined for file systems that can benefit from high compression, another set that does not compress well, another set for file systems that should always get a full backup and so on\&.
1190 A set of backup options are entered in a
1192 section, which looks like this:
1194 define dumptype "\fIname\fR" {
1195 \fIdumptype\-option\fR \fIdumptype\-value\fR
1200 The { must appear at the end of a line, and the } on its own line\&.
1203 is the name of this set of backup options\&. It is referenced from the
1207 Some of the options in a
1209 section are the same as those in the main part of
1210 \fBamanda.conf\fR(5)\&. The main option value is used to set the default for all
1212 sections\&. For instance, setting
1214 to 50 in the main part of the config file causes all following
1216 sections to start with that value, but the value may be changed on a section by section basis\&. Changes to variables in the main part of the config file must be done before (earlier in the file) any
1217 \fBdumptype\fRs are defined\&.
1219 The dumptype options and values are:
1221 \fBauth\fR \fIstring\fR
1224 \fI"bsdtcp"\fR\&. Type of authorization to perform between tape server and backup client hosts\&. See
1225 \fBamanda-auth\fR(7)
1229 \fBamandad\-path\fR \fIstring\fR
1232 \fI"$libexec/amandad"\fR\&. Specify the amandad path of the client, only use with rsh/ssh authentification\&.
1235 \fBclient\-username\fR \fIstring\fR
1238 \fICLIENT_LOGIN\fR\&. Specify the username to connect on the client, only use with rsh/ssh authentification\&.
1241 \fBclient\-port\fR [ \fIint\fR | \fIstring\fR ]
1244 \fI"amanda"\fR\&. Specifies the port to connect to on the client\&. It can be a service name or a numeric port number\&.
1247 \fBbumpsize\fR \fIint\fR
1250 \fI10 Mbytes\fR\&. The minimum savings required to trigger an automatic bump from one incremental level to the next, expressed as size\&. If Amanda determines that the next higher backup level will be this much smaller than the current level, it will do the next level\&. The value of this parameter is used only if the parameter
1254 The default unit is Kbytes if it is not specified\&.
1256 See also the options
1263 \fBbumppercent\fR \fIint\fR
1266 \fI0\fR\&. The minimum savings required to trigger an automatic bump from one incremental level to the next, expressed as percentage of the current size of the DLE (size of current level 0)\&. If Amanda determines that the next higher backup level will be this much smaller than the current level, it will do the next level\&.
1268 If this parameter is set to 0, the value of the parameter
1270 is used to trigger bumping\&.
1272 See also the options
1279 \fBbumpmult\fR \fIfloat\fR
1282 \fI1\&.5\fR\&. The bump size multiplier\&. Amanda multiplies
1284 by this factor for each level\&. This prevents active filesystems from bumping too much by making it harder to bump to the next level\&. For example, with the default
1288 set to 2\&.0, the bump threshold will be 10 Mbytes for level one, 20 Mbytes for level two, 40 Mbytes for level three, and so on\&.
1291 \fBbumpdays\fR \fIint\fR
1294 \fI2 days\fR\&. To insure redundancy in the dumps, Amanda keeps filesystems at the same incremental level for at least
1296 days, even if the other bump threshold criteria are met\&.
1299 \fBcomment\fR \fIstring\fR
1301 Default: not set\&. A comment string describing this set of backup options\&.
1304 \fBcomprate\fR \fIfloat\fR [, \fIfloat\fR ]
1307 \fI0\&.50, 0\&.50\fR\&. The expected full and incremental compression factor for dumps\&. It is only used if Amanda does not have any history information on compression rates for a filesystem, so should not usually need to be set\&. However, it may be useful for the first time a very large filesystem that compresses very little is backed up\&.
1310 \fBcompress\fR [ \fBnone\fR | \fBclient\fR | \fBserver\fR ] [ \fBbest\fR | \fBfast\fR | \fBcustom\fR ]
1313 \fBclient fast\fR\&. If Amanda does compression of the backup images, it can do so either on the backup client host before it crosses the network or on the tape server host as it goes from the network into the holding disk or to tape\&. Which place to do compression (if at all) depends on how well the dump image usually compresses, the speed and load on the client or server, network capacity, holding disk capacity, availability of tape hardware compression, etc\&.
1315 For either type of compression, Amanda also allows the selection of three styles of compression\&.
1317 is the best compression available, often at the expense of CPU overhead\&.
1319 is often not as good a compression as
1320 \fBbest\fR, but usually less CPU overhead\&. Or to specify
1322 to use your own compression method\&. (See dumptype custom\-compress in example/amanda\&.conf for reference)
1326 options line may be one of:
1332 compress client fast
1336 compress client best
1340 compress client custom
1343 \fBclient\-custom\-compress\fR
1346 PROG must not contain white space and it must accept \-d for uncompress\&.
1349 compress server fast
1353 compress server best
1357 compress server custom
1360 \fBserver\-custom\-compress\fR
1363 PROG must not contain white space and it must accept \-d for uncompress\&.
1366 Note that some tape devices do compression and this option has nothing to do with whether that is used\&. If hardware compression is used (usually via a particular tape device name or
1368 option), Amanda (software) compression should be disabled\&.
1371 \fBclient\-custom\-compress\fR \fIstring\fR
1373 Default: none\&. The program to use to perform compression/decompression on the client; used with "compress client custom"\&. Must not contain whitespace\&. Must accept \-d to uncompress\&.
1376 \fBserver\-custom\-compress\fR \fIstring\fR
1378 Default: none\&. The program to use to perform compression/decompression on the server; used with "compress server custom"\&. Must not contain whitespace\&. Must accept \-d to uncompress\&.
1381 \fBdumpcycle\fR \fIint\fR
1384 \fI10 days\fR\&. The number of days in the backup cycle\&. Each disk using this set of options will get a full backup at least this of ten\&. Setting this to zero tries to do a full backup each run\&.
1387 \fBencrypt\fR [ \fBnone\fR | \fBclient\fR | \fBserver\fR ]
1389 Default: not set\&. To encrypt backup images, it can do so either on the backup client host before it crosses the network or on the tape server host as it goes from the network into the holding disk or to tape\&.
1393 options line may be one of:
1401 Specify client\-encrypt "PROG"
1403 PROG must not contain white space\&.
1405 Specify client\-decrypt\-option "decryption\-parameter" Default: "\-d"
1407 decryption\-parameter must not contain white space\&.
1409 (See dumptype client\-encrypt\-nocomp in example/amanda\&.conf for reference)
1414 Specify server\-encrypt "PROG"
1416 PROG must not contain white space\&.
1418 Specify server\-decrypt\-option "decryption\-parameter" Default: "\-d"
1420 decryption\-parameter must not contain white space\&.
1422 (See dumptype server\-encrypt\-fast in example/amanda\&.conf for reference)
1425 Note that current logic assumes compression then encryption during backup(thus decrypt then uncompress during restore)\&. So specifying client\-encryption AND server\-compression is not supported\&.
1427 which is a wrapper of
1429 is provided as a reference symmetric encryption program\&.
1432 \fBclient\-encrypt\fR \fIstring\fR
1434 Default: none\&. The program to use to perform encryption/decryption on the client; used with "encrypt client"\&. Must not contain whitespace\&.
1437 \fBclient\-decrypt\-option\fR \fIstring\fR
1439 Default: \-d\&. The option that can be passed to client\-encrypt to make it decrypt instead\&. Must not contain whitespace\&.
1442 \fBserver\-encrypt\fR \fIstring\fR
1444 Default: none\&. The program to use to perform encryption/decryption on the server; used with "encrypt server"\&. Must not contain whitespace\&.
1447 \fBserver\-decrypt\-option\fR \fIstring\fR
1449 Default: \-d\&. The option that can be passed to server\-encrypt to make it decrypt instead\&. Must not contain whitespace\&.
1452 \fBestimate\fR [ \fBclient\fR | \fBcalcsize\fR | \fBserver\fR ]+
1455 \fBclient\fR\&. 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:
1459 Use the same program as the dumping program\&. This is the most accurate method to do estimates, but it can take a long time\&.
1464 Use a faster program to do estimates, but the result is less accurate\&.
1469 Use only statistics from the previous few runs to give an estimate\&. This very quick, but the result is not accurate if your disk usage changes from day to day\&. If this method is specified, but the server does not have enough data to make an estimate, then the option is internally moved to the end of the list, thereby preferring \*(Aqclient\*(Aq or \*(Aqcalcsize\*(Aq in this case\&.
1473 \fBexclude\fR [ \fBlist\fR | \fBfile\fR ][[\fBoptional\fR][\fBappend\fR][ \fIstring\fR ]+]
1476 \fBfile\fR\&. Exclude is the opposite of
1478 and specifies files that will be excluded from the backup\&. The format of the exclude expressions depends on the application, and some applications do not support excluding files at all\&.
1480 There are two exclude parameters,
1490 is an exclude expression\&. With
1495 is a file name on the client containing
1497 exclude expressions\&. The path to the specified exclude list file, if present (see description of \*(Aqoptional\*(Aq below), must be readable by the Amanda user\&.
1499 All exclude expressions are concatenated in one file and passed to the application as an
1500 \fB\-\-exclude\-from\fR
1504 \fBGNU\-tar\fR, exclude expressions must always be specified as relative to the top\-level directory of the DLE, and must start with "\&./"\&. See the manpages for individual applications for more information on supported exclude expressions\&.
1510 is appended to the current list, without it, the
1512 overwrites the list\&.
1518 \fBlist\fR, then amcheck will not complain if the file doesn\*(Aqt exist or is not readable\&.
1522 \fBlist\fR, if the file name is relative, the disk name being backed up is prepended\&. So if this is entered:
1524 exclude list "\&.amanda\&.excludes"
1526 the actual file used would be
1527 /var/\&.amanda\&.excludes
1530 /usr/local/\&.amanda\&.excludes
1532 /usr/local, and so on\&.
1535 \fBholdingdisk\fR [ \fBnever\fR | \fBauto\fR | \fBrequired\fR ]
1538 \fBauto\fR\&. Whether a holding disk should be used for these backups or whether they should go directly to tape\&. If the holding disk is a portion of another file system that Amanda is backing up, that file system should refer to a dumptype with
1542 to avoid backing up the holding disk into itself\&.
1544 \fBnever\fR|no|false|off
1546 Never use a holdingdisk, the dump will always go directly to tape\&. There will be no dump if you have a tape error\&.
1549 \fBauto\fR|yes|true|on
1551 Use the holding disk, unless there is a problem with the holding disk, the dump won\*(Aqt fit there or the medium doesn\*(Aqt require spooling (e\&.g\&., VFS device)
1556 Always dump to holdingdisk, never directly to tape\&. There will be no dump if it doesn\*(Aqt fit on holdingdisk
1560 \fBignore\fR \fIboolean\fR
1563 \fBno\fR\&. Whether disks associated with this backup type should be backed up or not\&. This option is useful when the
1565 file is shared among several configurations, some of which should not back up all the listed file systems\&.
1568 \fBinclude\fR [ \fBlist\fR | \fBfile\fR ][[\fBoptional\fR][\fBappend\fR][ \fIstring\fR ]+]
1572 "\&."\&. There are two include lists,
1575 \fBinclude list\&.\fR
1580 is a glob expression\&. With
1584 is a file name on the client containing glob expressions\&.
1586 All include expressions are expanded by Amanda, concatenated in one file and passed to
1589 \fB\-\-files\-from\fR
1590 argument\&. They must start with "\&./" and contain no other "/"\&.
1592 Include expressions must always be specified as relative to the head directory of the DLE\&.
1598 .nr an-no-space-flag 1
1605 For globbing to work at all, even the limited single level, the top level directory of the DLE must be readable by the Amanda user\&.
1612 is appended to the current list, without it, the
1614 overwrites the list\&.
1619 \fBinclude list\fR, then amcheck will not complain if the file doesn\*(Aqt exist or is not readable\&.
1622 \fBinclude list\fR, If the file name is relative, the disk name being backed up is prepended\&.
1625 \fBindex\fR \fIboolean\fR
1628 \fBno\fR\&. Whether an index (catalogue) of the backup should be generated and saved in
1629 \fBindexdir\fR\&. These catalogues are used by the
1634 \fBkencrypt\fR \fIboolean\fR
1637 \fBno\fR\&. Whether the backup image should be encrypted by Kerberos as it is sent across the network from the backup client host to the tape server host\&.
1640 \fBmaxdumps\fR \fIint\fR
1643 \fI1\fR\&. The maximum number of backups from a single host that Amanda will attempt to run in parallel\&. See also the main section parameter
1647 \fBmaxpromoteday\fR \fIint\fR
1650 \fI10000\fR\&. The maximum number of day for a promotion, set it 0 if you don\*(Aqt want promotion, set it to 1 or 2 if your disks get overpromoted\&.
1653 \fBpriority\fR [ \fBlow\fR | \fBmedium\fR | \fBhigh\fR ]
1656 \fBmedium\fR\&. When there is no tape to write to, Amanda will do incremental backups in priority order to the holding disk\&. The priority may be high (2), medium (1), low (0) or a number of your choice\&.
1659 \fBprogram\fR [ \fB"DUMP"\fR | \fB"GNUTAR"\fR | \fB"APPLICATION"\fR ]
1662 \fI"DUMP"\fR\&. The type of backup to perform\&. Valid values are:
1666 The native operating system backup program\&.
1671 To use GNU\-tar or to do PC backups using Samba\&.
1676 To use an application, see the
1682 \fBapplication\fR \fIstring\fR
1684 No default\&. Must be the name of an application if
1687 \fIAPPLICATION\fR\&. See APPLICATION SECTION below\&.
1690 \fBscript\fR \fIstring\fR
1692 No default\&. Must be the name of a script\&. You can have many script\&. See SCRIPT SECTION below\&.
1695 \fBproperty\fR [\fBappend\fR] \fIstring\fR \fIstring\fR+
1697 These options can set various properties, they can be used by third party software to store information in the configuration file\&. Both strings are quoted; the first string contains the name of the property to set, and the others contains its values\&.
1699 keyword append the values to the list of values for that property\&.
1702 \fBrecord\fR \fIboolean\fR
1705 \fByes\fR\&. Whether to ask the backup program to update its database (e\&.g\&.
1708 /usr/local/var/amanda/gnutar\-lists
1709 for GNUTAR) of time stamps\&. This is normally enabled for daily backups and turned off for periodic archival runs\&.
1712 \fBskip\-full\fR \fIboolean\fR
1719 has scheduled a full backup, these disks will be skipped, and full backups should be run off\-line on these days\&. It was reported that Amanda only schedules level 1 incrementals in this configuration; this is probably a bug\&.
1722 \fBskip\-incr\fR \fIboolean\fR
1729 has scheduled an incremental backup, these disks will be skipped\&.
1732 \fBssh\-keys\fR \fIstring\fR
1734 Default: not set\&. 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\&.
1737 \fBstarttime\fR \fIint\fR
1739 Default: not set\&. Backup of these disks will not start until after this time of day\&. The value should be hh*100+mm, e\&.g\&. 6:30PM (18:30) would be entered as
1743 \fBstrategy\fR [ \fBstandard\fR | \fBnofull\fR | \fBnoinc\fR | \fBskip\fR | \fBincronly\fR ]
1746 \fBstandard\fR\&. Strategy to use when planning what level of backup to run next\&. Values are:
1750 The standard Amanda schedule\&.
1755 Never do full backups, only level 1 incrementals\&.
1760 Never do incremental backups, only full dumps\&.
1765 Treat this DLE as if it doesn\*(Aqt exist (useful to disable DLEs when sharing the
1767 file between multiple configurations)\&. Skipped DLEs will not be checked or dumped, and will not be matched by disklist expressions\&.
1772 Only do incremental dumps\&.
1774 should be used to tell Amanda that a full dump has been performed off\-line, so that it resets to level 1\&.
1778 \fBallow\-split\fR \fIbool\fR
1780 Default: true\&. If true, then dumps with this dumptype can be split on the storage media\&. If false, then the dump will be written in a single file on the media\&. See "Dump Splitting Configuration" below\&.
1783 \fBtape\-splitsize\fR \fIint\fR
1785 Deprecated\&. See "Dump Splitting Configuration" below\&.
1787 Default: not set\&. Split dump file on tape into pieces of a specified size\&. The default unit is Kbytes if it is not specified\&.
1790 \fBsplit\-diskbuffer\fR \fIstring\fR
1793 Deprecated\&. See "Dump Splitting Configuration" below\&.
1794 Default: not set\&. 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\&.
1797 \fBfallback\-splitsize\fR \fIint\fR
1799 Deprecated\&. See "Dump Splitting Configuration" below\&.
1802 \fI10M\fR\&. This specifies the part size used when no
1803 \fBsplit\-diskbuffer\fR
1804 is specified, or when it is too small or does not exist, and thus the maximum amount of memory consumed for in\-memory splitting\&. The default unit is Kbytes if it is not specified\&.
1807 \fBrecovery\-limit\fR [ \fBserver\fR | \fBsame\-host\fR | \fIstring\fR ]*
1809 Default: global value\&. This parameter overrides the global
1810 \fBrecovery\-limit\fR
1811 parameter for DLEs of this dumptype\&.
1814 \fBdump\-limit\fR [ \fBserver\fR | \fBsame\-host\fR ]*
1817 \fBserver\fR\&. Specify which host can initiate a backup of the dle\&. With
1818 \fBserver\fR, the server can initiate a backup with the
1821 \fBsame\-host\fR, the client can initiate a backup with the
1828 entries are predefined by Amanda:
1830 define dumptype "no\-compress" {
1833 define dumptype "compress\-fast" {
1834 compress client fast
1836 define dumptype "compress\-best" {
1837 compress client best
1839 define dumptype "srvcompress" {
1840 compress server fast
1842 define dumptype "bsd\-auth" {
1845 define dumptype "bsdtcp\-auth" {
1848 define dumptype "no\-record" {
1851 define dumptype "no\-hold" {
1854 define dumptype "no\-full" {
1859 In addition to options in a
1861 section, one or more other
1863 names may be supplied as identifiers, which make this
1865 inherit options from other previously defined
1866 \fBdumptype\fRs\&. For instance, two sections might be the same except for the
1870 define dumptype "normal" {
1871 comment "Normal backup, no compression, do indexing"
1876 define dumptype "testing" {
1877 comment "Test backup, no compression, do indexing, no recording"
1890 \fBdumptype\fRs should reference\&. This provides an easy place to make changes that will affect every
1891 \fBdumptype\fR, although you must be careful that every dumptype explicitly inherits from the
1893 dumptype \- Amanda does not do so automatically\&.
1894 .SH "TAPETYPE SECTION"
1898 file may define multiple types of tape media and devices\&. The information is entered in a
1900 section, which looks like this in the config file:
1902 define tapetype "\fIname\fR" {
1903 \fItapetype\-option\fR \fItapetype\-value\fR
1908 The { must appear at the end of a line, and the } on its own line\&.
1911 is the name of this type of tape medium/device\&. It is referenced from the
1913 option in the main part of the config file\&.
1915 The tapetype options and values are:
1917 \fBcomment\fR \fIstring\fR
1919 Default: not set\&. A comment string describing this set of tape information\&.
1922 \fBfilemark\fR \fIint\fR
1925 \fI1 kbytes\fR\&. How large a file mark (tape mark) is, measured in kbytes\&. If the size is only known in some linear measurement (e\&.g\&. inches), convert it to kbytes using the device density\&.
1928 \fBlength\fR \fIint\fR
1931 \fI2000 kbytes\fR\&. How much data will fit on a tape, expressed in kbytes\&.
1933 Note that this value is only used by Amanda to schedule which backups will be run\&. Once the backups start, Amanda will continue to write to a tape until it gets an error, regardless of what value is entered for
1936 \fBamanda-devices\fR(7)
1940 \fBblocksize\fR \fIint\fR
1943 \fI32 kbytes\fR\&. How much data will be written in each tape record, expressed in kbytes\&. This is similar to the
1945 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\&.
1948 \fBreadblocksize\fR \fIint\fR
1952 How much data will be read in each tape record\&. This can be used to override a device\*(Aqs block size for reads only\&. This may be useful, for example, in reading a tape written with a 256k block size when Amanda is configured to use 128k blocks\&. This unusual feature is not supported by all operating systems and tape devices\&.
1954 The default unit is Kbytes if it is not specified\&.
1957 \fBpart\-size\fR \fIint\fR
1959 Default: none\&. This is the size (in KB if no units are specified) of each split part written to the volume\&. It is reduced to
1960 \fBpart\-cache\-max\-size\fR
1961 when part caching is required\&. If this is set to zero, then no splitting will take place; in this case, some devices can span dumps from volume to volume, while others will cause the entire dump to fail if they encounter end\-of\-medium before the dump is complete\&. See "Dump Splitting Configuration" below\&.
1964 \fBpart\-cache\-type\fR [ \fBnone\fR | \fBdisk\fR | \fBmemory\fR ]
1966 Default: none\&. When part caching is required, this parameter specifies the type of caching that will be used\&. The options include no caching (\fBnone\fR), in which case a failed part will cause the entire dump to fail; on\-disk caching (\fBdisk\fR), for which
1967 \fBpart\-cache\-dir\fR
1968 must be set properly; and in\-memory caching (\fBmemory\fR), which on most systems severely restrains the size of the part that can be written\&. See "Dump Splitting Configuration" below\&.
1971 \fBpart\-cache\-dir\fR \fIstring\fR
1973 Default: none\&. The directory in which part\-cache files can be written when caching on disk\&. See "Dump Splitting Configuration" below\&.
1976 \fBpart\-cache\-max\-size\fR \fIint\fR
1978 Default: none\&. The maximum part size to use when caching is in effect\&. This is used to limit the part size when disk or memory space for caching is constrained\&. This value must be greater than zero\&.
1981 \fBspeed\fR \fIint\fR
1984 \fI200 bps\fR\&. How fast the drive will accept data, in bytes per second\&. This parameter is NOT currently used by Amanda\&.
1987 \fBlbl\-templ\fR \fIstring\fR
1989 Default: not set\&. A PostScript template file used by
1991 to generate labels\&. Several sample files are provided with the Amanda sources in the
1993 directory\&. See the
1995 man page for more information\&.
1998 In addition to options, another
2000 name may be supplied as an identifier, which makes this
2002 inherit options from another
2003 \fBtapetype\fR\&. For instance, the only difference between a DLT4000 tape drive using Compact\-III tapes and one using Compact\-IV tapes is the length of the tape\&. So they could be entered as:
2005 define tapetype "DLT4000\-III" {
2006 comment "DLT4000 tape drives with Compact\-III tapes"
2007 length 12500 mbytes # 10 Gig tapes with some compression
2008 filemark 2000 kbytes
2011 define tapetype "DLT4000\-IV" {
2013 comment "DLT4000 tape drives with Compact\-IV tapes"
2014 length 25000 mbytes # 20 Gig tapes with some compression
2017 .SH "INTERFACE SECTION"
2021 file may define multiple types of network interfaces\&. The information is entered in an
2023 section, which looks like this:
2025 define interface "\fIname\fR" {
2026 \fIinterface\-option\fR \fIinterface\-value\fR
2031 The { must appear at the end of a line, and the } on its own line\&.
2034 is the name of this type of network interface\&. It is referenced from the
2038 Note that these sections define network interface characteristics, not the actual interface that will be used\&. Nor do they impose limits on the bandwidth that will actually be taken up by Amanda\&. Amanda computes the estimated bandwidth each file system backup will take based on the estimated size and time, then compares that plus any other running backups with the limit as another of the criteria when deciding whether to start the backup\&. Once a backup starts, Amanda will use as much of the network as it can leaving throttling up to the operating system and network hardware\&.
2040 The interface options and values are:
2042 \fBcomment\fR \fIstring\fR
2044 Default: not set\&. A comment string describing this set of network information\&.
2050 \fI80000 Kbps\fR\&. The speed of the interface in Kbytes per second\&.
2053 In addition to options, another
2055 name may be supplied as an identifier, which makes this
2057 inherit options from another
2058 \fBinterface\fR\&. At the moment, this is of little use\&.
2059 .SH "APPLICATION SECTION"
2063 file may define multiple types of application\&. The information is entered in a
2065 section, which looks like this:
2067 define application "\fIname\fR" {
2068 \fIapplication\-option\fR \fIapplication\-value\fR
2073 The { must appear at the end of a line, and the } on its own line\&.
2076 is the name of this type of application\&. It is referenced from the
2079 The application options and values are:
2081 \fBclient\-name\fR \fIstring\fR
2083 No default, specifies an application name that is in the amanda\-client\&.conf on the client\&. The setting from that application will be merged with the current application\&. If
2085 is set then it is an error if that application is not defined on the client\&.
2089 is not set then the merge is done with the application that have the name equal to the plugin\&. eg\&. if the plugin is \*(Aqamgtar\*(Aq, then the setting from the application \*(Aqamgtar\*(Aq is used if it is defined\&.
2092 \fBcomment\fR \fIstring\fR
2094 Default: not set\&. A comment string describing this application\&.
2097 \fBplugin\fR \fIstring\fR
2099 No default\&. Must be set to the name of the program\&. This program must be in the
2100 \fI$libexecdir/amanda/application\fR
2101 directory on the client\&.
2104 \fBproperty\fR [\fBappend\fR] [\fBpriority\fR] \fIstring\fR \fIstring\fR+
2106 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 the property to set, and the others contains its values\&.
2108 keyword append the values to the list of values for that property\&.
2110 keyword disallow the setting of that property on the client\&.
2112 .SH "SCRIPT SECTION"
2116 file may define multiple types of script\&. The information is entered in a
2118 section, which looks like this:
2120 define script "\fIname\fR" {
2121 \fIscript\-option\fR \fIscript\-value\fR
2126 The { must appear at the end of a line, and the } on its own line\&.
2129 is the name of this type of script\&. It is referenced from the
2132 The script options and values are:
2134 \fBclient\-name\fR \fIstring\fR
2136 No default, specifies a script name that is in the amanda\-client\&.conf on the client\&. The setting from that script will be merged with the currect script\&. If
2138 is set then it is an error if that script is not defined on the client\&.
2142 is not set then the merge is done with the script that have the name equal to the plugin\&. eg\&. if the plugin is \*(Aqamlog\-script\*(Aq, then the setting from the script \*(Aqamlog\-script\*(Aq is used\&.
2145 \fBcomment\fR \fIstring\fR
2147 Default: not set\&. A comment string describing this script\&.
2150 \fBplugin\fR \fIstring\fR
2152 No default\&. Must be set to the name of the program\&. This program must be in the
2153 \fI$libexecdir/amanda/application\fR
2154 directory on the client and/or server\&.
2157 \fBorder\fR \fIint\fR
2160 \fI5000\fR\&. Scripts are executed in that order, it is useful if you have many scripts and they must be executed in a spefific order\&.
2163 \fBsingle\-execution\fR \fIboolean\fR
2166 \fIno\fR\&. The script is executed for each dle\&. If
2167 \fIyes\fR, the script is executed one time only\&.
2170 \fBexecute\-where\fR [ \fBclient\fR | \fBserver\fR ]
2173 \fBclient\fR\&. Where the script must be executed, on the client or server\&.
2176 \fBexecute\-on\fR \fIexecute_on\fR [,\fIexecute_on\fR]*
2178 No default\&. When the script must be executed, you can specify many of them:
2182 Execute before the amcheck command for all dle\&. Can only be run on server\&.
2185 \fBpre\-dle\-amcheck\fR
2187 Execute before the amcheck command for the dle\&.
2190 \fBpre\-host\-amcheck\fR
2192 Execute before the amcheck command for all dle for the client\&.
2197 Execute after the amcheck command for all dle\&. Can only be run on server\&.
2200 \fBpost\-dle\-amcheck\fR
2202 Execute after the amcheck command for the dle\&.
2205 \fBpost\-host\-amcheck\fR
2207 Execute after the amcheck command for all dle for the client\&.
2212 Execute before the estimate command for all dle\&. Can only be run on server\&.
2215 \fBpre\-dle\-estimate\fR
2217 Execute before the estimate command for the dle\&.
2220 \fBpre\-host\-estimate\fR
2222 Execute before the estimate command for all dle for the client\&.
2225 \fBpost\-estimate\fR
2227 Execute after the estimate command for all dle\&. Can only be run on server\&.
2230 \fBpost\-dle\-estimate\fR
2232 Execute after the estimate command for the dle\&.
2235 \fBpost\-host\-estimate\fR
2237 Execute after the estimate command for all dle for the client\&.
2242 Execute before the backup command for all dle\&. Can only be run on server\&.
2245 \fBpre\-dle\-backup\fR
2247 Execute before the backup command for the dle\&.
2250 \fBpre\-host\-backup\fR
2252 Execute before the backup command for all dle for the client\&. It can\*(Aqt be run on client, it must be run on server
2257 Execute after the backup command for all dle\&. Can only be run on server\&.
2260 \fBpost\-dle\-backup\fR
2262 Execute after the backup command for the dle\&.
2265 \fBpost\-host\-backup\fR
2267 Execute after the backup command for all dle for the client\&. It can\*(Aqt be run on client, it must be run on server
2272 Execute before any level is recovered\&.
2277 Execute after all levels are recovered\&.
2280 \fBpre\-level\-recover\fR
2282 Execute before each level recovery\&.
2285 \fBpost\-level\-recover\fR
2287 Execute after each level recovery\&.
2290 \fBinter\-level\-recover\fR
2292 Execute between two levels of recovery\&.
2295 If you recover level 0 and 2 of the disk /usr with amrecover, it will execute:
2297 script \-\-pre\-recover
2298 script \-\-pre\-level\-recover \-\-level 0
2300 script \-\-post\-level\-recover \-\-level 0
2301 script \-\-inter\-level\-recover \-\-level 0 \-\-level 2
2302 script \-\-pre\-level\-recover \-\-level 2
2304 script \-\-post\-level\-recover \-\-level 2
2305 script \-\-post\-recover
2309 \fBproperty\fR [\fBappend\fR] [\fBpriority\fR] \fIstring\fR \fIstring\fR+
2311 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 the property to set, and the others contains its values\&.
2313 keyword append the values to the list of values for that property\&.
2315 keyword disallow the setting of that property on the client\&.
2317 .SH "DEVICE SECTION"
2319 Backend storage devices are specified in
2321 in the form of "device" sections, which look like this:
2323 define device \fIname\fR {
2324 commend "\fIcomment (optional)\fR"
2325 tapedev "\fIdevice\-specifier\fR"
2326 device\-property "\fIprop\-name\fR" "\fIprop\-value\fR"
2331 The { must appear at the end of a line, and the } on its own line\&.
2334 is the user\-specified name of this device\&. It is referenced from the global
2337 \fIdevice\-specifier\fR
2338 specifies the device name to use; see
2339 \fBamanda-devices\fR(7)\&. As with most sections, the
2341 parmeter is optional and only for the user\*(Aqs convenience\&.
2343 An arbitrary number of
2344 \fIdevice\-property\fR
2345 parameters can be specified\&. Again, see
2346 \fBamanda-devices\fR(7)
2347 for information on device properties\&.
2348 .SH "CHANGER SECTION"
2350 Changers are described in
2352 in the form of "changer" sections, which look like this:
2354 define changer \fIname\fR {
2355 comment "\fIcomment (optional)\fR"
2356 tpchanger "\fIchanger\-spec\fR"
2357 changerdev "\fIdevice\-name\fR"
2358 changerfile "\fIstate\-file\fR"
2363 The { must appear at the end of a line, and the } on its own line\&.
2366 is the user\-specified name of this device\&. The remaining parameters are specific to the changer type selected\&.
2369 \fBamanda-changers\fR(7)
2370 for more information on configuring changers\&.
2371 .SH "INTERACTIVITY SECTION"
2375 file may define multiple interactivyt methods, although only one will be used \- that specified by the
2377 parameter\&. The information is entered in a
2379 section, which looks like this:
2381 define interactivity \fIname\fR {
2382 \fIinteractivity\-option\fR \fIinteractivity\-value\fR
2387 The { must appear at the end of a line, and the } on its own line\&.
2390 is the user\-specified name of this interactivity\&. The remaining parameters are specific to the interactivity type selected\&.
2392 The interactivity options and values are:
2394 \fBcomment\fR \fIstring\fR
2396 Default: not set\&. A comment string describing this interactivity\&.
2399 \fBplugin\fR \fIstring\fR
2401 No default\&. Must be set to the name of the interactivity module, as described in
2402 \fBamanda-interactivity\fR(7)\&.
2405 \fBproperty\fR [\fBappend\fR] \fIstring\fR \fIstring\fR+
2407 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 the property to set, and the others contains its values\&. All strings should be quoted\&. The
2409 keyword appends the given values to an existing list of values for that property\&.
2413 \fBamanda-interactivity\fR(7)
2414 for more information on configuring interactivity methods\&.
2415 .SH "TAPERSCAN SECTION"
2419 file may define multiple taperscan methods, although only one will be used \- that specified by the
2421 parameter\&. The information is entered in a
2423 section, which looks like this:
2425 define taperscan \fIname\fR {
2426 \fItaperscan\-option\fR \fItaperscan\-value\fR
2431 The { must appear at the end of a line, and the } on its own line\&.
2434 is the user\-specified name of this taperscan\&. The remaining parameters are specific to the taperscan type selected\&.
2436 The taperscan options and values are:
2438 \fBcomment\fR \fIstring\fR
2440 Default: not set\&. A comment string describing this taperscan\&.
2443 \fBplugin\fR \fIstring\fR
2445 No default\&. Must be set to the name of the taperscan module\&. See
2447 for a list of defined taperscan modules\&.
2450 \fBproperty\fR [\fBappend\fR] \fIstring\fR \fIstring\fR+
2452 No default\&. Operates just like properties for interactivity methods, above\&.
2456 \fBamanda-taperscan\fR(7)
2457 for more information on configuring taperscan\&.
2458 .SH "DUMP SPLITTING CONFIGURATION"
2460 Amanda can "split" dumps into parts while writing them to storage media\&. This allows Amanda to recover gracefully from a failure while writing a part to a volume, by simply selecting a new volume and re\-writing the dump from the beginning of the failed part\&. Parts also allow Amanda to seek directly to the required data, although this functionality is not yet used\&.
2462 In order to support re\-writing from the beginning of a failed part, Amanda must have access to the contents of the part after it has been partially written\&. If the dump is being read from holding disk, then the part contents are availble there\&. Otherwise, the part must be cached, and this can be done memory or on disk\&. In either of the latter cases, the cache must have enough space to hold an entire part\&.
2464 Because it is common for a single Amanda configuration to use both holding\-disk (FILE\-WRITE) and direct (known as PORT\-WRITE) dumps, Amanda allows the configuration of different split sizes for the two cases\&. This allows, for example, for a part size appropriate to large tapes when performing FILE\-WRITE dumps, with a part size limited by available disk or memory when performing PORT\-WRITE dumps\&.
2466 Selecting a proper split size is a delicate matter\&. If the parts are too large, substantial storage space may be wasted in failed parts\&. If too small, large dumps will be split into innumerable tiny dumpfiles, adding to restoration complexity; furthermore, an excess of filemarks will cause slower tape drive operation and reduce the usable space on tape\&. A good rule of thumb is 1/10 of the size of a volume of storage media\&.
2468 In versions of Amanda through 3\&.1\&.*, splitting was controlled by the dumptype parameters
2469 \fBtape\-splitsize\fR,
2470 \fBsplit\-diskbuffer\fR, and
2471 \fBfallback\-splitsize\fR\&. These keywords had confusing and non\-intuitive interactions, and have since been deprecated\&.
2473 If the deprecated keywords are not present, subsequent versions of Amanda use the dumptype parameter
2475 to control whether a DLE can be split, and the
2479 \fBpart\-cache\-type\fR,
2480 \fBpart\-cache\-dir\fR, and
2481 \fBpart\-cache\-max\-size\fR\&. The
2483 specifies the "normal" part size, while the
2484 \fBpart\-cache\-*\fR
2485 parameters describe how to behave when caching is required (on PORT\-WRITE)\&. Full details on these parameters are given above\&.
2489 \fBamanda-client.conf\fR(5),
2490 \fBamanda-applications\fR(7),
2491 \fBamanda-auth\fR(7),
2492 \fBamanda-changers\fR(7),
2493 \fBamanda-devices\fR(7),
2494 \fBamanda-interactivity\fR(7),
2495 \fBamanda-scripts\fR(7),
2496 \fBamanda-taperscan\fR(7)
2499 : http://wiki.zmanda.com/
2502 \fBJames da Silva\fR <\&jds@amanda\&.org\&>
2504 \fBStefan G\&. Weichinger\fR <\&sgw@amanda\&.org\&>