1 .\"Generated by db2man.xsl. Don't modify this, modify the source.
10 .de Sp \" Vertical space (when we can't use .PP)
16 .ie \\n(.$>=3 .ne \\$3
20 .TH "AMANDA.CONF" 5 "" "" ""
22 amanda.conf \- Main configuration file for AMANDA, the Advanced Maryland Automatic Network Disk Archiver
26 \fIamanda\&.conf\fR is the main configuration file for \fBAMANDA\fR\&. This manpage lists the relevant sections and parameters of this file for quick reference\&.
31 There are a number of configuration parameters that control the behavior of the \fBAMANDA\fR programs\&. All have default values, so you need not specify the parameter in \fBamanda\&.conf\fR if the default is suitable\&.
34 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\&.
37 Keywords are case insensitive, i\&.e\&. \fBmailto\fR and \fBMailTo\fR are treated the same\&.
40 Integer arguments may have one of the following (case insensitive) suffixes, some of which have a multiplier effect:
42 .SS "POSSIBLE SUFFIXES"
46 Some number of bytes\&.
50 Some number of bytes per second\&.
53 \fBk kb kbyte kbytes kilobyte kilobytes\fR
54 Some number of kilobytes (bytes*1024)\&.
58 Some number of kilobytes per second (bytes*1024)\&.
61 \fBm mb meg mbyte mbytes megabyte megabytes\fR
62 Some number of megabytes (bytes*1024*1024)\&.
66 Some number of megabytes per second (bytes*1024*1024)\&.
69 \fBg gb gbyte gbytes gigabyte gigabytes\fR
70 Some number of gigabytes (bytes*1024*1024*1024)\&.
74 Some number of tapes\&.
78 Some number of days\&.
82 Some number of weeks (days*7)\&.
84 .RS .Sh "Note" The value \fBinf\fR may be used in most places where an integer is expected to mean an infinite amount\&. Boolean arguments may have any of the values \fBy\fR, \fByes\fR, \fBt\fR, \fBtrue\fR or \fBon\fR to indicate a true state, or \fBn\fR, \fBno\fR, \fBf\fR, \fBfalse\fR or \fBoff\fR to indicate a false state\&. If no argument is given, \fBtrue\fR is assumed\&. .RE
89 \fBorg\fR \fB string\fR
90 Default: \fBdaily\fR\&. A descriptive name for the configuration\&. This string appears in the Subject line of mail reports\&. Each \fBAMANDA\fR configuration should have a different string to keep mail reports distinct\&.
93 \fBmailto\fR \fB string\fR
94 Default: \fBoperators\fR\&. A space separated list of recipients for mail reports\&.
97 \fBdumpcycle\fR \fB int\fR
98 Default: \fB10 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\&.
100 .RS .Sh "Note" This parameter may also be set in a specific \fBdumptype\fR (see below)\&. This value sets the default for all \fBdumptype\fRs so must appear in \fBamanda\&.conf\fR before any \fBdumptype\fRs are defined\&. .RE
103 \fBrunspercycle\fR \fB int\fR
104 Default: \fBsame as dumpcycle\fR\&. The number of amdump runs in \fBdumpcycle\fR days\&. A value of 0 means the same value as \fBdumpcycle\fR\&. A value of \-1 means guess the number of runs from the \fBtapelist\fR file, which is the number of tapes used in the last \fBdumpcycle\fR days / \fBruntapes\fR\&.
107 \fBtapecycle\fR \fB int\fR
108 Default: \fB15 tapes\fR\&. Typically tapes are used by \fBAMANDA\fR in an ordered rotation\&. The \fBtapecycle\fR parameter defines the size of that rotation\&. The number of tapes in rotation must be larger than the number of tapes required for a complete dump cycle (see the \fBdumpcycle\fR parameter)\&.
110 This is calculated by multiplying the number of \fBamdump\fR runs per dump cycle (\fBrunspercycle\fR parameter) times the number of tapes used per run (\fBruntapes\fR parameter)\&. Typically two to four times this calculated number of tapes are in rotation\&. While \fBAMANDA\fR is always willing to use a new tape in its rotation, it refuses to reuse a tape until at least '\fBtapecycle\fR \-1' number of other tapes have been used\&.
112 It is considered good administrative practice to set the \fBtapecycle\fR parameter slightly lower than the actual number of tapes in rotation\&. 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\&.
115 \fBdumpuser\fR \fB string\fR
116 Default: \fBamanda\fR\&. The login name \fBAMANDA\fR uses to run the backups\&. The backup client hosts must allow access from the tape server host as this user via \&.rhosts or \&.amandahosts, depending on how the \fBAMANDA\fR software was built\&.
120 Printer to use when doing tape labels\&. See the \fBlbl\-templ\fR \fBtapetype\fR option\&.
124 Default: \fI/dev/nst0\fR\&. The path name of the non\-rewinding tape device\&. Non\-rewinding tape device names often have an 'n' in the name, e\&.g\&. \fI/dev/rmt/0mn\fR, however this is operating system specific and you should consult that documentation for detailed naming information\&.
126 If a tape changer is configured (see the \fBtpchanger\fR option), this option might not be used\&.
128 If the \fBnull\fR output driver is selected (see the section OUTPUT DRIVERS in the \fBamanda\fR(8) manpage for more information), programs such as \fBamdump\fR will run normally but all images will be thrown away\&. This should only be used for debugging and testing, and probably only with the \fBrecord\fR option set to \fBno\fR\&.
131 \fBrawtapedev\fR string
132 Default: \fI/dev/null\fR\&. The path name of the raw tape device\&. This is only used if \fBAMANDA\fR is compiled for Linux machines with floppy tapes and is needed for QIC volume table operations\&.
135 \fBtpchanger\fR string
136 Default: \fBnone\fR\&. The name of the tape changer\&. If a tape changer is not configured, this option is not used and should be commented out of the configuration file\&.
138 If a tape changer is configured, choose one of the changer scripts (e\&.g\&. \fBchg\-scsi\fR) and enter that here\&.
141 \fBchangerdev\fR string
142 Default: \fI/dev/null\fR\&. A tape changer configuration parameter\&. Usage depends on the particular changer defined with the \fBtpchanger\fR option\&.
145 \fBchangerfile\fR string
146 Default: \fI/usr/adm/amanda/log/changer\-status\fR\&. A tape changer configuration parameter\&. Usage depends on the particular changer defined with the \fBtpchanger\fR option\&.
150 Default: 1\&. 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\&.
152 If a tape changer is configured, this may be set larger than one to let \fBAMANDA\fR write to more than one tape\&.
154 Note that this is an upper bound on the number of tapes, and \fBAMANDA\fR may use less\&.
156 Also note that as of this release, \fBAMANDA\fR does not support true tape overflow\&. When it reaches the end of one tape, the backup image \fBAMANDA\fR was processing starts over again on the next tape\&.
159 \fBmaxdumpsize\fR int
160 Default: \fBruntapes\fR*\fBtape_length\fR\&. Maximum number of bytes the planner will schedule for a run\&.
163 \fBtaperalgo\fR [first|firstfit|largest|largestfit|smallest|last]
164 Default: \fBfirst\fR\&. The algorithm used to choose which dump image to send to the taper\&.
170 First in, first out\&.
174 The first dump image that will fit on the current tape\&.
178 The largest dump image\&.
182 The largest dump image that will fit on the current tape\&.
186 The smallest dump image\&.
190 Last in, first out\&.
196 \fBlabelstr\fR \fB string\fR
197 Default: \fB\&.*\fR\&. The tape label constraint regular expression\&. All tape labels generated (see \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's tapes\&.
200 \fBtapetype\fR \fB string\fR
201 Default: \fBEXABYTE\fR\&. The type of tape drive associated with \fBtapedev\fR or \fBtpchanger\fR\&. This refers to one of the defined \fBtapetype\fRs in the config file (see below), which specify various tape parameters, like the \fBlength\fR, \fBfilemark\fR size, and \fBspeed\fR of the tape media and device\&.
205 Default: \fB30 seconds\fR\&. Maximum amount of time that \fBamcheck\fR will wait for each client host\&.
209 Default: \fB1800 seconds\fR\&. Amount of idle time per disk on a given client that a \fBdumper\fR running from within \fBamdump\fR will wait before it fails with a data timeout error\&.
213 Default: \fB300 seconds\fR\&. Amount of time per disk on a given client that the \fBplanner\fR step of \fBamdump\fR will wait to get the dump size estimates\&. For instance, with the default of 300 seconds and four disks on client A, \fBplanner\fR will wait up to 20 minutes for that machine\&. A negative value will be interpreted as a total amount of time to wait per client instead of per disk\&.
217 Default: \fB300 Kbps\fR\&. The maximum network bandwidth allocated to \fBAMANDA\fR, in Kbytes per second\&. See also the \fBinterface\fR section\&.
221 Default: 10\&. The maximum number of backups that \fBAMANDA\fR will attempt to run in parallel\&. \fBAMANDA\fR will stay within the constraints of network bandwidth and holding disk space available, so it doesn't 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\&.
224 \fBdisplayunit\fR "k|m|g|t"
225 Default: "k"\&. The unit used to print many numbers, k=kilo, m=mega, g=giga, t=tera\&.
228 \fBdumporder\fR string
229 Default: \fBtttTTTTTTT\fR\&. The priority order of each dumper:
246 b: smallest bandwidth
256 Default: 1\&. The maximum number of backups from a single host that \fBAMANDA\fR will attempt to run in parallel\&. See also the \fBinparallel\fR option\&.
258 Note that this parameter may also be set in a specific \fBdumptype\fR (see below)\&. This value sets the default for all \fBdumptype\fRs so must appear in \fBamanda\&.conf\fR before any \fBdumptype\fRs are defined\&.
262 Default: \fB10 Mbytes\fR\&. The minimum savings required to trigger an automatic bump from one incremental level to the next, expressed as size\&. If \fBAMANDA\fR 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 \fBbumppercent\fR is set to 0\&.
264 The global setting of this parameter can be overwritten inside of a dumptype\-definition\&.
266 See also the options \fBbumppercent\fR, \fBbumpmult\fR and \fBbumpdays\fR\&.
269 \fBbumppercent\fR int
270 Default: \fB0 percent\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 \fBAMANDA\fR determines that the next higher backup level will be this much smaller than the current level, it will do the next level\&.
272 If this parameter is set to 0, the value of the parameter \fBbumpsize\fR is used to trigger bumping\&.
274 The global setting of this parameter can be overwritten inside of a dumptype\-definition\&.
276 See also the options \fBbumpsize\fR, \fBbumpmult\fR and \fBbumpdays\fR\&.
279 \fBbumpmult\fR \fB float\fR
280 Default: 1\&.5\&. The bump size multiplier\&. \fBAMANDA\fR multiplies \fBbumpsize\fR 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 \fBbumpsize\fR and \fBbumpmult\fR 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\&.
282 The global setting of this parameter can be overwritten inside of a dumptype\-definition\&.
285 \fBbumpdays\fR \fB int\fR
286 Default: \fB2 days\fR\&. To insure redundancy in the dumps, \fBAMANDA\fR keeps filesystems at the same incremental level for at least \fBbumpdays\fR days, even if the other bump threshold criteria are met\&.
288 The global setting of this parameter can be overwritten inside of a dumptype\-definition\&.
291 \fBdiskfile\fR \fB string\fR
292 Default: \fBdisklist\fR\&. The file name for the \fBdisklist\fR file holding client hosts, disks and other client dumping information\&.
295 \fBinfofile\fR \fB string\fR
296 Default: \fI/usr/adm/amanda/curinfo\fR\&. The file or directory name for the historical information database\&. If \fBAMANDA\fR 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\&.
299 \fBlogdir\fR \fB string\fR
300 Default: \fI/usr/adm/amanda\fR\&. The directory for the \fBamdump\fR and \fBlog\fR files\&.
303 \fBindexdir\fR \fB string\fR
304 Default \fI/usr/adm/amanda/index\fR\&. The directory where index files (backup image catalogues) are stored\&. Index files are only generated for filesystems whose \fBdumptype\fR has the \fBindex\fR option enabled\&.
307 \fBtapelist\fR \fB string\fR
308 Default: \fBtapelist\fR\&. The file name for the active \fBtapelist\fR file\&. \fBAMANDA\fR maintains this file with information about the active set of tapes\&.
311 \fBtapebufs\fR \fB int\fR
312 Default: 20\&. The number of buffers used by the \fBtaper\fR process run by \fBamdump\fR and \fBamflush\fR to hold data as it is read from the network or disk before it is written to tape\&. Each buffer is a little larger than 32 KBytes and is held in a shared memory region\&.
315 \fBreserve\fR \fB number\fR
316 Default: 100\&. 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\&.
319 \fBautoflush\fR \fB bool\fR
320 Default: \fBoff\fR\&. Whether an amdump run will flush the dump already on holding disk to tape\&.
323 \fBamrecover_do_fsf\fR \fB bool\fR
324 Default: \fBoff\fR\&. Amrecover will call amrestore with the \-f flag for faster positioning of the tape\&.
327 \fBamrecover_check_label\fR \fB bool\fR
328 Default: \fBoff\fR\&. Amrecover will call amrestore with the \-l flag to check the label\&.
331 \fBamrecover_changer\fR \fB string\fR
332 Default: ''\&. Amrecover will use the changer if you use 'settape <string>' and that string is the same as the amrecover_changer setting\&.
335 \fBcolumnspec\fR \fB string\fR
336 Defines the width of columns \fBamreport\fR should use\&. \fBString\fR is a comma (',') separated list of triples\&. Each triple consists of three parts which are separated by a equal sign ('=') and a colon (':') (see the example)\&. These three parts specify:
342 the name of the column, which may be:
347 Compress (compression ratio)
350 Disk (client disk name)
353 DumpRate (dump rate in KBytes/sec)
356 DumpTime (total dump time in hours:minutes)
359 HostName (client host name)
365 OrigKB (original image size in KBytes)
368 OutKB (output image size in KBytes)
371 TapeRate (tape writing rate in KBytes/sec)
374 TapeTime (total tape time in hours:minutes)
380 the amount of space to display before the column (used to get whitespace between columns)\&.
383 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\&.
391 columnspec "Disk=1:18,HostName=0:10,OutKB=1:7".fi
392 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 output KBytes column is seven characters wide with one space before it\&.
395 \fBincludefile\fR \fB string\fR
396 Default: \fBnone\fR\&. The name of an \fBAMANDA\fR configuration file to include within the current file\&. Useful for sharing dumptypes, tapetypes and interface definitions among several configurations\&.
398 .SH "HOLDINGDISK SECTION"
401 The \fBamanda\&.conf\fR file may define one or more holding disks used as buffers to hold backup images before they are written to tape\&. The syntax is:
404 holdingdisk \fBname\fR {
405 \fBholdingdisk\-option\fR \fBholdingdisk\-value\fR
410 \fBName\fR is a logical name for this holding disk\&.
413 The options and values are:
416 \fBcomment\fR \fB string\fR
417 Default: \fBnone\fR\&. A comment string describing this holding disk\&.
420 \fBdirectory\fR \fB disk\fR
421 Default: \fI/dumps/amanda\fR\&. The path to this holding area\&.
425 Default: \fB0 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, \fBAMANDA\fR will use all available space minus that value\&.
428 \fBchunksize\fR \fB int\fR
429 Default: \fB1 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\&.
431 If 0 is specified, \fBAMANDA\fR will create holding disk chunks as large as ((INT_MAX/1024)\-64) Kbytes\&.
433 Each holding disk chunk includes a 32 Kbyte header, so the minimum chunk size is 64 Kbytes (but that would be really silly)\&.
435 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 \fBAMANDA\fR 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\&.
437 .SH "DUMPTYPE SECTION"
440 The \fBamanda\&.conf\fR file may define multiple sets of backup options and refer to them by name from the \fBdisklist\fR 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\&.
443 A set of backup options are entered in a \fBdumptype\fR section, which looks like this:
446 define dumptype \fBname\fR {
447 \fBdumptype\-option\fR \fBdumptype\-value\fR
453 \fBName\fR is the name of this set of backup options\&. It is referenced from the \fBdisklist\fR file\&.
456 Some of the options in a \fBdumptype\fR section are the same as those in the main part of \fBamanda\&.conf\fR\&. The main option value is used to set the default for all \fBdumptype\fR sections\&. For instance, setting \fBdumpcycle\fR to 50 in the main part of the config file causes all following \fBdumptype\fR 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 \fBdumptype\fRs are defined\&.
459 The dumptype options and values are:
462 \fBauth\fR \fB string\fR
463 Default: \fBbsd\fR\&. Type of authorization to perform between tape server and backup client hosts\&. May be \fBkrb4\fR to use Kerberos\-IV authorization\&.
467 Default: \fB10 Mbytes\fR\&. The minimum savings required to trigger an automatic bump from one incremental level to the next, expressed as size\&. If \fBAMANDA\fR 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 \fBbumppercent\fR is set to 0\&.
469 See also the options \fBbumppercent\fR, \fBbumpmult\fR and \fBbumpdays\fR\&.
472 \fBbumppercent\fR int
473 Default: \fB0 percent\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 \fBAMANDA\fR determines that the next higher backup level will be this much smaller than the current level, it will do the next level\&.
475 If this parameter is set to 0, the value of the parameter \fBbumpsize\fR is used to trigger bumping\&.
477 See also the options \fBbumpsize\fR, \fBbumpmult\fR and \fBbumpdays\fR\&.
480 \fBbumpmult\fR \fB float\fR
481 Default: 1\&.5\&. The bump size multiplier\&. \fBAMANDA\fR multiplies \fBbumpsize\fR 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 \fBbumpsize\fR and \fBbumpmult\fR 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\&.
484 \fBbumpdays\fR \fB int\fR
485 Default: \fB2 days\fR\&. To insure redundancy in the dumps, \fBAMANDA\fR keeps filesystems at the same incremental level for at least \fBbumpdays\fR days, even if the other bump threshold criteria are met\&.
488 \fBcomment\fR \fB string\fR
489 Default: \fBnone\fR\&. A comment string describing this set of backup options\&.
492 \fBcomprate\fR \fBfloat\fR [, \fBfloat\fR ]
493 Default: 0\&.50, 0\&.50\&. The expected full and incremental compression factor for dumps\&. It is only used if \fBAMANDA\fR 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\&.
496 \fBcompress [client|server]\fR \fB string\fR
497 Default: \fBclient fast\fR\&. If \fBAMANDA\fR 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\&.
499 For either type of compression, \fBAMANDA\fR also allows the selection of two styles of compression\&. \fBBest\fR is the best compression available, often at the expense of CPU overhead\&. \fBFast\fR is often not as good a compression as \fBbest\fR, but usually less CPU overhead\&.
501 So the \fBcompress\fR options line may be one of:
510 compress [client] fast
513 compress [client] best
523 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 \fBmt\fR option), \fBAMANDA\fR (software) compression should be disabled\&.
526 \fBdumpcycle\fR \fB int\fR
527 Default: \fB10 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 often\&. Setting this to zero tries to do a full backup each run\&.
530 \fBestimate\fR \fBclient|calcsize|server\fR
531 Default: \fBclient\fR\&. Determine the way \fBAMANDA\fR does it's estimate\&.
538 Use the same program as the dumping program, this is the most accurate way to do estimates, but it can take a long time\&.
543 Use a faster program to do estimates, but the result is less accurate\&.
548 Use only statistics from the previous run to give an estimate, it takes only a few seconds but the result is not accurate if your disk usage changes from day to day\&.
554 \fBexclude\fR [ \fBlist|file\fR ][[optional][ \fBappend\fR ][ \fB string\fR ]+]
555 Default: \fBfile\fR\&. There are two exclude lists, \fBexclude file\fR and \fBexclude list\&.\fR With \fBexclude file\fR , the \fBstring\fR is a \fBGNU\-tar\fR exclude expression\&. With \fBexclude list\fR , the \fBstring\fR is a file name on the client containing \fBGNU\-tar\fR exclude expressions\&.
557 All exclude expressions are concatenated in one file and passed to \fBGNU\-tar\fR as an \fB\-\-exclude\-from\fR argument\&.
559 With the \fBappend\fR keyword, the \fBstring\fR is appended to the current list, without it, the \fBstring\fR overwrites the list\&.
561 If \fBoptional\fR is specified for \fBexclude list\fR, then amcheck will not complain if the file doesn't exist or is not readable\&.
563 For \fBexclude list\fR, if the file name is relative, the disk name being backed up is prepended\&. So if this is entered:
567 exclude list "\&.amanda\&.excludes"
569 the actual file used would be \fI/var/\&.amanda\&.excludes\fR for a backup of \fI/var\fR, \fI/usr/local/\&.amanda\&.excludes\fR for a backup of \fI/usr/local\fR, and so on\&.
572 \fBholdingdisk\fR \fB boolean\fR
573 Default: \fByes\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 \fBAMANDA\fR is backing up, that file system should refer to a dumptype with \fBholdingdisk\fR set to \fBno\fR to avoid backing up the holding disk into itself\&.
576 \fBignore\fR \fB boolean\fR
577 Default: \fBno\fR\&. Whether disks associated with this backup type should be backed up or not\&. This option is useful when the \fBdisklist\fR file is shared among several configurations, some of which should not back up all the listed file systems\&.
580 \fBinclude\fR [ \fBlist|file\fR ][[optional][ \fBappend\fR ][ \fB string\fR ]+]
581 Default: \fBfile\fR "\&."\&. There are two include lists, \fBinclude file\fR and \fBinclude list\&.\fR With \fBinclude file\fR , the \fBstring\fR is a glob expression\&. With \fBinclude list\fR , the \fBstring\fR is a file name on the client containing glob expressions\&.
583 All include expressions are expanded by \fBAMANDA\fR, concatenated in one file and passed to \fBGNU\-tar\fR as a \fB\-\-files\-from\fR argument\&. They must start with "\&./" and contain no other "/"\&.
585 With the \fBappend\fR keyword, the \fBstring\fR is appended to the current list, without it, the \fBstring\fR overwrites the list\&.
587 If \fBoptional\fR is specified for \fBinclude list,\fR then amcheck will not complain if the file doesn't exist or is not readable\&.
589 For \fBinclude list\fR, If the file name is relative, the disk name being backed up is prepended\&.
592 \fBindex\fR \fB boolean\fR
593 Default: \fBno\fR\&. Whether an index (catalogue) of the backup should be generated and saved in \fBindexdir\fR\&. These catalogues are used by the \fBamrecover\fR utility\&.
596 \fBkencrypt\fR \fB boolean\fR
597 Default: \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\&.
600 \fBmaxdumps\fR \fB int\fR
601 Default: 1\&. The maximum number of backups from a single host that \fBAMANDA\fR will attempt to run in parallel\&. See also the main section parameter \fBinparallel\fR\&.
604 \fBmaxpromoteday\fR \fB int\fR
605 Default: 10000\&. The maximum number of day for a promotion, set it 0 if you don't want promotion, set it to 1 or 2 if your disks get overpromoted\&.
608 \fBpriority\fR \fB string\fR
609 Default: \fBmedium\fR\&. When there is no tape to write to, \fBAMANDA\fR 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\&.
612 \fBprogram\fR \fB string\fR
613 Default: \fBDUMP\fR\&. The type of backup to perform\&. Valid values are \fBDUMP\fR for the native operating system backup program, and \fBGNUTAR\fR to use \fBGNU\-tar\fR or to do PC backups using Samba\&.
616 \fBrecord\fR \fB boolean\fR
617 Default: \fByes\fR\&. Whether to ask the backup program to update its database (e\&.g\&. \fI/etc/dumpdates\fR for DUMP or \fI/usr/local/var/amanda/gnutar\-lists\fR for GNUTAR) of time stamps\&. This is normally enabled for daily backups and turned off for periodic archival runs\&.
620 \fBskip\-full\fR \fB boolean\fR
621 Default: \fBno\fR\&. If \fBtrue\fR and \fBplanner\fR 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 \fBAMANDA\fR only schedules level 1 incrementals in this configuration; this is probably a bug\&.
624 \fBskip\-incr\fR \fB boolean\fR
625 Default: \fBno\fR\&. If \fBtrue\fR and \fBplanner\fR has scheduled an incremental backup, these disks will be skipped\&.
628 \fBstarttime\fR \fB int\fR
629 Default: \fBnone\fR\&. Backups 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 1830\&.
632 \fBstrategy\fR \fB string\fR
633 Default: \fBstandard\fR\&. Strategy to use when planning what level of backup to run next\&. Values are:
639 The standard \fBAMANDA\fR schedule\&.
643 Never do full backups, only level 1 incrementals\&.
647 Never do incremental backups, only full dumps\&.
651 Never do backups (useful when sharing the \fBdisklist\fR file)\&.
655 Only do incremental dumps\&. \fBamadmin force\fR should be used to tell \fBAMANDA\fR that a full dump has been performed off\-line, so that it resets to level 1\&. It is similar to skip\-full, but with incronly full dumps may be scheduled manually\&. Unfortunately, it appears that \fBAMANDA\fR will perform full backups with this configuration, which is probably a bug\&.
661 The following \fBdumptype\fR entries are predefined by \fBAMANDA\fR:
664 define dumptype no\-compress {
667 define dumptype compress\-fast {
670 define dumptype compress\-best {
673 define dumptype srvcompress {
676 define dumptype bsd\-auth {
679 define dumptype krb4\-auth {
682 define dumptype no\-record {
685 define dumptype no\-hold {
688 define dumptype no\-full {
694 In addition to options in a \fBdumptype\fR section, one or more other \fBdumptype\fR names may be entered, which make this \fBdumptype\fR inherit options from other previously defined \fBdumptype\fRs\&. For instance, two sections might be the same except for the \fBrecord\fR option:
697 define dumptype normal {
698 comment "Normal backup, no compression, do indexing"
703 define dumptype testing {
704 comment "Test backup, no compression, do indexing, no recording"
711 \fBAMANDA\fR provides a \fBdumptype\fR named \fBglobal\fR in the sample \fBamanda\&.conf\fR file that all \fBdumptype\fRs should reference\&. This provides an easy place to make changes that will affect every \fBdumptype\fR\&.
713 .SH "TAPETYPE SECTION"
716 The \fBamanda\&.conf\fR file may define multiple types of tape media and devices\&. The information is entered in a \fBtapetype\fR section, which looks like this in the config file:
719 define tapetype \fBname\fR {
720 \fBtapetype\-option\fR \fBtapetype\-value\fR
726 \fBName\fR is the name of this type of tape medium/device\&. It is referenced from the \fBtapetype\fR option in the main part of the config file\&.
729 The tapetype options and values are:
732 \fBcomment\fR \fB string\fR
733 Default: \fBnone\fR\&. A comment string describing this set of tape information\&.
736 \fBfilemark\fR \fB int\fR
737 Default: \fB1000 bytes\fR\&. How large a file mark (tape mark) is, measured in bytes\&. If the size is only known in some linear measurement (e\&.g\&. inches), convert it to bytes using the device density\&.
740 \fBlength\fR \fB int\fR
741 Default: \fB2000 kbytes\fR\&. How much data will fit on a tape\&.
743 Note that this value is only used by \fBAMANDA\fR to schedule which backups will be run\&. Once the backups start, \fBAMANDA\fR will continue to write to a tape until it gets an error, regardless of what value is entered for \fBlength\fR (but see the section OUTPUT DRIVERS in the \fBamanda\fR(8) manpage for exceptions)\&.
746 \fBblocksize\fR \fB int\fR
747 Default: \fB32\fR\&. How much data will be written in each tape record expressed in KiloBytes\&. The tape record size (= blocksize) can not be reduced below the default 32 KBytes\&. The parameter blocksize can only be raised if \fBAMANDA\fR was compiled with the configure option \-\-with\-maxtapeblocksize=N set with "N" greater than 32 during \fBconfigure\fR\&.
750 \fBfile\-pad\fR \fB boolean\fR
751 Default: \fBtrue\fR\&. If true, every record, including the last one in the file, will have the same length\&. This matches the way \fBAMANDA\fR wrote tapes prior to the availability of this parameter\&. It may also be useful on devices that only support a fixed blocksize\&.
753 Note that the last record on the tape probably includes trailing null byte padding, which will be passed back to \fBgzip\fR, \fBcompress\fR or the restore program\&. Most programs just ignore this (although possibly with a warning)\&.
755 If this parameter is false, the last record in a file may be shorter than the block size\&. The file will contain the same amount of data the dump program generated, without trailing null byte padding\&. When read, the same amount of data that was written will be returned\&.
758 \fBspeed\fR \fB int\fR
759 Default: \fB200 bps\fR\&. How fast the drive will accept data, in bytes per second\&. This parameter is NOT currently used by \fBAMANDA\fR\&.
762 \fBlbl\-templ\fR \fB string\fR
763 A PostScript template file used by \fBamreport\fR to generate labels\&. Several sample files are provided with the \fBAMANDA\fR sources in the \fBexample\fR directory\&. See the \fBamreport\fR(8) man page for more information\&.
766 In addition to options, another \fBtapetype\fR name may be entered, which makes this \fBtapetype\fR inherit options from another \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:
769 define tapetype DLT4000\-III {
770 comment "DLT4000 tape drives with Compact\-III tapes"
771 length 12500 mbytes # 10 Gig tapes with some compression
775 define tapetype DLT4000\-IV {
777 comment "DLT4000 tape drives with Compact\-IV tapes"
778 length 25000 mbytes # 20 Gig tapes with some compression
782 .SH "INTERFACE SECTION"
785 The \fBamanda\&.conf\fR file may define multiple types of network interfaces\&. The information is entered in an \fBinterface\fR section, which looks like this:
788 define interface \fBname\fR {
789 \fBinterface\-option\fR \fBinterface\-value\fR
795 \fBname\fR is the name of this type of network interface\&. It is referenced from the \fBdisklist\fR file\&.
798 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 \fBAMANDA\fR\&. \fBAMANDA\fR 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, \fBAMANDA\fR will use as much of the network as it can leaving throttling up to the operating system and network hardware\&.
801 The interface options and values are:
804 \fBcomment\fR \fB string\fR
805 Default: \fBnone\fR\&. A comment string describing this set of network information\&.
809 Default: \fB300 Kbps\fR\&. The speed of the interface in Kbytes per second\&.
812 In addition to options, another \fBinterface\fR name may be entered, which makes this \fBinterface\fR inherit options from another \fBinterface\fR\&. At the moment, this is of little use\&.
817 James da Silva, <jds@amanda\&.org>: Original text
820 Stefan G\&. Weichinger, <sgw@amanda\&.org>, maintainer of the \fBAMANDA\fR\-documentation: XML\-conversion, major update, splitting