'\" t .\" Title: amanda.conf .\" Author: James da Silva .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: 12/01/2017 .\" Manual: File formats and conventions .\" Source: Amanda 3.5.1 .\" Language: English .\" .TH "AMANDA\&.CONF" "5" "12/01/2017" "Amanda 3\&.5\&.1" "File formats and conventions" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" amanda.conf \- Main configuration file for Amanda, the Advanced Maryland Automatic Network Disk Archiver .SH "DESCRIPTION" .PP \fBamanda.conf\fR(5) is the main configuration file for Amanda\&. This manpage lists the relevant sections and parameters of this file for quick reference\&. .PP The file \fB/amanda\&.conf\fR is loaded if it exists then the files \fB//amanda\&.conf\fR is loaded\&. .SH "SYNTAX" .PP 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 \fBamanda\&.conf\fR if the default is suitable\&. .SS "COMMENTS" .PP 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\&. .SS "KEYWORDS AND IDENTIFIERS" .PP Keywords are case insensitive, i\&.e\&. \fBmailto\fR and \fBMailTo\fR are treated the same\&. Also, the characters \*(Aq\fB\-\fR\*(Aq and \*(Aq\fB_\fR\*(Aq are interchangeable in all predefined Amanda keywords: \fBdevice_property\fR and \fBdevice\-property\fR have the same meaning\&. This manpage uses the dashed versions, but the underscored versions will be accepted for backward compatibility .PP 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\&. .PP Strings are always quoted with double quotes ("), and any double quotes or backslashes within the string are escaped with a backslash: .sp .nf tapelist "/path/to/tapelist" property "escaped\-string" "escaping: \e\e (backslash) and \e" (double\-quote)" .fi .PP To summarize, then: .sp .nf # QUOTES CASE \-/_ logdir "logs" # required sensitive sensitive send\-amreport\-on strange # prohibited insensitive insensitive tapetype "EXABYTE" # optional insensitive sensitive define dumptype "dt" { # optional insensitive sensitive "dumptype\-common" # optional insensitive sensitive strategy noinc # prohibited insensitive insensitive } .fi .SS "VALUE SUFFIXES" .PP Integer arguments may have one of the following (case insensitive) suffixes, some of which have a multiplier effect: .PP \fBb byte bytes\fR .RS 4 Some number of bytes\&. .RE .PP \fBbps\fR .RS 4 Some number of bytes per second\&. .RE .PP \fBk kb kbyte kbytes kilobyte kilobytes\fR .RS 4 Some number of kilobytes (bytes*1024)\&. .RE .PP \fBkps kbps\fR .RS 4 Some number of kilobytes per second (bytes*1024)\&. .sp It is the default multiplier for all size options\&. .RE .PP \fBm mb meg mbyte mbytes megabyte megabytes\fR .RS 4 Some number of megabytes (bytes*1024*1024)\&. .RE .PP \fBmps mbps\fR .RS 4 Some number of megabytes per second (bytes*1024*1024)\&. .RE .PP \fBg gb gbyte gbytes gigabyte gigabytes\fR .RS 4 Some number of gigabytes (bytes*1024*1024*1024)\&. .RE .PP \fBt tb tbyte tbytes terabyte terabytes\fR .RS 4 Some number of terabytes (bytes*1024*1024*1024*1024)\&. .RE .PP \fBtape tapes\fR .RS 4 Some number of tapes\&. .RE .PP \fBday days\fR .RS 4 Some number of days\&. .RE .PP \fBweek weeks\fR .RS 4 Some number of weeks (days*7)\&. .if n \{\ .sp .\} .RS 4 .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 .br .ps +1 \fBNote\fR .ps -1 .br The value \fBinf\fR may be used in most places where an integer is expected to mean an infinite amount\&. .sp Boolean arguments may have any of the values \fB1\fR, \fBy\fR, \fByes\fR, \fBt\fR, \fBtrue\fR or \fBon\fR to indicate a true state, or \fB0\fR, \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\&. .sp .5v .RE .RE .SS "PARAMETER ORDER" .PP 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\&. .SS "STRINGS" .PP 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 .sp .nf ESCAPE SEQUENCE BECOMES \e\e \e \e" " \en (newline) \et (tab) \er (carriage return) \ef (form\-feed) \e1 \- \e7 \e01 \- \e77 \e001 \- \e377 (character specified in octal) .fi Illegally quoted strings are handled on a "best\-effort" basis, which may lead to unexpected results\&. .PP Examples: .sp .nf finserver "/data/finance/XYZ Corp\*(Aqs \e"real\e" finances" finance\-high eth0 \-1 property "syspath" "C:\e\eWINDOWS\e\eSYSTEM" .fi .SS "SUBSECTIONS AND INHERITANCE" .PP Amanda configuration files may include various \fIsubsections\fR, each defining a set of configuration directives\&. Each type of subsection is described below\&. Note that all types of subsections can \fIinherit\fR from other subsections of the same type by naming the "parent" section in the "child" subsection\&. For example: .sp .nf define dumptype global { record yes index yes } define dumptype nocomp { global # inherit the parameters in dumptype \*(Aqglobal\*(Aq compress none } .fi .PP 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, .sp .nf define tapetype par1 { comment "Parent 1" filemark 8k speed 300bps length 200M } define tapetype par2 { comment "Parent 2" filemark 16k speed 400bps } define tapetype child { par1 par2 filemark 32k } .fi In this example, \*(Aqchild\*(Aq will have a filemark of 32k, a speed of 400bps, and a length of 200M\&. .SH "GLOBAL PARAMETERS" .PP \fBamrecover\-changer\fR \fIstring\fR .RS 4 Default: not set\&. Amrecover will use the changer if you use \*(Aqsettape \*(Aq and that string is the same as the \fBamrecover\-changer\fR setting\&. .RE .PP \fBamrecover\-check\-label\fR \fIbool\fR .RS 4 Deprecated; amrecover always checks the label, and does not invoke amrestore\&. .sp Default: \fBon\fR\&. Amrecover will call amrestore with the \-l flag to check the label\&. .RE .PP \fBamrecover\-do\-fsf\fR \fIbool\fR .RS 4 Deprecated; amrecover always uses fsf, and does not invoke amrestore\&. .sp Default: \fBon\fR\&. Amrecover will call amrestore with the \-f flag for faster positioning of the tape\&. .RE .PP \fBautoflush\fR \fBno\fR|\fByes\fR|\fBall\fR .RS 4 Default: \fBno\fR\&. Whether an amdump run will flush the dumps from holding disk to tape\&. With \fByes\fR, only dump matching the command line argument are flushed\&. With \fBall\fR, all dump are flushed\&. .RE .PP \fBautolabel\fR \fIstring\fR [\fBany\fR] [\fBother\-config\fR] [\fBnon\-amanda\fR] [\fBvolume\-error\fR] [\fBempty\fR] .RS 4 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\&. .sp When using this directive, specify the template for new tape labels\&. The template can contains many variables that are substituted by their values: .sp .nf $c : config name $o : org configuration $b : barcode of the volume $s : slot number, can specify a minimun number of digit: $3s to get \*(Aq001\*(Aq $m : meta label $r : storage name .fi .sp The template can contain some number of contiguous \*(Aq%\*(Aq characters, which will be replaced with a generated number (000\-999), or some number of contiguous \*(Aq!\*(Aq, which will be replaced with a generated letter sequence (AAA\-ZZZ)\&. Be sure to specify enough \*(Aq%\*(Aq or \*(Aq!\*(Aq characters that you do not run out of tape labels\&. Example: \fB"DailySet1\-%%%"\fR, \fB"DailySet1\-!!!"\fR, \fB"$c\-%%%"\fR, \fB"$m\-%%%"\fR, \fB"$m\-$b"\fR .sp The generared label can be used only if it match the \fBlabelstr\fR setting\&. The volume will not be used if the generated label doesn\*(Aqt match the \fBlabelstr\fR setting\&. .sp Note that many devices cannot distinguish an empty tape from an error condition, so it may is often necessary to include \fBvolume\-error\fR as an autolabel condition\&. .PP \fBany\fR .RS 4 equivalent to \*(Aq\fBother\-config non\-amanda volume\-error empty\fR\*(Aq .RE .PP \fBother\-config\fR .RS 4 Label volumes with a valid Amanda label that do not match our \fBlabelstr\fR\&. Danger: this may erase volumes from other Amanda configurations without warning! .RE .PP \fBnon\-amanda\fR .RS 4 Label volumes which do not start with data that resembles an Amanda header\&. Danger: this may erase volumes from other backup applications without warning! .RE .PP \fBvolume\-error\fR .RS 4 Label volumes where an error occurs while trying to read the label\&. Danger: this may erase arbitrary volumes due to transient errors\&. .RE .PP \fBempty\fR .RS 4 Label volumes where a read returns 0 bytes\&. .RE .RE .PP \fBbumpdays\fR \fIint\fR .RS 4 Default: \fI2 days\fR\&. To insure redundancy in the dumps, Amanda keeps filesystems at the same incremental level for at least \fBbumpdays\fR days, even if the other bump threshold criteria are met\&. .sp The global setting of this parameter can be overwritten inside of a dumptype\-definition\&. .RE .PP \fBbumpmult\fR \fIfloat\fR .RS 4 Default: \fI1\&.5\fR\&. The bump size multiplier\&. Amanda 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\&. .sp The global setting of this parameter can be overwritten inside of a dumptype\-definition\&. .RE .PP \fBbumppercent\fR \fIint\fR .RS 4 Default: \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\&. .sp If this parameter is set to 0, the value of the parameter \fIbumpsize\fR is used to trigger bumping\&. .sp The global setting of this parameter can be overwritten inside of a dumptype\-definition\&. .sp See also the options \fBbumpsize\fR, \fBbumpmult\fR and \fBbumpdays\fR\&. .RE .PP \fBbumpsize\fR \fIint\fR .RS 4 Default: \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 \fIbumppercent\fR is set to 0\&. .sp The default unit is Kbytes if it is not specified\&. .sp The global setting of this parameter can be overwritten inside of a dumptype\-definition\&. .sp See also the options \fBbumppercent\fR, \fBbumpmult\fR and \fBbumpdays\fR\&. .RE .PP \fBchangerdev\fR \fIstring\fR .RS 4 Default: \fI"dev/null"\fR\&. A tape changer configuration parameter\&. Usage depends on the particular changer defined with the \fBtpchanger\fR option\&. .RE .PP \fBchangerfile\fR \fIstring\fR .RS 4 Default: \fI"changer"\fR\&. This option is deprecated; use the \fBchangerfile\fR in the \fBchanger\fR section\&. Only chg\-multi use it\&. A file where the changer store its state\&. .RE .PP \fBcolumnspec\fR \fIstring\fR .RS 4 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" .sp Defines the width of columns \fBamreport\fR should use\&. \fIString\fR is a comma (\*(Aq,\*(Aq) separated list of triples\&. Each triple consists of four parts which are separated by a equal sign (\*(Aq=\*(Aq) and a colon (\*(Aq:\*(Aq) (see the example)\&. These four parts specify: .sp .RS 4 .ie n \{\ \h'-04' 1.\h'+01'\c .\} .el \{\ .sp -1 .IP " 1." 4.2 .\} the name of the column, which may be: .sp .nf Compress (compression ratio) Disk (client disk name) DumpRate (dump rate in KBytes/sec) DumpTime (total dump time in hours:minutes) HostName (client host name) Level (dump level) OrigKB (original image size in KBytes) OutKB (output image size in KBytes) TapeRate (tape writing rate in KBytes/sec) TapeTime (total tape time in hours:minutes) .fi .RE .sp .RS 4 .ie n \{\ \h'-04' 2.\h'+01'\c .\} .el \{\ .sp -1 .IP " 2." 4.2 .\} the amount of space to display before the column (used to get whitespace between columns)\&. .RE .sp .RS 4 .ie n \{\ \h'-04' 3.\h'+01'\c .\} .el \{\ .sp -1 .IP " 3." 4.2 .\} 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\&. .RE .sp .RS 4 .ie n \{\ \h'-04' 4.\h'+01'\c .\} .el \{\ .sp -1 .IP " 4." 4.2 .\} the precision of the column, number of digit after the decimal point for number\&. .RE .sp Parts may be omitted, and will adopt a default value; trailing colons may also be omitted\&. .sp Here is an example: .sp .nf columnspec "Disk=1:18,HostName=0:10,OrigKB=::2,OutKB=1:7" .fi .sp 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\&. .RE .PP \fBcommand\-file\fR \fIstring\fR .RS 4 Default: \fIcommand_file\fR\&. A file where amanda store information about running job\&. .sp See \fBamanda-command-file\fR(5)\&. .RE .PP \fBcompress\-index\fR \fIboolean\fR .RS 4 Default: \fIyes\fR\&. Compress all index files, this is useful to save space in the \fBindexdir\fR but require more processing\&. .sp The compression ratio is generaly above 20x, it is faster to read compressed index files because there is 20 times less data to read from disk\&. .sp Changing this setting will uncompress/compress all index files\&. .RE .PP \fBconnect\-tries\fR \fIint\fR .RS 4 Default: \fI3\fR\&. How many times the server will try a connection\&. .RE .PP \fBctimeout\fR \fIint\fR .RS 4 Default: \fI30 seconds\fR\&. Maximum amount of time that \fBamcheck\fR will wait for each client host\&. .RE .PP \fBdebug\-auth\fR \fIint\fR .RS 4 Default: \fI0\fR\&. Debug level of the auth module .RE .PP \fBdebug\-chunker\fR \fIint\fR .RS 4 Default: \fI0\fR\&. Debug level of the chunker process .RE .PP \fBdebug\-days\fR \fIint\fR .RS 4 Default: \fI3\fR\&. The number of days the debug files are kept\&. .RE .PP \fBdebug\-driver\fR \fIint\fR .RS 4 Default: \fI0\fR\&. Debug level of the driver process .RE .PP \fBdebug\-dumper\fR \fIint\fR .RS 4 Default: \fI0\fR\&. Debug level of the dumper process .RE .PP \fBdebug\-event\fR \fIint\fR .RS 4 Default: \fI0\fR\&. Debug level of the event module .RE .PP \fBdebug\-holding\fR \fIint\fR .RS 4 Default: \fI0\fR\&. Debug level of the holdingdisk module .RE .PP \fBdebug\-planner\fR \fIint\fR .RS 4 Default: \fI0\fR\&. Debug level of the planner process .RE .PP \fBdebug\-protocol\fR \fIint\fR .RS 4 Default: \fI0\fR\&. Debug level of the protocol module .RE .PP \fBdebug\-recovery\fR \fIint\fR .RS 4 Default: \fI1\fR\&. Debug level of all recovery process .RE .PP \fBdebug\-taper\fR \fIint\fR .RS 4 Default: \fI0\fR\&. Debug level of the taper process .RE .PP \fBdevice\-output\-buffer\-size\fR \fIint\fR .RS 4 Default: \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\&. .sp The default unit is bytes if it is not specified\&. .RE .PP \fBdevice\-property\fR \fIstring\fR \fIstring\fR .RS 4 These options can set various device properties\&. See \fBamanda-devices\fR(7) 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: .nf device\-property "BLOCK_SIZE" "128k" .fi .RE .PP \fBdiskfile\fR \fIstring\fR .RS 4 Default: \fI"disklist"\fR\&. The file name for the \fIdisklist\fR file holding client hosts, disks and other client dumping information\&. .RE .PP \fBdisplayunit\fR "k|m|g|t" .RS 4 Default: \fI"k"\fR\&. The unit used to print many numbers, k=kilo, m=mega, g=giga, t=tera\&. .RE .PP \fBdtimeout\fR \fIint\fR .RS 4 Default: \fI1800 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\&. .RE .PP \fBdumpcycle\fR \fIint\fR .RS 4 Default: \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\&. .if n \{\ .sp .\} .RS 4 .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 .br .ps +1 \fBNote\fR .ps -1 .br 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\&. .sp .5v .RE .RE .PP \fBdumporder\fR \fIstring\fR .RS 4 Default: \fI"tttTTTTTTT"\fR\&. The priority order of each dumper: .sp .nf s: smallest size S: largest size t: smallest time T: largest time b: smallest bandwidth B: largest bandwidth .fi .RE .PP \fBdumpuser\fR \fIstring\fR .RS 4 Default: \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 \fB\&.rhosts\fR or \fB\&.amandahosts\fR, depending on how the Amanda software was built\&. .RE .PP \fBeject\-volume\fR \fIbool\fR .RS 4 Default: \fIno\fR\&. Set to \fByes\fR if you want the volume to be ejected after Amanda wrote data to it\&. It works only with some changer and device\&. .RE .PP \fBetimeout\fR \fIint\fR .RS 4 Default: \fI300 seconds\fR\&. Amount of time per estimate on a given client that the \fBplanner\fR step of \fBamdump\fR 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, \fBplanner\fR 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\&. .RE .PP \fBflush\-threshold\-dumped\fR \fIint\fR .RS 4 Default: \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 and the criterion for flush\-threshold\-scheduled is also met\&. 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\&. .sp 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\&. .sp The value of this parameter may not exceed than that of the \fBflush\-threshold\-scheduled\fR parameter\&. .RE .PP \fBflush\-threshold\-scheduled\fR \fIint\fR .RS 4 Default: \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 and the criterion for flush\-threshold\-dumped is also met\&. In other words, Amanda will not begin until the inequality h + s > t \(mu d is satisfied, where h is the amount of data on the holding disk, s is the total amount of data scheduled for this run but not dumped yet, t is the capacity of a volume, and d is this parameter, expressed as a percentage\&. This parameter may be larger than 100%\&. .sp 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\&. .sp The value of this parameter may not be less than that of the \fBflush\-threshold\-dumped\fR or \fBtaperflush\fR parameters\&. .RE .PP \fBincludefile\fR \fIstring\fR .RS 4 Default: \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\&. .RE .PP \fBindexdir\fR \fIstring\fR .RS 4 Default \fI"/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\&. .RE .PP \fBinfofile\fR \fIstring\fR .RS 4 Default: \fI"/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 formatted 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\&. .RE .PP \fBinparallel\fR \fIint\fR .RS 4 Default: \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\&. .RE .PP \fBinteractivity\fR \fIstring\fR .RS 4 Default: not set\&. The interactivity module Amanda should use to interact with the user\&. See \fBamanda-interactivity\fR(7) for a list of modules\&. .RE .PP \fBlabelstr\fR \fIstring\fR | \fBMATCH\-AUTOLABEL\fR .RS 4 Default: \fI\fBMATCH\-AUTOLABEL\fR\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\&. All \fBautolabel\fR variable can be used\&. The keywork \fBMATCH\-AUTOLABEL\fR use the autolabel template as expression\&. .sp 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\&. .RE .PP \fBlabel\-new\-tapes\fR \fIstring\fR .RS 4 Deprecated, use \fBautolabel\fR option with options \fBvolume\-error empty\fR to get equivalent behavior\&. .sp Default: not set\&. When set, this directive will cause Amanda to automatically write an Amanda tape label to any blank tape she encounters\&. .RE .PP \fBlogdir\fR \fIstring\fR .RS 4 Default: \fI""\fR\&. The directory for the \fBamdump\fR and \fBlog\fR files\&. .RE .PP \fBmailer\fR \fIstring\fR .RS 4 Default found by configure\&. A mail program that can send mail with \*(Aq\fIMAILER \-s "subject" user < message_file\fR\*(Aq\&. .RE .PP \fBmailto\fR \fIstring\fR .RS 4 Default: none\&. A space separated list of recipients for mail reports\&. If not specified, amdump will not send any mail\&. .RE .PP \fBmaxdumps\fR \fIint\fR .RS 4 Default: \fI1\fR\&. The maximum number of backups from a single host that Amanda will attempt to run in parallel\&. See also the \fBinparallel\fR option\&. .sp 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\&. .RE .PP \fBmaxdumpsize\fR \fIint\fR .RS 4 Default: \fI\fBruntapes\fR\fR\fI*\fR\fI\fBtape\-length\fR\fR\&. Maximum number of bytes the planner will schedule for a run\&. .sp The default unit is Kbytes if it is not specified\&. .RE .PP \fBmax\-dle\-by\-volume\fR \fIint\fR .RS 4 Default: \fI1000000000\fR\&. The maximum number of dle written to a single volume\&. .RE .PP \fBmeta\-autolabel\fR \fIstring\fR .RS 4 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\&. .sp 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\&. .sp When using this directive, specify the template for new meta labels\&. The template can contains many variables that are substituted by their values: .sp .nf $c : config name $o : org configuration $r : storage name .fi .sp The template can contain some number of contiguous \*(Aq%\*(Aq characters, which will be replaced with a generated number (000\-999), or some number of contiguous \*(Aq!\*(Aq, which will be replaced with a generated letter sequence (AAA\-ZZZ)\&. Be sure to specify enough \*(Aq%\*(Aq characters that you do not run out of meta labels\&. Example: \fB"DailySet1\-%%%"\fR, \fB"DailySet1\-!!!"\fR, \fB"$o\-%%%"\fR, \fB"$o\-!!!"\fR, \fB"$c\-!!!"\fR, .RE .PP \fBnetusage\fR \fIint\fR .RS 4 Default: \fI80000 Kbps\fR\&. The maximum network bandwidth allocated to Amanda, in Kbytes per second\&. See also the \fBinterface\fR section\&. .RE .PP \fBorg\fR \fIstring\fR .RS 4 Default: \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\&. .RE .PP \fBprinter\fR \fIstring\fR .RS 4 Printer to use when doing tape labels\&. See the \fBlbl\-templ\fR\ \&\fBtapetype\fR option\&. .RE .PP \fBproperty\fR [\fBappend\fR] \fIstring\fR \fIstring\fR+ .RS 4 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\&. \fBappend\fR keyword append the values to the list of values for that property\&. .RE .PP \fBrecovery\-limit\fR [ \fIstring\fR | \fBsame\-host\fR | \fBserver\fR] .RS 4 Default: none (no limitations)\&. This parameter limits the hosts that may do recoveries\&. Hosts are identified by their authenticated peer name, as described in \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 \fBamanda-match\fR(7)) or the special keywords \fBsame\-host\fR or \fBserver\fR\&. The \fBsame\-host\fR keyword requires an exact match to the hostname of the DLE being recovered\&. The \fBserver\fR keyword require the connection come from the fqdn of the server\&. Specifying no arguments at all will disable all recoveries from any host\&. .sp Note that match expressions can be constructed to be forgiving of e\&.g\&., fully\-qualified vs\&. unqualified hostnames, but \fBsame\-host\fR requires an exact match\&. .sp 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\&. .sp 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\&. .RE .PP \fBreport\-format\fR [\fBappend\fR] \fIstring\fR+ .RS 4 Default: \fINot set\fR\&. The formats amdump, amflush and amvault use when invoking amreport\&. .RE .PP \fBreport\-next\-media\fR \fIboolean\fR .RS 4 Default: \fITrue\fR if \fBmax\-dle\-by\-volume\fR is not set, \fIFalse\fR if it is set\&. If the reporter must print the list of media expected for the next run\&. .RE .PP \fBreport\-use\-media\fR \fIboolean\fR .RS 4 Default: \fITrue\fR if \fBmax\-dle\-by\-volume\fR is not set, \fIFalse\fR if it is set\&. If the reporter must print the list of media used in the run\&. .RE .PP \fBreq\-tries\fR \fIint\fR .RS 4 Default: \fI3\fR\&. How many times the server will resend a REQ packet if it doesn\*(Aqt get the ACK packet\&. .RE .PP \fBreserve\fR \fIint\fR .RS 4 Default: \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\&. .RE .PP \fBreserved\-tcp\-port\fR \fIint\fR,\fIint\fR .RS 4 Default: \-\-with\-low\-tcpportrange or \fI512,1023\fR\&. Reserved tcp port that will be used (bsdtcp)\&. Range is inclusive\&. .RE .PP \fBreserved\-udp\-port\fR \fIint\fR,\fIint\fR .RS 4 Default: \-\-with\-udpportrange or \fI512,1023\fR\&. Reserved udp port that will be used (bsd, bsdudp)\&. Range is inclusive\&. .RE .PP \fBrunspercycle\fR \fIint\fR .RS 4 Default: \fIsame 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(5) file, which is the number of tapes used in the last \fBdumpcycle\fR days / \fBruntapes\fR\&. .RE .PP \fBruntapes\fR \fIint\fR .RS 4 Default: \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\&. .sp If a tape changer is configured, this may be set larger than one to let Amanda write to more than one tape\&. .sp Note that this is an upper bound on the number of tapes, and Amanda may use less\&. .RE .PP \fBsend\-amreport\-on\fR [ \fBall\fR | \fBstrange\fR | \fBerror\fR | \fBnever\fR ] .RS 4 Default: \fBall\fR\&. Specify which types of messages will trigger an email from amreport\&. amreport is used by amdump and amflush\&. .PP \fBall\fR .RS 4 Send an email on any message\&. .RE .PP \fBstrange\fR .RS 4 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\&. .RE .PP \fBerror\fR .RS 4 Send an email only on error messages\&. .RE .PP \fBnever\fR .RS 4 Never send an email\&. .RE .RE .PP \fBsort\-index\fR \fIboolean\fR .RS 4 Default: \fIno\fR\&. Sort all index files, this make amrecover start faster on big filesystem but it require more processing at backup time\&. Changing this setting can sort all index files\&. .RE .PP \fBstorage\fR \fIstring\fR+ .RS 4 Default: Same as the config name\&. The list of storages to use, the dump will go to theses storages\&. .RE .PP \fBactive\-storage\fR \fIstring\fR+ .RS 4 Default: Same as the configured \fBstorage\fR setting and the \-ostorage= command line setting\&. The list of storages where a dump can be put\&. amdump keep the dump in holding disk if the storage is not also listed in \fBstorage\fR .RE .PP \fBtapebufs\fR \fIint\fR .RS 4 Default: \fI20\fR\&. This option is deprecated; use the \fBdevice\-output\-buffer\-size\fR directive instead\&. \fBtapebufs\fR works the same way, but the number specified is multiplied by the device blocksize prior to use\&. .RE .PP \fBtapecycle\fR \fIint\fR .RS 4 Default: \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 \-1\*(Aq volumes have been written since\&. .sp It is considered good administrative practice to set the \fBtapecycle\fR 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\&. .sp Note: Amanda is commonly misconfigured with \fBtapecycle\fR equal to the number of tapes per \fBdumpcycle\fR\&. In this misconfiguration, amanda may erase a full dump before a new one is completed\&. Recovery is then impossible\&. The \fBtapecycle\fR must be at least one tape larger than the number of tapes per dumpcycle\&. .sp The number of tapes per dumpcycle is calculated by multiplying the number of \fBamdump\fR runs per dump cycle \fBrunspercycle\fR (the number of \fBamdump\fR runs per dump cycle) and \fBruntapes\fR (the number of tapes used per run)\&. Typically \fBtapecycle\fR is set to two or four times the tapes per dumpcycle\&. .RE .PP \fBtapedev\fR \fIstring\fR .RS 4 Default: \fI"null:"\fR\&. This parameter can either specify a device (explicitly or by referencing a device definition \- see \fBamanda-devices\fR(7)) or a tape changer (explicitly or by referencing a device definition \- see \fBamanda-changers\fR(7))\&. .RE .PP \fBtapelist\fR \fIstring\fR .RS 4 Default: \fI"tapelist"\fR\&. The file name for the active \fBtapelist\fR(5)\&. Amanda maintains this file with information about the active set of tapes\&. .RE .PP \fBtaperalgo\fR [ \fBfirst\fR | \fBfirstfit\fR | \fBlargest\fR | \fBlargestfit\fR | \fBsmallest\fR | \fBlast\fR ] .RS 4 Default: \fBfirst\fR\&. The algorithm used to choose which dump image to send to the taper\&. .PP \fBfirst\fR .RS 4 First in, first out\&. .RE .PP \fBfirstfit\fR .RS 4 The first dump image that will fit on the current tape\&. .RE .PP \fBlargest\fR .RS 4 The largest dump image\&. .RE .PP \fBlargestfit\fR .RS 4 The largest dump image that will fit on the current tape\&. .RE .PP \fBsmallest\fR .RS 4 The smallest dump image\&. .RE .PP \fBlast\fR .RS 4 Last in, first out\&. .RE .RE .PP \fBtaperflush\fR \fIint\fR .RS 4 Default: \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 h > t \(mu f is satisfied, where h is the amount of data remaining on the holding disk from this or previous runs, t is the capacity of a volume, and f is this parameter, expressed as a percentage\&. This parameter may be greater than 100%\&. .sp The value of this parameter may not exceed that of the \fBflush\-threshold\-scheduled\fR parameter\&.; \fBautoflush\fR must be set to \*(Aqyes\*(Aq if \fBtaperflush\fR is greater than 0\&. .RE .PP \fBtaperscan\fR \fIstring\fR .RS 4 Default: traditional\&. The taperscan module amanda should use to find a tape to write to\&. See \fBamanda-taperscan\fR(7) for a list of modules\&. .RE .PP \fBtaper\-parallel\-write\fR \fIint\fR .RS 4 Default: \fI1\fR\&. Amanda can write simultaneously up to that number of volume at any given time\&. The changer must have as many drives\&. .RE .PP \fBtapetype\fR \fIstring\fR .RS 4 Default: \fIno default\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\&. .RE .PP \fBtmpdir\fR \fIstring\fR .RS 4 Default: none (system default)\&. Set it to a directory with lots of free space if sort in amindexd fail with \*(AqNo space left on device\*(Aq\&. .RE .PP \fBtpchanger\fR \fIstring\fR .RS 4 Default: not set\&. (deprecated) The tape changer to use\&. In most cases, only one of \fBtpchanger\fR or \fBtapedev\fR is specified, although for backward compatibility both may be specified if \fBtpchanger\fR gives the name of an old changer script\&. See \fBamanda-changers\fR(7) for more information on configuring changers\&. .RE .PP \fBunreserved\-tcp\-port\fR \fIint\fR,\fIint\fR .RS 4 Default: \-\-with\-tcpportrange or \fI1024,65535\fR\&. Unreserved tcp port that will be used (bsd, bsdudp)\&. Range is inclusive\&. .RE .PP \fBusetimestamps\fR \fIbool\fR .RS 4 Default: \fBYes\fR\&. Deprecated, the value is always \fBYes\fR\&. This option allows Amanda to track multiple runs per calendar day\&. .RE .PP \fBvault\-storage\fR \fIstring\fR+ .RS 4 Default: not set\&. The list of storages to vault to\&. .sp After writing to the storages listed in the \fBstorage\fR parameter, \fBamdump\fR will automatically write all pending dumps to the vault storage(s)\&. (These dumps are queued for vaulting based on the \fBvault\fR option specified in the definition section for the primary storage and the \fBdump\-selection\fR option specified on the vault storage\&.) .sp (\fBamvault\fR also uses the first storage in the \fBvault\-storage\fR list as its default destination storage\&.) .RE .SH "HOLDINGDISK SECTION" .PP 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: .nf define holdingdisk \fIname\fR { \fIholdingdisk\-option\fR \fIholdingdisk\-value\fR \&.\&.\&. } .fi .PP The { must appear at the end of a line, and the } on its own line\&. .PP \fIName\fR is a logical name for this holding disk\&. .PP The options and values are: .PP \fBcomment\fR \fIstring\fR .RS 4 Default: not set\&. A comment string describing this holding disk\&. .RE .PP \fBchunksize\fR \fIint\fR .RS 4 Default: \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\&. .sp The default unit is Kbytes if it is not specified\&. .sp If 0 is specified, Amanda will create holding disk chunks as large as ((INT_MAX/1024)\-64) Kbytes\&. .sp Each holding disk chunk includes a 32 Kbyte header, so the minimum chunk size is 64 Kbytes (but that would be really silly)\&. .sp 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\&. .RE .PP \fBdirectory\fR \fIstring\fR .RS 4 Default: \fI"/dumps/amanda"\fR\&. The path to this holding area\&. .RE .PP \fBuse\fR \fIint\fR .RS 4 Default: \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\&. .RE .PP \fBchunksize\fR \fIint\fR .RS 4 Default: \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\&. .sp The default unit is Kbytes if it is not specified\&. .sp If 0 is specified, Amanda will create holding disk chunks as large as ((INT_MAX/1024)\-64) Kbytes\&. .sp Each holding disk chunk includes a 32 Kbyte header, so the minimum chunk size is 64 Kbytes (but that would be really silly)\&. .sp 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\&. .RE .SH "DUMPTYPE SECTION" .PP The \fBamanda.conf\fR(5) file may define multiple sets of backup options and refer to them by name from the \fBdisklist\fR(5) 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\&. .PP A set of backup options are entered in a \fBdumptype\fR section, which looks like this: .nf define dumptype "\fIname\fR" { \fIdumptype\-option\fR \fIdumptype\-value\fR \&.\&.\&. } .fi .PP The { must appear at the end of a line, and the } on its own line\&. .PP \fIName\fR is the name of this set of backup options\&. It is referenced from the \fBdisklist\fR(5) file\&. .PP Some of the options in a \fBdumptype\fR section are the same as those in the main part of \fBamanda.conf\fR(5)\&. 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\&. .PP The dumptype options and values are: .PP \fBallow\-split\fR \fIbool\fR .RS 4 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\&. .RE .PP \fBapplication\fR \fIstring\fR .RS 4 No default\&. Must be the name of an application if \fIprogram\fR is set to \fIAPPLICATION\fR\&. See APPLICATION SECTION below\&. .RE .PP \fBauth\fR \fIstring\fR .RS 4 Default: \fI"bsdtcp"\fR\&. Type of authorization to perform between tape server and backup client hosts\&. See \fBamanda-auth\fR(7) for more detail\&. .RE .PP \fBamandad\-path\fR \fIstring\fR .RS 4 Default: \fI"$libexec/amandad"\fR\&. Specify the amandad path of the client, only use with rsh/ssh authentification\&. .RE .PP \fBbumpdays\fR \fIint\fR .RS 4 Default: \fI2 days\fR\&. To insure redundancy in the dumps, Amanda keeps filesystems at the same incremental level for at least \fBbumpdays\fR days, even if the other bump threshold criteria are met\&. .RE .PP \fBbumpmult\fR \fIfloat\fR .RS 4 Default: \fI1\&.5\fR\&. The bump size multiplier\&. Amanda 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\&. .RE .PP \fBbumppercent\fR \fIint\fR .RS 4 Default: \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\&. .sp If this parameter is set to 0, the value of the parameter \fIbumpsize\fR is used to trigger bumping\&. .sp See also the options \fBbumpsize\fR, \fBbumpmult\fR and \fBbumpdays\fR\&. .RE .PP \fBbumpsize\fR \fIint\fR .RS 4 Default: \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 \fIbumppercent\fR is set to 0\&. .sp The default unit is Kbytes if it is not specified\&. .sp See also the options \fBbumppercent\fR, \fBbumpmult\fR and \fBbumpdays\fR\&. .RE .PP \fBclient\-port\fR [ \fIint\fR | \fIstring\fR ] .RS 4 Default: \fI"amanda"\fR\&. Specifies the port to connect to on the client\&. It can be a service name or a numeric port number\&. .RE .PP \fBclient\-custom\-compress\fR \fIstring\fR .RS 4 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\&. .RE .PP \fBclient\-decrypt\-option\fR \fIstring\fR .RS 4 Default: \-d\&. The option that can be passed to client\-encrypt to make it decrypt instead\&. Must not contain whitespace\&. .RE .PP \fBclient\-encrypt\fR \fIstring\fR .RS 4 Default: none\&. The program to use to perform encryption/decryption on the client; used with "encrypt client"\&. Must not contain whitespace\&. .RE .PP \fBclient\-username\fR \fIstring\fR .RS 4 Default: \fICLIENT_LOGIN\fR\&. Specify the username to connect on the client, only use with rsh/ssh authentification\&. .RE .PP \fBcomment\fR \fIstring\fR .RS 4 Default: not set\&. A comment string describing this set of backup options\&. .RE .PP \fBcomprate\fR \fIfloat\fR [, \fIfloat\fR ] .RS 4 Default: \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\&. .RE .PP \fBcompress\fR [ \fBnone\fR | \fBclient\fR | \fBserver\fR ] [ \fBbest\fR | \fBfast\fR | \fBcustom\fR ] .RS 4 Default: \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\&. .sp For either type of compression, Amanda also allows the selection of three 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\&. Or to specify \fBcustom\fR to use your own compression method\&. (See dumptype custom\-compress in example/amanda\&.conf for reference) .sp So the \fBcompress\fR options line may be one of: .PP compress none .RS 4 .RE .PP compress client fast .RS 4 .RE .PP compress client best .RS 4 .RE .PP compress client custom .RS 4 Specify \fBclient\-custom\-compress\fR "PROG" .sp PROG must not contain white space and it must accept \-d for uncompress\&. .RE .PP compress server fast .RS 4 .RE .PP compress server best .RS 4 .RE .PP compress server custom .RS 4 Specify \fBserver\-custom\-compress\fR "PROG" .sp PROG must not contain white space and it must accept \-d for uncompress\&. .RE .sp 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), Amanda (software) compression should be disabled\&. .RE .PP \fBdumpcycle\fR \fIint\fR .RS 4 Default: \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\&. .RE .PP \fBdump\-limit\fR [ \fBserver\fR | \fBsame\-host\fR ]* .RS 4 Default: \fBserver\fR\&. Specify which host can initiate a backup of the dle\&. With \fBserver\fR, the server can initiate a backup with the \fBamdump\fR command\&. With \fBsame\-host\fR, the client can initiate a backup with the \fBamdump_client\fR command\&. .RE .PP \fBencrypt\fR [ \fBnone\fR | \fBclient\fR | \fBserver\fR ] .RS 4 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\&. .sp So the \fBencrypt\fR options line may be one of: .PP encrypt none .RS 4 .RE .PP encrypt client .RS 4 Specify client\-encrypt "PROG" .sp PROG must not contain white space\&. .sp Specify client\-decrypt\-option "decryption\-parameter" Default: "\-d" .sp decryption\-parameter must not contain white space\&. .sp (See dumptype client\-encrypt\-nocomp in example/amanda\&.conf for reference) .RE .PP encrypt server .RS 4 Specify server\-encrypt "PROG" .sp PROG must not contain white space\&. .sp Specify server\-decrypt\-option "decryption\-parameter" Default: "\-d" .sp decryption\-parameter must not contain white space\&. .sp (See dumptype server\-encrypt\-fast in example/amanda\&.conf for reference) .RE .sp 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\&. \fIamcrypt\fR which is a wrapper of \fIaespipe\fR is provided as a reference symmetric encryption program\&. .RE .PP \fBestimate\fR [ \fBclient\fR | \fBcalcsize\fR | \fBserver\fR ]+ .RS 4 Default: \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: .PP client .RS 4 Use the same program as the dumping program\&. This is the most accurate method to do estimates, but it can take a long time\&. .RE .PP calcsize .RS 4 Use a faster program to do estimates, but the result is less accurate\&. .RE .PP server .RS 4 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\&. .RE .RE .PP \fBexclude\fR [ \fBlist\fR | \fBfile\fR ][[\fBoptional\fR][\fBappend\fR][ \fIstring\fR ]+] .RS 4 Default: \fBfile\fR\&. Exclude is the opposite of \fBinclude\fR 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\&. .sp There are two exclude parameters, \fBexclude\fR\fBfile\fR and \fBexclude\fR\fBlist\&.\fR With \fBexclude\fR\fBfile\fR, the \fIstring\fR is an exclude expression\&. With \fBexclude\fR\fBlist\fR , the \fIstring\fR is a file name on the client containing \fBGNU\-tar\fR 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\&. .sp All exclude expressions are concatenated in one file and passed to the application as an \fB\-\-exclude\-from\fR argument\&. .sp For \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\&. .sp With the \fBappend\fR keyword, the \fIstring\fR is appended to the current list, without it, the \fIstring\fR overwrites the list\&. .sp If \fBoptional\fR is specified for \fBexclude\fR\fBlist\fR, then amcheck will not complain if the file doesn\*(Aqt exist or is not readable\&. .sp For \fBexclude\fR\fBlist\fR, if the file name is relative, the disk name being backed up is prepended\&. So if this is entered: .nf exclude list "\&.amanda\&.excludes" .fi the actual file used would be /var/\&.amanda\&.excludes for a backup of /var, /usr/local/\&.amanda\&.excludes for a backup of /usr/local, and so on\&. .RE .PP \fBfallback\-splitsize\fR \fIint\fR .RS 4 Deprecated\&. See "Dump Splitting Configuration" below\&. .sp Default: \fI10M\fR\&. This specifies the part size used when no \fBsplit\-diskbuffer\fR 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\&. .RE .PP \fBholdingdisk\fR [ \fBnever\fR | \fBauto\fR | \fBrequired\fR ] .RS 4 Default: \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 \fBholdingdisk\fR set to \fInever\fR to avoid backing up the holding disk into itself\&. .PP \fBnever\fR|no|false|off .RS 4 Never use a holdingdisk, the dump will always go directly to tape\&. There will be no dump if you have a tape error\&. .RE .PP \fBauto\fR|yes|true|on .RS 4 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) .RE .PP \fBrequired\fR .RS 4 Always dump to holdingdisk, never directly to tape\&. There will be no dump if it doesn\*(Aqt fit on holdingdisk .RE .RE .PP \fBignore\fR \fIboolean\fR .RS 4 Default: \fBno\fR\&. Whether disks associated with this backup type should be backed up or not\&. This option is useful when the \fIdisklist\fR file is shared among several configurations, some of which should not back up all the listed file systems\&. .RE .PP \fBinclude\fR [ \fBlist\fR | \fBfile\fR ][[\fBoptional\fR][\fBappend\fR][ \fIstring\fR ]+] .RS 4 Default: \fBfile\fR "\&."\&. There are two include lists, \fBinclude file\fR and \fBinclude list\&.\fR With \fBinclude file\fR , the \fIstring\fR is a glob expression\&. With \fBinclude list\fR , the \fIstring\fR is a file name on the client containing glob expressions\&. .sp All include expressions are expanded by Amanda, 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 "/"\&. .sp Include expressions must always be specified as relative to the head directory of the DLE\&. .if n \{\ .sp .\} .RS 4 .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 .br .ps +1 \fBNote\fR .ps -1 .br 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\&. .sp .5v .RE With the \fBappend\fR keyword, the \fIstring\fR is appended to the current list, without it, the \fIstring\fR overwrites the list\&. .sp If \fBoptional\fR is specified for \fBinclude list\fR, then amcheck will not complain if the file doesn\*(Aqt exist or is not readable\&. .sp For \fBinclude list\fR, If the file name is relative, the disk name being backed up is prepended\&. .RE .PP \fBindex\fR \fIboolean\fR .RS 4 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\&. .RE .PP \fBkencrypt\fR \fIboolean\fR .RS 4 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\&. .RE .PP \fBmaxdumps\fR \fIint\fR .RS 4 Default: \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 \fBinparallel\fR\&. .RE .PP \fBmaxpromoteday\fR \fIint\fR .RS 4 Default: \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\&. .RE .PP \fBmax\-warnings\fR \fIint\fR .RS 4 Default: \fI20\fR\&. The maximum number of error lines in the report for a dle\&. A value of \*(Aq0\*(Aq means unlimited\&. This is useful to reduce the size of the log file and the size of the report\&. All errors are put in separate files if a dle have more errors\&. .RE .PP \fBpriority\fR [ \fBlow\fR | \fBmedium\fR | \fBhigh\fR ] .RS 4 Default: \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\&. .RE .PP \fBprogram\fR [ \fB"DUMP"\fR | \fB"GNUTAR"\fR | \fB"APPLICATION"\fR ] .RS 4 Default: \fI"DUMP"\fR\&. The type of backup to perform\&. Valid values are: .PP \fB"DUMP"\fR .RS 4 The native operating system backup program\&. .RE .PP \fB"GNUTAR"\fR .RS 4 To use GNU\-tar or to do PC backups using Samba\&. .RE .PP \fB"APPLICATION"\fR .RS 4 To use an application, see the \fIapplication\fR option\&. .RE .RE .PP \fBproperty\fR [\fBappend\fR] [ \fBhidden\fR | \fBvisible\fR ] \fIstring\fR \fIstring\fR+ .RS 4 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\&. \fBappend\fR keyword append the values to the list of values for that property\&. .sp With \fBhidden\fR (the default), the property are not put in the amanda dump header and in the log/debug files\&. With \fBvisible\fR, they are put in the amanda dump header and in the log/debug files\&. Use \fBhidden\fR if the property must be kept secret\&. .RE .PP \fBrecord\fR \fIboolean\fR .RS 4 Default: \fByes\fR\&. Whether to ask the backup program to update its database (e\&.g\&. /var/lib/dumpdates for DUMP or /usr/local/var/amanda/gnutar\-lists for GNUTAR) of time stamps\&. This is normally enabled for daily backups and turned off for periodic archival runs\&. .RE .PP \fBrecovery\-limit\fR [ \fBserver\fR | \fBsame\-host\fR | \fIstring\fR ]* .RS 4 Default: global value\&. This parameter overrides the global \fBrecovery\-limit\fR parameter for DLEs of this dumptype\&. .RE .PP \fBretry\-dump\fR \fIint\fR .RS 4 Default: \fB2\fR\&. The number of times a backup is tried in case of failure\&. .RE .PP \fBscript\fR \fIstring\fR .RS 4 No default\&. Must be the name of a script\&. You can have many script\&. See SCRIPT SECTION below\&. .RE .PP \fBserver\-custom\-compress\fR \fIstring\fR .RS 4 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\&. .RE .PP \fBserver\-decrypt\-option\fR \fIstring\fR .RS 4 Default: \-d\&. The option that can be passed to server\-encrypt to make it decrypt instead\&. Must not contain whitespace\&. .RE .PP \fBserver\-encrypt\fR \fIstring\fR .RS 4 Default: none\&. The program to use to perform encryption/decryption on the server; used with "encrypt server"\&. Must not contain whitespace\&. .RE .PP \fBskip\-full\fR \fIboolean\fR .RS 4 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 Amanda only schedules level 1 incrementals in this configuration; this is probably a bug\&. .RE .PP \fBskip\-incr\fR \fIboolean\fR .RS 4 Default: \fBno\fR\&. If \fBtrue\fR and \fBplanner\fR has scheduled an incremental backup, these disks will be skipped\&. .RE .PP \fBsplit\-diskbuffer\fR \fIstring\fR .RS 4 .PP Deprecated\&. See "Dump Splitting Configuration" below\&. 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\&. .RE .PP \fBssh\-keys\fR \fIstring\fR .RS 4 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\&. .RE .PP \fBstarttime\fR \fIint\fR .RS 4 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 1830\&. .RE .PP \fBstrategy\fR [ \fBstandard\fR | \fBnofull\fR | \fBnoinc\fR | \fBskip\fR | \fBincronly\fR ] .RS 4 Default: \fBstandard\fR\&. Strategy to use when planning what level of backup to run next\&. Values are: .PP \fBstandard\fR .RS 4 The standard Amanda schedule\&. .RE .PP \fBnofull\fR .RS 4 Never do full backups, only level 1 incrementals\&. .RE .PP \fBnoinc\fR .RS 4 Never do incremental backups, only full dumps\&. .RE .PP \fBskip\fR .RS 4 Treat this DLE as if it doesn\*(Aqt exist (useful to disable DLEs when sharing the \fIdisklist\fR file between multiple configurations)\&. Skipped DLEs will not be checked or dumped, and will not be matched by disklist expressions\&. .RE .PP \fBincronly\fR .RS 4 Only do incremental dumps\&. \fBamadmin force\fR should be used to tell Amanda that a full dump has been performed off\-line, so that it resets to level 1\&. .RE .RE .PP \fBtag\fR [\fBappend\fR] \fIstring\fR* .RS 4 Default: no default\&. Specify the tags that match the dump\-selection of a storage\&. .RE .PP \fBtape\-splitsize\fR \fIint\fR .RS 4 Deprecated\&. See "Dump Splitting Configuration" below\&. .sp Default: not set\&. Split dump file on tape into pieces of a specified size\&. The default unit is Kbytes if it is not specified\&. .RE .PP The following \fBdumptype\fR entries are predefined by Amanda: .nf define dumptype "no\-compress" { compress none } define dumptype "compress\-fast" { compress client fast } define dumptype "compress\-best" { compress client best } define dumptype "srvcompress" { compress server fast } define dumptype "bsd\-auth" { auth "bsd" } define dumptype "bsdtcp\-auth" { auth "bsdtcp" } define dumptype "no\-record" { record no } define dumptype "no\-hold" { holdingdisk no } define dumptype "no\-full" { skip\-full yes } .fi .PP In addition to options in a \fBdumptype\fR section, one or more other \fBdumptype\fR names may be supplied as identifiers, 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: .nf define dumptype "normal" { comment "Normal backup, no compression, do indexing" no\-compress index yes maxdumps 2 } define dumptype "testing" { comment "Test backup, no compression, do indexing, no recording" "normal" record no } .fi .PP Amanda provides a \fBdumptype\fR named \fIglobal\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, although you must be careful that every dumptype explicitly inherits from the \fIglobal\fR dumptype \- Amanda does not do so automatically\&. .SH "TAPETYPE SECTION" .PP 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: .nf define tapetype "\fIname\fR" { \fItapetype\-option\fR \fItapetype\-value\fR \&.\&.\&. } .fi .PP The { must appear at the end of a line, and the } on its own line\&. .PP \fIName\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\&. .PP The tapetype options and values are: .PP \fBblocksize\fR \fIint\fR .RS 4 Default: \fI32 kbytes\fR\&. How much data will be written in each tape record, expressed in kbytes\&. This is similar to the \fIBLOCK_SIZE\fR 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\&. .RE .PP \fBcomment\fR \fIstring\fR .RS 4 Default: not set\&. A comment string describing this set of tape information\&. .RE .PP \fBfilemark\fR \fIint\fR .RS 4 Default: \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\&. .RE .PP \fBlbl\-templ\fR \fIstring\fR .RS 4 Default: not set\&. A PostScript template file used by \fBamreport\fR to generate labels\&. Several sample files are provided with the Amanda sources in the \fIexample\fR directory\&. See the \fBamreport\fR(8) man page for more information\&. .RE .PP \fBlength\fR \fIint\fR .RS 4 Default: \fI2000 kbytes\fR\&. How much data will fit on a tape, expressed in kbytes\&. .sp 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 \fBlength\fR (but see \fBamanda-devices\fR(7) for exceptions)\&. .RE .PP \fBpart\-cache\-dir\fR \fIstring\fR .RS 4 Default: none\&. The directory in which part\-cache files can be written when caching on disk\&. See "Dump Splitting Configuration" below\&. .RE .PP \fBpart\-cache\-max\-size\fR \fIint\fR .RS 4 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\&. .RE .PP \fBpart\-cache\-type\fR [ \fBnone\fR | \fBdisk\fR | \fBmemory\fR ] .RS 4 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 \fBpart\-cache\-dir\fR 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\&. .RE .PP \fBpart\-size\fR \fIint\fR .RS 4 If this is set to zero (default), then no splitting will take place, and the entire dump will fail, if end\-of\-medium is encountered before the dump is complete, unless the device property LEOM is true, and the device can detect EOM\&. See "Dump Splitting Configuration" below\&. .RE .PP \fBreadblocksize\fR \fIint\fR .RS 4 Default: \fI32 kytes\fR 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\&. .sp The default unit is Kbytes if it is not specified\&. .RE .PP \fBspeed\fR \fIint\fR .RS 4 Default: \fI200 bps\fR\&. How fast the drive will accept data, in bytes per second\&. This parameter is NOT currently used by Amanda\&. .RE .PP In addition to options, another \fBtapetype\fR name may be supplied as an identifier, 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: .nf define tapetype "DLT4000\-III" { comment "DLT4000 tape drives with Compact\-III tapes" length 12500 mbytes # 10 Gig tapes with some compression filemark 2000 kbytes speed 1536 kps } define tapetype "DLT4000\-IV" { "DLT4000\-III" comment "DLT4000 tape drives with Compact\-IV tapes" length 25000 mbytes # 20 Gig tapes with some compression } .fi .SH "INTERFACE SECTION" .PP 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: .nf define interface "\fIname\fR" { \fIinterface\-option\fR \fIinterface\-value\fR \&.\&.\&. } .fi .PP The { must appear at the end of a line, and the } on its own line\&. .PP \fIname\fR is the name of this type of network interface\&. It is referenced from the \fIdisklist\fR file\&. .PP If a \fBsrc\-ip\fR is specified, then the connection should be from an interface with that IP\&. The system decide which interface to use if \fBsrc\-ip\fR is not specified\&. You can add route at the system level to do more specific routing\&. .PP The section do not 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\&. .PP The interface options and values are: .PP \fBcomment\fR \fIstring\fR .RS 4 Default: not set\&. A comment string describing this set of network information\&. .RE .PP \fBsrc\-ip\fR \fIstring\fR .RS 4 The IP address to use when sending a request to an amanda client\&. .RE .PP \fBuse\fR \fIint\fR .RS 4 Default: \fI80000 Kbps\fR\&. The speed of the interface in Kbytes per second\&. .RE .PP In addition to options, another \fBinterface\fR name may be supplied as an identifier, which makes this \fBinterface\fR inherit options from another \fBinterface\fR\&. At the moment, this is of little use\&. .SH "APPLICATION SECTION" .PP The \fBamanda\&.conf\fR file may define multiple types of application\&. The information is entered in a \fBapplication\fR section, which looks like this: .nf define application "\fIname\fR" { \fIapplication\-option\fR \fIapplication\-value\fR \&.\&.\&. } .fi .PP The { must appear at the end of a line, and the } on its own line\&. .PP \fIname\fR is the name of this type of application\&. It is referenced from the \fIdumptype\fR .PP The application options and values are: .PP \fBclient\-name\fR \fIstring\fR .RS 4 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 \fBclient\-name\fR is set then it is an error if that application is not defined on the client\&. .sp If \fBclient\-name\fR 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\&. .RE .PP \fBcomment\fR \fIstring\fR .RS 4 Default: not set\&. A comment string describing this application\&. .RE .PP \fBplugin\fR \fIstring\fR .RS 4 No default\&. Must be set to the name of the program\&. This program must be in the \fI$libexecdir/amanda/application\fR directory on the client\&. .RE .PP \fBproperty\fR [\fBappend\fR] [\fBpriority\fR] \fIstring\fR \fIstring\fR+ .RS 4 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\&. \fBappend\fR keyword append the values to the list of values for that property\&. \fBpriority\fR keyword disallow the setting of that property on the client\&. .RE .SH "SCRIPT SECTION" .PP The \fBamanda\&.conf\fR file may define multiple types of script\&. The information is entered in a \fBscript\fR section, which looks like this: .nf define script "\fIname\fR" { \fIscript\-option\fR \fIscript\-value\fR \&.\&.\&. } .fi .PP The { must appear at the end of a line, and the } on its own line\&. .PP \fIname\fR is the name of this type of script\&. It is referenced from the \fIdumptype\fR .PP The script options and values are: .PP \fBclient\-name\fR \fIstring\fR .RS 4 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 \fBclient\-name\fR is set then it is an error if that script is not defined on the client\&. .sp If \fBclient\-name\fR 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\&. .RE .PP \fBcomment\fR \fIstring\fR .RS 4 Default: not set\&. A comment string describing this script\&. .RE .PP \fBexecute\-on\fR \fIexecute_on\fR [,\fIexecute_on\fR]* .RS 4 No default\&. When the script must be executed, you can specify many of them: .PP \fBpre\-amcheck\fR .RS 4 Execute before the amcheck command for all dle\&. Can only be run on server\&. .RE .PP \fBpre\-dle\-amcheck\fR .RS 4 Execute before the amcheck command for the dle\&. .RE .PP \fBpre\-host\-amcheck\fR .RS 4 Execute before the amcheck command for all dle for the client\&. .RE .PP \fBpost\-amcheck\fR .RS 4 Execute after the amcheck command for all dle\&. Can only be run on server\&. .RE .PP \fBpost\-dle\-amcheck\fR .RS 4 Execute after the amcheck command for the dle\&. .RE .PP \fBpost\-host\-amcheck\fR .RS 4 Execute after the amcheck command for all dle for the client\&. .RE .PP \fBpre\-estimate\fR .RS 4 Execute before the estimate command for all dle\&. Can only be run on server\&. .RE .PP \fBpre\-dle\-estimate\fR .RS 4 Execute before the estimate command for the dle\&. .RE .PP \fBpre\-host\-estimate\fR .RS 4 Execute before the estimate command for all dle for the client\&. .RE .PP \fBpost\-estimate\fR .RS 4 Execute after the estimate command for all dle\&. Can only be run on server\&. .RE .PP \fBpost\-dle\-estimate\fR .RS 4 Execute after the estimate command for the dle\&. .RE .PP \fBpost\-host\-estimate\fR .RS 4 Execute after the estimate command for all dle for the client\&. .RE .PP \fBpre\-backup\fR .RS 4 Execute before the backup command for all dle\&. Can only be run on server\&. .RE .PP \fBpre\-dle\-backup\fR .RS 4 Execute before the backup command for the dle\&. .RE .PP \fBpre\-host\-backup\fR .RS 4 Execute before the backup command for all dle for the client\&. It can\*(Aqt be run on client, it must be run on server .RE .PP \fBpost\-backup\fR .RS 4 Execute after the backup command for all dle\&. Can only be run on server\&. .RE .PP \fBpost\-dle\-backup\fR .RS 4 Execute after the backup command for the dle\&. .RE .PP \fBpost\-host\-backup\fR .RS 4 Execute after the backup command for all dle for the client\&. It can\*(Aqt be run on client, it must be run on server .RE .PP \fBpre\-recover\fR .RS 4 Execute before any level is recovered\&. .RE .PP \fBpost\-recover\fR .RS 4 Execute after all levels are recovered\&. .RE .PP \fBpre\-level\-recover\fR .RS 4 Execute before each level recovery\&. .RE .PP \fBpost\-level\-recover\fR .RS 4 Execute after each level recovery\&. .RE .PP \fBinter\-level\-recover\fR .RS 4 Execute between two levels of recovery\&. .RE .sp If you recover level 0 and 2 of the disk /usr with amrecover, it will execute: .nf script \-\-pre\-recover script \-\-pre\-level\-recover \-\-level 0 #recovering level 0 script \-\-post\-level\-recover \-\-level 0 script \-\-inter\-level\-recover \-\-level 0 \-\-level 2 script \-\-pre\-level\-recover \-\-level 2 #recovering level 2 script \-\-post\-level\-recover \-\-level 2 script \-\-post\-recover .fi .RE .PP \fBexecute\-where\fR [ \fBclient\fR | \fBserver\fR ] .RS 4 Default: \fBclient\fR\&. Where the script must be executed, on the client or server\&. .RE .PP \fBorder\fR \fIint\fR .RS 4 Default: \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\&. .RE .PP \fBplugin\fR \fIstring\fR .RS 4 No default\&. Must be set to the name of the program\&. This program must be in the \fI$libexecdir/amanda/application\fR directory on the client and/or server\&. .RE .PP \fBproperty\fR [\fBappend\fR] [\fBpriority\fR] \fIstring\fR \fIstring\fR+ .RS 4 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\&. \fBappend\fR keyword append the values to the list of values for that property\&. \fBpriority\fR keyword disallow the setting of that property on the client\&. .RE .PP \fBsingle\-execution\fR \fIboolean\fR .RS 4 Default: \fIno\fR\&. The script is executed for each dle\&. If \fIyes\fR, the script is executed one time only\&. .RE .SH "DEVICE SECTION" .PP Backend storage devices are specified in \fBamanda\&.conf\fR in the form of "device" sections, which look like this: .nf define device \fIname\fR { comment "\fIcomment (optional)\fR" tapedev "\fIdevice\-specifier\fR" device\-property "\fIprop\-name\fR" "\fIprop\-value\fR" \&.\&.\&. } .fi .PP The { must appear at the end of a line, and the } on its own line\&. .PP \fIname\fR is the user\-specified name of this device\&. It is referenced from the global \fItapedev\fR parameter\&. The \fIdevice\-specifier\fR specifies the device name to use; see \fBamanda-devices\fR(7)\&. As with most sections, the \fIcomment\fR parmeter is optional and only for the user\*(Aqs convenience\&. .PP An arbitrary number of \fIdevice\-property\fR parameters can be specified\&. Again, see \fBamanda-devices\fR(7) for information on device properties\&. .SH "CHANGER SECTION" .PP Changers are described in \fBamanda\&.conf\fR in the form of "changer" sections, which look like this: .nf define changer \fIname\fR { comment "\fIcomment (optional)\fR" tpchanger "\fIchanger\-spec\fR" changerdev "\fIdevice\-name\fR" changerfile "\fIstate\-file\fR" \&.\&.\&. } .fi .PP The { must appear at the end of a line, and the } on its own line\&. .PP \fIname\fR is the user\-specified name of this device\&. The remaining parameters are specific to the changer type selected\&. .PP The tpchanger and changerfile can use \*(Aq$t\*(Aq to substitute the name of the changer\&. .PP See \fBamanda-changers\fR(7) for more information on configuring changers\&. .SH "INTERACTIVITY SECTION" .PP The \fBamanda\&.conf\fR file may define multiple interactivyt methods, although only one will be used \- that specified by the \fBinteractivity\fR parameter\&. The information is entered in a \fBinteractivity\fR section, which looks like this: .nf define interactivity \fIname\fR { \fIinteractivity\-option\fR \fIinteractivity\-value\fR \&.\&.\&. } .fi .PP The { must appear at the end of a line, and the } on its own line\&. .PP \fIname\fR is the user\-specified name of this interactivity\&. The remaining parameters are specific to the interactivity type selected\&. .PP The interactivity options and values are: .PP \fBcomment\fR \fIstring\fR .RS 4 Default: not set\&. A comment string describing this interactivity\&. .RE .PP \fBplugin\fR \fIstring\fR .RS 4 No default\&. Must be set to the name of the interactivity module, as described in \fBamanda-interactivity\fR(7)\&. .RE .PP \fBproperty\fR [\fBappend\fR] \fIstring\fR \fIstring\fR+ .RS 4 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 \fBappend\fR keyword appends the given values to an existing list of values for that property\&. .RE .PP See \fBamanda-interactivity\fR(7) for more information on configuring interactivity methods\&. .SH "TAPERSCAN SECTION" .PP The \fBamanda\&.conf\fR file may define multiple taperscan methods, it is set with the global \fBtaperscan\fR parameter or in the storage section\&. The information is entered in a \fBtaperscan\fR section, which looks like this: .nf define taperscan \fIname\fR { \fItaperscan\-option\fR \fItaperscan\-value\fR \&.\&.\&. } .fi .PP The { must appear at the end of a line, and the } on its own line\&. .PP \fIname\fR is the user\-specified name of this taperscan\&. The remaining parameters are specific to the taperscan type selected\&. .PP The taperscan options and values are: .PP \fBcomment\fR \fIstring\fR .RS 4 Default: not set\&. A comment string describing this taperscan\&. .RE .PP \fBplugin\fR \fIstring\fR .RS 4 No default\&. Must be set to the name of the taperscan module\&. See \fBamanda-taperscan\fR(7) for a list of defined taperscan modules\&. .RE .PP \fBproperty\fR [\fBappend\fR] \fIstring\fR \fIstring\fR+ .RS 4 No default\&. Operates just like properties for interactivity methods, above\&. .RE .PP See \fBamanda-taperscan\fR(7) for more information on configuring taperscan\&. .SH "POLICY SECTION" .PP The \fBamanda\&.conf\fR file may define multiple policy, it is set with the \fBpolicy\fR parameter of the storage section\&. A policy name CONFIG_NAME is automaticaly created\&. The information is entered in a \fBpolicy\fR section, which looks like this: .nf define policy \fIname\fR { \fIpolicy\-option\fR \fIpolicy\-value\fR \&.\&.\&. } .fi .PP The { must appear at the end of a line, and the } on its own line\&. .PP \fIname\fR is the user\-specified name of this policy\&. The remaining parameters are specific to the policy type selected\&. .PP The policy options and values are: .PP \fBcomment\fR \fIstring\fR .RS 4 Default: not set\&. A comment string describing this policy\&. .RE .PP \fBretention\-days\fR \fIint\fR .RS 4 Default: 0\&. A volume is kept for that number of days before it can be reused\&. .RE .PP \fBretention\-full\fR \fIint\fR .RS 4 Default: 0\&. A volume is kept if it contains a FULL not older then \fBretention\-full\fR days\&. .RE .PP \fBretention\-recover\fR \fIint\fR .RS 4 Default: 0\&. Keep all volumes needed to recover all files up to \fBretention\-recover\fR days ago, if it was a level 2, also keep previous level 1 and level 0\&. .RE .PP \fBretention\-tapes\fR \fIint\fR .RS 4 Default: global tapecycle\-1\&. The latest used \fBretention\-tapes\fR volume can\*(Aqt be reused\&. You must have more than \fBretention\-tapes\fR volumes before a volume can be re\-used\&. .RE .SH "STORAGE SECTION" .PP The \fBamanda\&.conf\fR file may define multiple storage, the default storages are set with the \fBstorage\fR parameter\&. The vaulting storage are set with the the \fBvault\-storage\fR parameter\&. A storage name CONFIG_NAME is created if the global \fBstorage\fR is not set\&. The information is entered in a \fBstorage\fR section, which looks like this: .nf define storage \fIname\fR { \fIstorage\-option\fR \fIstorage\-value\fR \&.\&.\&. } .fi .PP The { must appear at the end of a line, and the } on its own line\&. .PP \fIname\fR is the user\-specified name of this storage\&. The remaining parameters are specific to the storage type selected\&. .PP The storage options and values are: .PP \fBautoflush\fR \fBno\fR|\fByes\fR|\fBall\fR .RS 4 Default: value of the global \fBautoflush\fR\&. .RE .PP \fBautolabel\fR \fIstring\fR [\fBany\fR] [\fBother\-config\fR] [\fBnon\-amanda\fR] [\fBvolume\-error\fR] [\fBempty\fR] .RS 4 Default: value of the global \fBautolabel\fR\&. .RE .PP \fBcomment\fR \fIstring\fR .RS 4 Default: not set\&. A comment string describing this storage\&. .RE .PP \fBdevice\-output\-buffer\-size\fR \fIint\fR .RS 4 Default: value of the global \fBdevice\-output\-buffer\-size\fR\&. .RE .PP \fBdump\-selection\fR [\fIstring\fR | \fBALL\fR] [ \fBALL\fR | \fBFULL\fR | \fBINCR\fR ] .RS 4 Default: no default\&. The dump\-selection specify which dump will be written to the storage\&. The first field is the tag, either it is \fBALL\fR and all DLEs matches or it is a tag string and a dle match only if it have that tag\&. The second field is the level, it can be \fBALL\fR for all level, \fBFULL\fR for level 0 only or \fBINCR\fR for level > 0 only\&. .RE .PP \fBeject\-volume\fR \fIbool\fR .RS 4 Default: value of the global \fBeject\-volume\fR\&. .RE .PP \fBerase\-on\-failure\fR \fIbool\fR .RS 4 Default: \fBNO\fR\&. Automatically erase a volume if nothing useful was written to it\&. This is useful to reuse the volume sooner\&. .RE .PP \fBerase\-on\-full\fR \fIbool\fR .RS 4 Default: \fBNO\fR\&. Automatically erase a no\-retention volume if the vtape area become full\&. .RE .PP \fBerase\-volume\fR \fIbool\fR .RS 4 Default: \fBNO\fR\&. Automatically erase the volume when the policy expire\&. This is useful to free space on vtape or s3 devices or to allow another storage to use that volume\&. .RE .PP \fBflush\-threshold\-dumped\fR \fIint\fR .RS 4 Default: value of the global \fBflush\-threshold\-dumped\fR\&. .RE .PP \fBflush\-threshold\-scheduled\fR \fIint\fR .RS 4 Default: value of the global \fBflush\-threshold\-scheduled\fR\&. .RE .PP \fBinteractivity\fR \fIstring\fR .RS 4 Default: value of the global \fBinteractivity\fR\&. .RE .PP \fBlabelstr\fR \fIstring\fR .RS 4 Default: value of the global \fBlabelstr\fR\&. .RE .PP \fBmax\-dle\-by\-volume\fR \fIint\fR .RS 4 Default: value of the global \fBmax\-dle\-by\-volume\fR\&. .RE .PP \fBmeta\-autolabel\fR \fIstring\fR .RS 4 Default: value of the global \fBmeta\-autolabel\fR\&. .RE .PP \fBpolicy\fR \fIstring\fR .RS 4 Default: CONFIG_NAME\&. Define the policy to use\&. .RE .PP \fBreport\-next\-media\fR \fIboolean\fR .RS 4 Default: value of the global \fBreport\-next\-media\fR\&. .RE .PP \fBreport\-use\-media\fR \fIboolean\fR .RS 4 Default: value of the global \fBreport\-use\-media\fR\&. .RE .PP \fBruntapes\fR \fIint\fR .RS 4 Default: value of the global \fBruntapes\fR\&. .RE .PP \fBset\-no\-reuse\fR \fIbool\fR .RS 4 Default: \fBno\fR\&. If set to \fByes\fR, a volume is marked as \fBno\-reuse\fR after it is written\&. .RE .PP \fBtapedev\fR \fIstring\fR .RS 4 Default: value of the global \fBtapedev\fR\&. .sp This parameter can either specify a device (explicitly or by referencing a device definition \- see \fBamanda-devices\fR(7)) or a tape changer (explicitly or by referencing a device definition \- see \fBamanda-changers\fR(7))\&. .RE .PP \fBtapepool\fR \fIstring\fR .RS 4 Default: CONFIG_NAME\&. Some characters are substituted: .sp .nf $o : org configuration $c : config name $r : storage name .fi .RE .PP \fBtaperalgo\fR [ \fBfirst\fR | \fBfirstfit\fR | \fBlargest\fR | \fBlargestfit\fR | \fBsmallest\fR | \fBlast\fR ] .RS 4 Default: value of the global \fBtaperalgo\fR\&. .RE .PP \fBtaperflush\fR \fIint\fR .RS 4 Default: value of the global \fBtaperflush\fR\&. .RE .PP \fBtaperscan\fR \fIstring\fR .RS 4 Default: value of the global \fBtaperscan\fR\&. .RE .PP \fBtaper\-parallel\-write\fR \fIint\fR .RS 4 Default: value of the global \fBtaper\-parallel\-write\fR\&. .RE .PP \fBtapetype\fR \fIstring\fR .RS 4 Default: value of the global \fBtapetype\fR\&. .RE .PP \fBtpchanger\fR \fIstring\fR .RS 4 Default: value of the global \fBtpchanger\fR\&. .RE .PP \fBvault\fR \fIstorage\fR \fIint\fR .RS 4 Will vault all dumps from this storage to the new storage X days after the dumps\&. You can have multiple vault entry\&. .RE .SH "DUMP SPLITTING CONFIGURATION" .PP 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\&. .PP 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 available 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\&. .PP 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\&. .PP 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\&. .PP In versions of Amanda through 3\&.1\&.*, splitting was controlled by the dumptype parameters \fBtape\-splitsize\fR, \fBsplit\-diskbuffer\fR, and \fBfallback\-splitsize\fR\&. These keywords had confusing and non\-intuitive interactions, and have since been deprecated\&. .PP If the deprecated keywords are not present, subsequent versions of Amanda use the dumptype parameter \fBallow\-split\fR to control whether a DLE can be split, and the \fItapetype\fR parameters \fBpart\-size\fR, \fBpart\-cache\-type\fR, \fBpart\-cache\-dir\fR, and \fBpart\-cache\-max\-size\fR\&. The \fBpart\-size\fR specifies the "normal" part size, while the \fBpart\-cache\-*\fR parameters describe how to behave when caching is required (on PORT\-WRITE)\&. Full details on these parameters are given above\&. .SH "SEE ALSO" .PP \fBamanda\fR(8), \fBamanda-applications\fR(7), \fBamanda-auth\fR(7), \fBamanda-changers\fR(7), \fBamanda-client.conf\fR(5), \fBamanda-command-file\fR(5), \fBamanda-devices\fR(7), \fBamanda-interactivity\fR(7), \fBamanda-scripts\fR(7), \fBamanda-taperscan\fR(7), \fBamgetconf\fR(8), \fBamadmin\fR(8) .PP The Amanda Wiki: : http://wiki.zmanda.com/ .SH "AUTHORS" .PP \fBJames da Silva\fR <\&jds@amanda\&.org\&> .PP \fBStefan G\&. Weichinger\fR <\&sgw@amanda\&.org\&>