X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=man%2Fxml-source%2Famanda.conf.5.xml;h=cb33c5fefa9ca15a2c9c9262c2e0b87b9b4fdd9e;hb=538ae376635af705ebcd686f3b4b7b72a6652985;hp=fe19c50def205d4a77771bd1247661f4c72ce18e;hpb=fd48f3e498442f0cbff5f3606c7c403d0566150e;p=debian%2Famanda diff --git a/man/xml-source/amanda.conf.5.xml b/man/xml-source/amanda.conf.5.xml index fe19c50..cb33c5f 100644 --- a/man/xml-source/amanda.conf.5.xml +++ b/man/xml-source/amanda.conf.5.xml @@ -56,21 +56,18 @@ The remainder of the line is ignored. and MailTo are treated the same. Also, the characters -'-' -and -'_' +'-' and '_' are interchangeable in all predefined Amanda keywords: device_property and device-property -have the same meaning. +have the same meaning. This manpage uses the dashed versions, but the +underscored versions will be accepted for backward compatibility Identifiers are names which are defined in the configuration itself, such as dumptypes or interfaces. Identifiers are are case-insensitive, but sensitive to -'-' -vs. -'_'. +'-' vs. '_'. Identifiers should be quoted in the configuration file, although For historical reasons, the quotes are optional. @@ -91,7 +88,7 @@ tapetype "EXABYTE" # optional insensitive sensitive define dumptype "dt" { # optional insensitive sensitive "dumptype-common" # optional insensitive sensitive - strategy noincr # prohibited insensitive insensitive + strategy noinc # prohibited insensitive insensitive } @@ -351,6 +348,16 @@ Specify which types of messages will trigger an email from amreport. amreport is + + + max-dle-by-volume int + +Default: +1000000000. +The maximum number of dle written to a single volume. + + + dumpcycle int @@ -390,14 +397,31 @@ days / runtapes. + tapecycle int Default: 15 tapes. -Typically tapes are used by Amanda in an ordered rotation. The tapecycle parameter -defines the size of that rotation. This parameter must be be larger than the number of tapes -used in a dumpcycle. + +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 'tapecycle -1' +volumes have been written since. + + It is considered good administrative practice to set the +tapecycle 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. + +Note: Amanda is commonly misconfigured with tapecycle +equal to the number of tapes per dumpcycle. In this +misconfiguration, amanda may erase a full dump before a new one is +completed. Recovery is then impossible. The +tapecycle must be at least one tape larger than the +number of tapes per dumpcycle. + The number of tapes per dumpcycle is calculated by multiplying the number of &amdump; runs per dump cycle runspercycle (the @@ -406,21 +430,6 @@ remap='B'>runtapes (the number of tapes used per run). Typically tapecycle is set to two or four times the tapes per dumpcycle. -Amanda is commonly misconfigured with tapecycle -equal to the number of tapes per dumpcycle. In this -misconfiguration, amanda may erase a full dump before a new one is completed, -the recovery is then impossible. tapecycle must be at least one tape larger -than the number of tapes per dumpcycle. - - -While Amanda is always willing to use a new tape in its rotation, it refuses to reuse a tape until at -least 'tapecycle -1' number of other tapes have been used. - - -It is considered good administrative practice to set the tapecycle 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. - @@ -437,22 +446,13 @@ can't read logfiles written when this option was enabled. - label_new_tapes + label-new-tapes string - Deprecated, use autolabel option. + Deprecated, use autolabel option with options volume-error empty to get equivalent behavior. Default: not set. When set, this directive will cause Amanda to automatically write an Amanda -tape label to any blank tape she encounters. This option is DANGEROUS -because when set, Amanda will ERASE any non-Amanda tapes you may have, and may -also ERASE any near-failing tapes. Use with caution. -When using this directive, specify the template for new tape -labels. The template should contain some number of contiguous '%' -characters, which will be replaced with a generated number. Be sure to -specify enough '%' characters that you do not run out of tape labels. -Example: -label_new_tapes "DailySet1-%%%" - +tape label to any blank tape she encounters. @@ -460,9 +460,9 @@ Example: autolabel string [any] - [other_config] - [non_amanda] - [volume_error] + [other-config] + [non-amanda] + [volume-error] [empty] Default: not set. @@ -471,34 +471,54 @@ 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. When using this directive, specify the template for new tape -labels. The template should contain some number of contiguous '%' +labels. The template can contains many variables that are substituted by their +values: + + $c : config name + $o : org configuration + $b : barcode of the volume + $s : slot number, can specify a minimun number of digit: + $3s to get '001' + $m : meta label + +The template can contain some number of contiguous '%' characters, which will be replaced with a generated number. Be sure to specify enough '%' characters that you do not run out of tape labels. Example: -autolabel "DailySet1-%%%" empty +"DailySet1-%%%", +"$c-%%%", +"$m-%%%", +"$m-$b" +The generared label can be used only if it match the +labelstr setting. The volume will not be used if the +generated label doesn't match the labelstr setting. + +Note that many devices cannot distinguish an empty tape from an error +condition, so it may is often necessary to include +volume-error as an autolabel condition. any -equivalent to 'other_config non_amanda volume_error empty' +equivalent to 'other-config non-amanda volume-error empty' -other_config +other-config Label volumes with a valid Amanda label that do not match our labelstr. Danger: this may erase volumes from other Amanda configurations without warning! -non_amanda +non-amanda Label volumes which do not start with data that resembles an Amanda header. Danger: this may erase volumes from other backup applications without warning! -volume_error +volume-error Label volumes where an error occurs while trying to read the label. Danger: this may erase arbitrary volumes due to transient errors. @@ -512,6 +532,31 @@ Danger: this may erase arbitrary volumes due to transient errors. + + meta-autolabel + string + +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. +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. +When using this directive, specify the template for new meta +labels. The template can contains many variables that are substituted by their +values: + + $c : config name + $o : org configuration + +The template should contain some number of contiguous '%' +characters, which will be replaced with a generated number. Be sure to +specify enough '%' characters that you do not run out of meta labels. +Example: +"DailySet1-%%%", +"$o-%%%", + + + + dumpuser string @@ -542,30 +587,14 @@ option. Default: "null:". -The device name, referencing the name of a "device" section in the configuration file. See - -for more information on device names. - -If a tape changer is configured -(see the -tpchanger -option), this option might not be used. +This parameter can either specify a device (explicitly or by referencing a device definition - see ) +or a tape changer (explicitly or by referencing a device definition - see ). -If tapedev is -null:, -programs such as -&amdump; -will run normally but all images will be thrown away. -This should only be used for debugging and testing, -and probably only with the -record -option set to -no. - device_property string string + device-property string string These options can set various device properties. See @@ -574,7 +603,7 @@ 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: -device_property "BLOCK_SIZE" "128k" +device-property "BLOCK_SIZE" "128k" @@ -595,13 +624,30 @@ the property to set, and the others contains its values. tpchanger string -Default: not set. -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. -If a tape changer is configured, choose one of the changer scripts -(e.g. chg-scsi) -and enter that here. +Default: not set. The tape changer to use. In most cases, only one of +tpchanger or tapedev is +specified, although for backward compatibility both may be specified if +tpchanger gives the name of an old changer script. +See for more information on +configuring changers. + + + + + interactivity string + +Default: not set. The interactivity module Amanda should use to interact with +the user. See for a list of +modules. + + + + + taperscan string + +Default: traditional. The taperscan module amanda should use to find a tape +to write to. See for a list of +modules. @@ -620,7 +666,7 @@ option. changerfile string Default: -"usr/adm/amanda/log/changer-status". +"/usr/adm/amanda/log/changer-status". A tape changer configuration parameter. Usage depends on the particular changer defined with the tpchanger @@ -639,9 +685,6 @@ and should be commented out of the configuration file. let Amanda write to more than one tape. Note that this is an upper bound on the number of tapes, and Amanda may use less. -Also note that as of this release, Amanda does not support true tape overflow. -When it reaches the end of one tape, -the backup image Amanda was processing starts over again on the next tape. @@ -649,7 +692,7 @@ the backup image Amanda was processing starts over again on the next tape.maxdumpsize int Default: -runtapes*tape_length. +runtapes*tape-length. Maximum number of bytes the planner will schedule for a run. The default unit is Kbytes if it is not specified. @@ -702,6 +745,24 @@ The algorithm used to choose which dump image to send to the taper. + + taper-parallel-write int + + Default: 1. +Amanda can write simultaneously up to that number of volume at any given +time. The changer must have as many drives. + + + + + eject-volume int + + Default: no. +Set to yes if you want the volume to be ejected +after Amanda wrote data to it. It works only with some changer and device. + + + labelstr string @@ -778,7 +839,7 @@ per client instead of per disk. - connect_tries int + connect-tries int Default: 3. @@ -787,7 +848,7 @@ How many times the server will try a connection. - req_tries int + req-tries int Default: 3. @@ -799,7 +860,7 @@ How many times the server will resend a REQ packet if it doesn't get the ACK pac netusage int Default: -8000 Kbps. +80000 Kbps. The maximum network bandwidth allocated to Amanda, in Kbytes per second. See also the interface @@ -1023,7 +1084,7 @@ Amanda maintains this file with information about the active set of tapes. - device_output_buffer_size int + device-output-buffer-size int Default: 1280k. @@ -1040,7 +1101,7 @@ useful on fast tape drives and optical media. Default: 20. This option is deprecated; use -the device_output_buffer_size directive +the device-output-buffer-size directive instead. tapebufs works the same way, but the number specified is multiplied by the device blocksize prior to use. @@ -1060,35 +1121,39 @@ the amount of holding disk space reserved for incrementals should be lowered.

- autoflush bool + autoflush no|yes|all Default: -off. -Whether an amdump run will flush the dumps from holding disk to tape. +no. +Whether an amdump run will flush the dumps from holding disk to tape. +With yes, only dump matching the command line argument are flushed. +With all, all dump are flushed. - amrecover_do_fsf bool + amrecover-do-fsf bool +Deprecated; amrecover always uses fsf, and does not invoke amrestore. Default: on. Amrecover will call amrestore with the -f flag for faster positioning of the tape. - amrecover_check_label bool + amrecover-check-label bool +Deprecated; amrecover always checks the label, and does not invoke amrestore. Default: on. Amrecover will call amrestore with the -l flag to check the label. - amrecover_changer string + amrecover-changer string Default: not set. Amrecover will use the changer if you use 'settape <string>' and that string -is the same as the amrecover_changer setting. +is the same as the amrecover-changer setting. @@ -1159,7 +1224,7 @@ Relative pathnames are relative to the configuration directory. - debug_days int + debug-days int Default: 3. @@ -1168,7 +1233,7 @@ The number of days the debug files are kept. - debug_auth int + debug-auth int Default: 0. @@ -1177,7 +1242,7 @@ Debug level of the auth module - debug_event int + debug-event int Default: 0. @@ -1186,7 +1251,7 @@ Debug level of the event module - debug_holding int + debug-holding int Default: 0. @@ -1195,7 +1260,7 @@ Debug level of the holdingdisk module - debug_protocol int + debug-protocol int Default: 0. @@ -1204,7 +1269,7 @@ Debug level of the protocol module - debug_planner int + debug-planner int Default: 0. @@ -1213,7 +1278,7 @@ Debug level of the planner process - debug_driver int + debug-driver int Default: 0. @@ -1222,7 +1287,7 @@ Debug level of the driver process - debug_dumper int + debug-dumper int Default: 0. @@ -1231,7 +1296,7 @@ Debug level of the dumper process - debug_chunker int + debug-chunker int Default: 0. @@ -1240,7 +1305,7 @@ Debug level of the chunker process - debug_taper int + debug-taper int Default: 0. @@ -1248,6 +1313,15 @@ Debug level of the taper process + + debug-recovery int + +Default: +1. +Debug level of all recovery process + + + flush-threshold-dumped int @@ -1357,6 +1431,40 @@ Range is inclusive. + + recovery-limit [ string | same-host | server] + +Default: none (no limitations). This parameter limits the hosts + that may do recoveries. Hosts are identified by their authenticated + peer name, as described in ; 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 ) or the special + keywords same-host or server. + The same-host keyword requires an exact + match to the hostname of the DLE being recovered. + The server keyword require the connection come from + the fqdn of the server. + Specifying no arguments at all will disable all + recoveries from any host. + +Note that match expressions can be constructed to be + forgiving of e.g., fully-qualified vs. unqualified hostnames, but + same-host requires an exact match. + +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. + +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. + + + + @@ -1484,13 +1592,13 @@ are defined. auth string Default: -"bsd". +"bsdtcp". Type of authorization to perform between tape server and backup client hosts. See for more detail. - amandad_path string + amandad-path string Default: "$libexec/amandad". @@ -1500,7 +1608,7 @@ Specify the amandad path of the client, only use with rsh/ssh authentification. - client_username string + client-username string Default: CLIENT_LOGIN. @@ -1510,7 +1618,7 @@ Specify the username to connect on the client, only use with rsh/ssh authentific - client_port [ int | string ] + client-port [ int | string ] Default: "amanda". @@ -1519,6 +1627,7 @@ Specifies the port to connect to on the client. It can be a service name or a n + @@ -1653,7 +1762,7 @@ to use your own compression method. (See dumptype custom-compress in example/ama compress client custom - Specify client_custom_compress "PROG" + Specify client-custom-compress "PROG" PROG must not contain white space and it must accept -d for uncompress. @@ -1666,7 +1775,7 @@ to use your own compression method. (See dumptype custom-compress in example/ama compress server custom - Specify server_custom_compress "PROG" + Specify server-custom-compress "PROG" PROG must not contain white space and it must accept -d for uncompress. @@ -1678,7 +1787,7 @@ or mt option), Amanda (software) compression shou - client_custom_compress string + client-custom-compress string Default: none. The program to use to perform compression/decompression on the client; used with @@ -1687,7 +1796,7 @@ or mt option), Amanda (software) compression shou - server_custom_compress string + server-custom-compress string Default: none. The program to use to perform compression/decompression on the server; used with @@ -1722,9 +1831,9 @@ server host as it goes from the network into the holding disk or to tape. encrypt client - Specify client_encrypt "PROG" + Specify client-encrypt "PROG" PROG must not contain white space. - Specify client_decrypt_option "decryption-parameter" Default: "-d" + Specify client-decrypt-option "decryption-parameter" Default: "-d" decryption-parameter must not contain white space. (See dumptype client-encrypt-nocomp in example/amanda.conf for reference) @@ -1732,9 +1841,9 @@ server host as it goes from the network into the holding disk or to tape. encrypt server - Specify server_encrypt "PROG" + Specify server-encrypt "PROG" PROG must not contain white space. - Specify server_decrypt_option "decryption-parameter" Default: "-d" + Specify server-decrypt-option "decryption-parameter" Default: "-d" decryption-parameter must not contain white space. (See dumptype server-encrypt-fast in example/amanda.conf for reference) @@ -1750,7 +1859,7 @@ client-encryption AND server-compression is not supported. - client_encrypt string + client-encrypt string Default: none. The program to use to perform encryption/decryption on the client; used with @@ -1759,16 +1868,16 @@ The program to use to perform encryption/decryption on the client; used with - client_decrypt_option string + client-decrypt-option string Default: -d. -The option that can be passed to client_encrypt to make it decrypt instead. +The option that can be passed to client-encrypt to make it decrypt instead. Must not contain whitespace. - server_encrypt string + server-encrypt string Default: none. The program to use to perform encryption/decryption on the server; used with @@ -1777,10 +1886,10 @@ The program to use to perform encryption/decryption on the server; used with - server_decrypt_option string + server-decrypt-option string Default: -d. -The option that can be passed to server_encrypt to make it decrypt instead. +The option that can be passed to server-encrypt to make it decrypt instead. Must not contain whitespace. @@ -2073,8 +2182,8 @@ the property to set, and the others contains its values. record boolean Default: -yes. -Whether to ask the backup program to update its database (e.g. /etc/dumpdates +yes. +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. @@ -2098,7 +2207,7 @@ level 1 incrementals in this configuration; this is probably a bug. - ssh_keys string + ssh-keys string 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. @@ -2159,23 +2268,28 @@ The value should be hh*100+mm, e.g. 6:30PM (18:30) would be entered as - tape_splitsize int + allow-split bool +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. + + + + + tape-splitsize int + + Deprecated. See "Dump Splitting Configuration" below. Default: not set. Split dump file on tape into pieces of a specified size. -This allows dumps to be spread across multiple tapes, and can potentially -make more efficient use of tape space. -Note that if this value is too large (more than half the size of the -average dump being split), substantial tape space can be wasted. -If too small, large dumps will be split into innumerable tiny dumpfiles, -adding to restoration complexity. -A good rule of thumb, usually, is 1/10 of the size of your tape. -The default unit is Kbytes if it is not specified. +The default unit is Kbytes if it is not specified. - split_diskbuffer string + split-diskbuffer string + 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. @@ -2184,20 +2298,40 @@ When dumping a split dump in PORT-WRITE mode (usually meaning "no holding disk") - fallback_splitsize int + fallback-splitsize int + Deprecated. See "Dump Splitting Configuration" below. Default: 10M. -When dumping a split dump in PORT-WRITE mode, if no split_diskbuffer is -specified (or if we somehow fail to use our split_diskbuffer), we must -buffer split chunks in memory. -This specifies the maximum size split chunks can be in this scenario, +This specifies the part size used when no split-diskbuffer 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 size of this buffer can be changed from its (very conservative) default -to a value reflecting the amount of memory that each taper process on -the dump server may reasonably consume. - -The default unit is Kbytes if it is not specified. +The default unit is Kbytes if it is not specified. + + + + + recovery-limit + [ server | same-host | string ]* + + +Default: global value. This parameter overrides the global + recovery-limit parameter for DLEs of this + dumptype. + + + + + + dump-limit + [ server | same-host ]* + + +Default: server. Specify which host can initiate + a backup of the dle. With server, the server + can initiate a backup with the amdump command. + With same-host, the client can initiate a backup with + the amdump_client command. + @@ -2218,7 +2352,10 @@ define dumptype "srvcompress" { compress server fast } define dumptype "bsd-auth" { - auth bsd + auth "bsd" +} +define dumptype "bsdtcp-auth" { + auth "bsdtcp" } define dumptype "no-record" { record no @@ -2348,6 +2485,52 @@ tape devices. + + part-size int + +Default: none. This is the size (in KB if no units are specified) of +each split part written to the volume. It is reduced to +part-cache-max-size when part caching is required. +If this is set to zero, then no splitting will take place; in this case, +some devices can span dumps from volume to volume, while others will cause +the entire dump to fail if they encounter end-of-medium before the dump is +complete. See "Dump Splitting Configuration" below. + + + + + part-cache-type [ none | disk | memory ] + +Default: none. When part caching is required, this parameter specifies +the type of caching that will be used. The options include no caching +(none), in which case a failed part will cause the +entire dump to fail; on-disk caching (disk), for +which part-cache-dir must be set properly; and +in-memory caching (memory), which on most systems +severely restrains the size of the part that can be written. See "Dump +Splitting Configuration" below. + + + + + part-cache-dir string + +Default: none. +The directory in which part-cache files can be written when caching on disk. +See "Dump Splitting Configuration" below. + + + + + part-cache-max-size int + +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. + + + speed int @@ -2374,7 +2557,7 @@ man page for more information. In addition to options, another tapetype -name may be supplie as an identifier, which makes this +name may be supplied as an identifier, which makes this tapetype inherit options from another tapetype. @@ -2444,7 +2627,7 @@ A comment string describing this set of network information. use int Default: -8000 Kbps. +80000 Kbps. The speed of the interface in Kbytes per second. @@ -2480,6 +2663,21 @@ is the name of this type of application. It is referenced from the The application options and values are: + + client-name string + +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 client-name is set then it is an error +if that application is not defined on the client. +If client-name is not set then the +merge is done with the application that have the name equal to the plugin. +eg. if the plugin is 'amgtar', then the setting from the application 'amgtar' +is used if it is defined. + + + comment string @@ -2527,6 +2725,20 @@ is the name of this type of script. It is referenced from the The script options and values are: + + client-name string + +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 client-name is set then it is an error if that script is not defined on the client. +If client-name is not set then the +merge is done with the script that have the name equal to the plugin. +eg. if the plugin is 'amlog-script', then the setting from the script +'amlog-script' is used. + + + comment string @@ -2547,17 +2759,29 @@ A comment string describing this script. - execute_where [ client | server ] + single-execution boolean + +Default: no. The script is executed for each dle. If yes, the script is executed one time only. + + + + execute-where [ client | server ] Default: client. Where the script must be executed, on the client or server. - >execute_on execute_on [,execute_on]* + execute-on execute_on [,execute_on]* No default. When the script must be executed, you can specify many of them: + + pre-amcheck + +Execute before the amcheck command for all dle. Can only be run on server. + + pre-dle-amcheck @@ -2568,6 +2792,12 @@ A comment string describing this script. pre-host-amcheck Execute before the amcheck command for all dle for the client. + + + + post-amcheck + +Execute after the amcheck command for all dle. Can only be run on server. @@ -2580,6 +2810,12 @@ A comment string describing this script. post-host-amcheck Execute after the amcheck command for all dle for the client. + + + + pre-estimate + +Execute before the estimate command for all dle. Can only be run on server. @@ -2592,6 +2828,12 @@ A comment string describing this script. pre-host-estimate Execute before the estimate command for all dle for the client. + + + + post-estimate + +Execute after the estimate command for all dle. Can only be run on server. @@ -2604,6 +2846,12 @@ A comment string describing this script. post-host-estimate Execute after the estimate command for all dle for the client. + + + + pre-backup + +Execute before the backup command for all dle. Can only be run on server. @@ -2616,6 +2864,12 @@ A comment string describing this script. pre-host-backup Execute before the backup command for all dle for the client. It can't be run on client, it must be run on server + + + + post-backup + +Execute after the backup command for all dle. Can only be run on server. @@ -2676,7 +2930,7 @@ script --post-recover - property> [append] [priority] string string+ + property [append] [priority] string string+ 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. @@ -2697,7 +2951,7 @@ in the form of "device" sections, which look like this: define device name { commend "comment (optional)" tapedev "device-specifier" - device_property "prop-name" "prop-value" + device-property "prop-name" "prop-value" ... } @@ -2712,7 +2966,7 @@ As with most sections, the comment parmeter is optional and only for the user's convenience. An arbitrary number of device_property parameters can be specified. +remap='I'>device-property parameters can be specified. Again, see for information on device properties. @@ -2743,13 +2997,168 @@ device. The remaining parameters are specific to the changer type selected. +INTERACTIVITY SECTION +The +amanda.conf +file may define multiple interactivyt methods, although only one will be used - that specified +by the interactivity parameter. +The information is entered in a interactivity +section, which looks like this: + + +define interactivity name { + interactivity-option interactivity-value + ... +} + + +The { must appear at the end of a line, and the } on its own line. +name is the user-specified name of this +interactivity. The remaining parameters are specific to the interactivity type +selected. + + +The interactivity options and values are: + + + comment string + +Default: not set. +A comment string describing this interactivity. + + + + plugin string + +No default. Must be set to the name of the interactivity module, as described in . + + + + property [append] string string+ + +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 append keyword appends the given values to an existing list of values for that property. + + + + + +See for more information on configuring interactivity methods. + + + +TAPERSCAN SECTION +The +amanda.conf +file may define multiple taperscan methods, although only one will be used - that specified +by the taperscan parameter. +The information is entered in a taperscan +section, which looks like this: + + +define taperscan name { + taperscan-option taperscan-value + ... +} + + +The { must appear at the end of a line, and the } on its own line. +name is the user-specified name of this +taperscan. The remaining parameters are specific to the taperscan type +selected. + + +The taperscan options and values are: + + + comment string + +Default: not set. +A comment string describing this taperscan. + + + + plugin string + +No default. Must be set to the name of the taperscan module. See for a list of defined taperscan modules. + + + + property [append] string string+ + +No default. Operates just like properties for interactivity methods, above. + + + + +See for more information on configuring taperscan. + + + +Dump Splitting Configuration + + 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. + + In order to support re-writing from the beginning of a failed part, + Amanda must have access to the contents of the part after it has been + partially written. If the dump is being read from holding disk, then + the part contents are availble there. Otherwise, the part must be + cached, and this can be done memory or on disk. In either of the + latter cases, the cache must have enough space to hold an entire + part. + + 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. + + 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. + + In versions of Amanda through 3.1.*, splitting was controlled by the + dumptype parameters tape-splitsize, + split-diskbuffer, and + fallback-splitsize. These keywords had + confusing and non-intuitive interactions, and have since been + deprecated. + + If the deprecated keywords are not present, subsequent versions + of Amanda use the dumptype parameter + allow-split to control whether a DLE can be + split, and the tapetype parameters + part-size, + part-cache-type, + part-cache-dir, and + part-cache-max-size. The + part-size specifies the "normal" part size, + while the part-cache-* parameters describe + how to behave when caching is required (on PORT-WRITE). Full + details on these parameters are given above. + + + , , , , , +, +