⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 amanda.conf.5

📁 开源备份软件源码 AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a backup system that a
💻 5
📖 第 1 页 / 共 4 页
字号:
.RE.PP\fBdirectory\fR \fI disk\fR.RS 4Default:\fI/dumps/amanda\fR\. The path to this holding area\..RE.PP\fBuse\fR \fI int\fR.RS 4Default:\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,\fIAmanda\fRwill use all available space minus that value\..RE.PP\fBchunksize\fR \fI int\fR.RS 4Default:\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\..spIf 0 is specified,\fIAmanda\fRwill create holding disk chunks as large as ((INT_MAX/1024)\-64) Kbytes\..spEach holding disk chunk includes a 32 Kbyte header, so the minimum chunk size is 64 Kbytes (but that would be really silly)\..spOperating 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\fIAmanda\fRworks 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".PPThe\fIamanda\.conf\fRfile may define multiple sets of backup options and refer to them by name from the\fIdisklist\fRfile\. 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\..PPA set of backup options are entered in a\fBdumptype\fRsection, which looks like this:.sp.RS 4.nfdefine dumptype \fIname\fR {    \fIdumptype\-option\fR \fIdumptype\-value\fR    \.\.\.}.fi.RE.PP\fIName\fRis the name of this set of backup options\. It is referenced from the\fIdisklist\fRfile\..PPSome of the options in a\fBdumptype\fRsection are the same as those in the main part of\fIamanda\.conf\fR\. The main option value is used to set the default for all\fBdumptype\fRsections\. For instance, setting\fBdumpcycle\fRto 50 in the main part of the config file causes all following\fBdumptype\fRsections 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\..PPThe dumptype options and values are:.PP\fBauth\fR \fI string\fR.RS 4Default:\fIbsd\fR\. Type of authorization to perform between tape server and backup client hosts\..sp\fBbsd\fR, bsd authorization with udp initial connection and one tcp connection by data stream\..sp\fBbsdtcp\fR, bsd authorization but use only one tcp connection\..sp\fBbsdudp\fR, like bsd, but will use only one tcp connection for all data stream\..sp\fBkrb4\fRto use Kerberos\-IV authorization\..sp\fBkrb5\fRto use Kerberos\-V authorization\..sp\fBlocal\fR, if the client is the server, it doesn\'t require authencation setup\..sp\fBrsh\fRto use rsh authorization\..sp\fBssh\fRto use OpenSSH authorization\..RE.PP\fBamandad_path\fR \fI string\fR.RS 4Default:\fI$libexec/amandad\fR\. Specify the amandad path of the client, only use with rsh/ssh authentification\..RE.PP\fBclient_username\fR \fI string\fR.RS 4Default:\fICLIENT_LOGIN\fR\. Specify the username to connect on the client, only use with rsh/ssh authentification\..RE.PP\fBbumpsize\fR int.RS 4Default:\fI10 Mbytes\fR\. The minimum savings required to trigger an automatic bump from one incremental level to the next, expressed as size\. If\fIAmanda\fRdetermines 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\fRis set to 0\..spSee also the options\fBbumppercent\fR,\fBbumpmult\fRand\fBbumpdays\fR\..RE.PP\fBbumppercent\fR int.RS 4Default:\fI0 percent\fR\. The minimum savings required to trigger an automatic bump from one incremental level to the next, expressed as percentage of the current size of the DLE (size of current level 0)\. If\fIAmanda\fRdetermines that the next higher backup level will be this much smaller than the current level, it will do the next level\..spIf this parameter is set to 0, the value of the parameter\fIbumpsize\fRis used to trigger bumping\..spSee also the options\fBbumpsize\fR,\fBbumpmult\fRand\fBbumpdays\fR\..RE.PP\fBbumpmult\fR \fI float\fR.RS 4Default:1\.5\. The bump size multiplier\.\fIAmanda\fRmultiplies\fBbumpsize\fRby 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\fRand\fBbumpmult\fRset 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\fBbumpdays\fR \fI int\fR.RS 4Default:\fI2 days\fR\. To insure redundancy in the dumps,\fIAmanda\fRkeeps filesystems at the same incremental level for at least\fBbumpdays\fRdays, even if the other bump threshold criteria are met\..RE.PP\fBcomment\fR \fI string\fR.RS 4Default:\fInone\fR\. A comment string describing this set of backup options\..RE.PP\fBcomprate\fR \fIfloat\fR [, \fIfloat\fR ].RS 4Default:0\.50,0\.50\. The expected full and incremental compression factor for dumps\. It is only used if\fIAmanda\fRdoes 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 [client|server]\fR \fI string\fR.RS 4Default:\fIclient fast\fR\. If\fIAmanda\fRdoes 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\..spFor either type of compression,\fIAmanda\fRalso allows the selection of three styles of compression\.\fBBest\fRis the best compression available, often at the expense of CPU overhead\.\fBFast\fRis often not as good a compression as\fBbest\fR, but usually less CPU overhead\. Or to specify\fBCustom\fRto use your own compression method\. (See dumptype custom\-compress in example/amanda\.conf for reference).spSo the\fBcompress\fRoptions line may be one of:.PPcompress none.RS 4.RE.PPcompress client fast.RS 4.RE.PPcompress client best.RS 4.RE.PPcompress client custom.RS 4Specify\fIclient_custom_compress\fR"PROG".spPROG must not contain white space and it must accept \-d for uncompress\..RE.PPcompress server fast.RS 4.RE.PPcompress server best.RS 4.RE.PPcompress server custom.RS 4Specify\fIserver_custom_compress\fR"PROG".spPROG must not contain white space and it must accept \-d for uncompress\..RE.spNote 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\fRoption),\fIAmanda\fR(software) compression should be disabled\..RE.PP\fBdumpcycle\fR \fI int\fR.RS 4Default:\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\fBencrypt [none|client|server]\fR.RS 4Default:\fInone\fR\. 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\..spSo the\fBencrypt\fRoptions line may be one of:.PPencrypt none.RS 4.RE.PPencrypt client.RS 4Specify client_encrypt "PROG".spPROG must not contain white space\..spSpecify client_decrypt_option "decryption\-parameter" Default: "\-d".spdecryption\-parameter must not contain white space\..sp(See dumptype server\-encrypt\-fast in example/amanda\.conf for reference).RE.PPencrypt server.RS 4Specify server_encrypt "PROG".spPROG must not contain white space\..spSpecify server_decrypt_option "decryption\-parameter" Default: "\-d".spdecryption\-parameter must not contain white space\..sp(See dumptype client\-encrypt\-nocomp in example/amanda\.conf for reference).RE.spNote 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\fRwhich is a wrapper of\fIaespipe\fRis provided as a reference symmetric encryption program\..RE.PP\fBestimate\fR \fIclient|calcsize|server\fR.RS 4Default:\fIclient\fR\. Determine the way\fIAmanda\fRdoes it\'s estimate\..PPclient.RS 4Use the same program as the dumping program, this is the most accurate way to do estimates, but it can take a long time\..RE.PPcalcsize.RS 4Use a faster program to do estimates, but the result is less accurate\..RE.PPserver.RS 4Use only statistics from the previous run to give an estimate, it takes only a few seconds but the result is not accurate if your disk usage changes from day to day\..RE.RE.PP\fBexclude\fR [ list|file ][[optional][ append ][ \fIstring\fR ]+].RS 4Default:\fIfile\fR\. There are two exclude lists,\fBexclude file\fRand\fBexclude list\.\fRWith\fBexclude file\fR, the\fIstring\fRis a\fBGNU\-tar\fRexclude expression\. With\fBexclude list\fR, the\fIstring\fRis a file name on the client containing\fBGNU\-tar\fRexclude expressions\. The path to the specified exclude list file, if present (see description of \'optional\' below), must be readable by the\fIAmanda\fRuser\..spAll exclude expressions are concatenated in one file and passed to\fBGNU\-tar\fRas an\fB\-\-exclude\-from\fRargument\..spExclude expressions must always be specified as relative to the head directory of the DLE\..spWith the\fBappend\fRkeyword, the\fIstring\fRis appended to the current list, without it, the\fIstring\fRoverwrites the list\..spIf\fBoptional\fRis specified for\fBexclude list\fR, then amcheck will not complain if the file doesn\'t exist or is not readable\..spFor\fBexclude list\fR, if the file name is relative, the disk name being backed up is prepended\. So if this is entered:.sp.RS 4.nf    exclude list "\.amanda\.excludes".fi.REthe actual file used would be\fI/var/\.amanda\.excludes\fRfor a backup of\fI/var\fR,\fI/usr/local/\.amanda\.excludes\fRfor a backup of\fI/usr/local\fR, and so on\..RE.PP\fBholdingdisk\fR [ never|auto|required ].RS 4Default:\fIauto\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\fIAmanda\fRis backing up, that file system should refer to a dumptype with\fBholdingdisk\fRset to\fInever\fRto avoid backing up the holding disk into itself\..PP\fBnever\fR|no|false|off.RS 4Never 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 4Use the holding disk, unless there is a problem with the holding disk, the dump won\'t fit there or the medium doesn\'t require spooling (e\.g\., VFS device).RE.PP\fBrequired\fR.RS 4Always dump to holdingdisk, never directly to tape\. There will be no dump if it doesn\'t fit on holdingdisk.RE.RE.PP\fBignore\fR \fI boolean\fR.RS 4Default:\fIno\fR\. Whether disks associated with this backup type should be backed up or not\. This option is useful when the\fIdisklist\fRfile is shared among several configurations, some of which should not back up all the listed file systems\..RE.PP\fBinclude\fR [ list|file ][[optional][ append ][ \fIstring\fR ]+].RS 4Default:\fIfile\fR"\."\. There are two include lists,\fBinclude file\fRand\fBinclude list\.\fRWith\fBinclude file\fR, the\fIstring\fRis a glob expression\. With\fBinclude list\fR, the\fIstring\fRis a file name on the client containing glob expressions\..spAll include expressions are expanded by\fIAmanda\fR, concatenated in one file and passed to\fBGNU\-tar\fRas a\fB\-\-files\-from\fR

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -