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

📄 amanda.8

📁 开源备份软件源码 AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a backup system that a
💻 8
📖 第 1 页 / 共 2 页
字号:
.RE.PP\fInull\fR.RS 4This driver throws away anything written to it and returns EOF for any reads except a special case is made for reading a label, in which case a "fake" value is returned that\fIAmanda\fRchecks for and allows through regardless of what you have set in\fBlabelstr\fR\. The\fIdriver\-info\fRfield is not used and may be left blank:.sp.sp.RS 4.nftapedev null:.fi.RE.spThe\fIlength\fRvalue from the associated\fBtapetype\fRis used to limit the amount of data written\. When the limit is reached, the driver will simulate end of tape\..sp.it 1 an-trap.nr an-no-space-flag 1.nr an-break-flag 1.brNoteThis driver should only be used for debugging and testing, and probably only with the\fBrecord\fRoption set to\fIno\fR\..RE.PP\fIrait\fR.RS 4\fIR\fRedundant\fIA\fRrray of\fII\fRnexpensive (?)\fIT\fRapes\. Reads and writes tapes mounted on multiple drives by spreading the data across N\-1 drives and using the last drive for a checksum\. See docs/RAIT for more information\..spThe\fIdriver\-info\fRfield describes the devices to use\. Curly braces indicate multiple replacements in the string\. For instance:.sp.sp.RS 4.nftapedev rait:/dev/rmt/tps0d{4,5,6}n.fi.RE.spwould use the following devices:.sp\fI/dev/rmt/tps0d4n\fR\fI/dev/rmt/tps0d5n\fR\fI/dev/rmt/tps0d6n\fR.RE.PP\fIfile\fR.RS 4This driver emulates a tape device with a set of files in a directory\. The\fIdriver\-info\fRfield must be the name of an existing directory\. The driver will test for a subdirectory of that named\fIdata\fRand return\fBoffline\fRuntil it is present\. When present, the driver uses two files in the\fIdata\fRsubdirectory for each tape file\. One contains the actual data\. The other contains record length information\..spThe driver uses a file named\fIstatus\fRin the\fBfile\fRdevice directory to hold driver status information, such as tape position\. If not present, the driver will create it as though the device is rewound\..spThe\fIlength\fRvalue from the associated\fBtapetype\fRis used to limit the amount of data written\. When the limit is reached, the driver will simulate end of tape\..spOne way to use this driver with a real device such as a CD\-writer is to create a directory for the\fBfile\fRdevice and one or more other directories for the actual data\. Create a symlink named\fIdata\fRin the\fBfile\fRdirectory to one of the data directories\. Set the\fBtapetype\fRlength to whatever the medium will hold\..spWhen\fIAmanda\fRfills the\fBfile\fRdevice, remove the symlink and (optionally) create a new symlink to another data area\. Use a CD writer software package to burn the image from the first data area\..spTo read the CD, mount it and create the\fIdata\fRsymlink in the\fBfile\fRdevice directory\..RE.SH "AUTHORIZATION".PP\fIAmanda\fRprocesses on the tape server host run as the\fBdumpuser\fRuser listed in\fBamanda\.conf\fR\. When they connect to a backup client, they do so with an\fIAmanda\fR\-specific protocol\. They do not, for instance, use\fBrsh\fRor\fBssh\fRdirectly\..PPOn the client side, the\fBamandad\fRdaemon validates the connection using one of several methods, depending on how it was compiled and on options it is passed:.PP\.rhosts.RS 4Even though\fIAmanda\fRdoes not use\fBrsh\fR, it can use\fB\.rhosts\fR\-style authentication and a\fB\.rhosts\fRfile\..RE.PP\.amandahosts.RS 4This is essentially the same as\fB\.rhosts\fRauthentication except a different file, with almost the same format, is used\. This is the default mechanism built into\fIAmanda\fR\..spThe format of the\fI\.amandahosts\fRfile is:.sp\fIhostname\fR[\fIusername\fR[\fIservice\fR]*].spIf\fIusername\fRis ommitted, it defaults to the user running\fBamandad\fR, i\.e\. the user listed in the\fBinetd\fRor\fBxinetd\fRconfiguration file\..spThe\fIservice\fRis a list of the service the client is authorized to execute:\fBamdump\fR,\fBnoop\fR,\fBselfcheck\fR,\fBsendsize\fR,\fBsendbackup\fR,\fBamindexd\fR,\fBamidxtaped\fR\.\fBamdump\fRis a shortcut for "noop selfcheck sendsize sendbackup".RE.PPKerberos.RS 4\fIAmanda\fRmay use the Kerberos authentication system\. Further information is in the\fBdocs/KERBEROS\fRfile that comes with an\fIAmanda\fRdistribution\..spFor Samba access,\fIAmanda\fRneeds a file on the Samba server (which may or may not also be the tape server) named\fI/etc/amandapass\fRwith share names, (clear text) passwords and (optional) domain names, in that order, one per line, whitespace separated\. By default, the user used to connect to the PC is the same for all PC\'s and is compiled into\fIAmanda\fR\. It may be changed on a host by host basis by listing it first in the password field followed by a percent sign and then the password\. For instance:.sp.RS 4.nf  //some\-pc/home normalpw  //another\-pc/disk otheruser%otherpw.fi.REWith clear text passwords, this file should obviously be tightly protected\. It only needs to be readable by the\fIAmanda\fR\-user on the Samba server\..spYou can find further information in the\fBdocs/SAMBA\fRfile that comes with an\fIAmanda\fRdistribution\..RE.SH "HOST & DISK EXPRESSION".PPAll host and disk arguments to programs are special expressions\. The command applies to all disks that match your arguments\. This section describes the matcher\..PPThe matcher matches by word, each word is a glob expression, words are separated by the separator \'\.\' for host and \'/\' for disk\. You can anchor the expression at left with a \'^\'\. You can anchor the expression at right with a \'$\'\. The matcher is case insensitive for host but is case sensitive for disk\. A match succeeds if all words in your expression match contiguous words in the host or disk\..TStab(:);l ll ll ll ll ll ll l.T{\.T}:T{word separator for a hostT}T{/T}:T{word separator for a diskT}T{^T}:T{anchor at leftT}T{$T}:T{anchor at rightT}T{?T}:T{match exactly one character except the separatorT}T{*T}:T{match zero or more characters except the separatorT}T{**T}:T{match zero or more characters including the separatorT}.TE.PPSome examples:.TStab(:);l l ll l ll l ll l ll l ll l ll l ll l ll l ll l ll l ll l ll l ll l ll l ll l ll l ll l ll l l.T{EXPRESSIONT}:T{WILL MATCHT}:T{WILL NOT MATCHT}T{hostaT}:T{hostaT}:T{hostbT}T{\ T}:T{hoSTA\.dOMAIna\.ORGT}:T{\ T}T{\ T}:T{foo\.hosta\.orgT}:T{\ T}T{hostT}:T{hostT}:T{hostaT}T{host?T}:T{hostaT}:T{hostT}T{\ T}:T{hostbT}:T{\ T}T{ho*naT}:T{hoinaT}:T{ho\.aina\.orgT}T{ho**naT}:T{hoinaT}:T{\ T}T{\ T}:T{ho\.aina\.orgT}:T{\ T}T{^hostaT}:T{hostaT}:T{foo\.hosta\.orgT}T{sda*T}:T{/dev/sda1T}:T{\ T}T{\ T}:T{/dev/sda12T}:T{\ T}T{/optT}:T{opt (disk)T}:T{opt (host)T}T{\.opt\.T}:T{opt (host)T}:T{opt (disk)T}T{/T}:T{/T}:T{any other diskT}T{/usrT}:T{/usrT}:T{\ T}T{\ T}:T{/usr/optT}:T{\ T}T{/usr$T}:T{/usrT}:T{/usr/optT}.TE.sp.SH "DATESTAMP EXPRESSION".PPA\fIdatestamp\fRexpression is a range expression where we only match the prefix\. Leading ^ is removed\. Trailing $ forces an exact match\..TSallbox tab(:);l ll ll ll ll ll ll l.T{20001212\-14T}:T{match all dates beginning with 20001212, 20001213 or 20001214T}T{20001212\-4T}:T{same as previousT}T{20001212\-24T}:T{match all dates between 20001212 and 20001224T}T{2000121T}:T{match all dates that start with 2000121 (20001210\-20001219)T}T{2T}:T{match all dates that start with 2 (20000101\-29991231)T}T{2000\-10T}:T{match all dates between 20000101\-20101231T}T{200010$T}:T{match only 200010T}.TE.PP.SH "DUMP SPECIFICATIONS".PPA dump specification selects one or more dumps\. It has the form\fI[host][:disk][@datestamp]\fR, where each component is a pattern as described above\. If a component is missing, it is treated as a wildcard\. The characters \':\', \'@\', and \'\e\' may be escaped within any component by preceding them with a \'\e\'\..PPSome examples:.TStab(:);l ll ll ll ll ll l.T{DUMPSPECT}:T{DESCRIPTIONT}T{client17T}:T{all dumps of client17T}T{@20080615T}:T{All dumps on with datestamps matching 20080615T}T{webserver:/var/wwwT}:T{All dumps of /var/www on host webserverT}T{webserver:/var/www@200806150317T}:T{The dump of webserver with datestamp 200806150317T}T{:/var/wwwT}:T{All dumps of /var/www on any hostT}.TE.sp.SH "CONFIGURATION OVERRIDE".PPMost commands allow the override of specific configuration options on the command line, using the\-ooption\. This option has the form\-o\fIname\fR=\fIvalue\fR\. An optional space is allowed after the\-o\. Each configuration option should be specified in a separate command\-line option\..PPFor global options,\fIname\fRis simply the name of the option, e\.g\.,.sp.RS 4.nfamdump \-oruntapes=2.fi.RE.spFor options in a named section of the configuration,\fIname\fRhas the form\fISECTION\fR:\fIsection_name\fR:\fIname\fR, where\fISECTION\fRis one of TAPETYPE, DUMPTYPE, HOLDINGDISK, or INTERFACE, and\fIsection_name\fRis the name of the tapetype, dumptype, holdingdisk, or interface\. Examples:.sp.RS 4.nfamdump \-o TAPETYPE:HP\-DAT:length=2000mamdump \-o DUMPTYPE:no\-compress:compress="server fast"amdump \-o HOLDINGDISK:hd1:use="\-100 mb"amdump \-o INTERFACE:local:use="2000 kbps".fi.RE.PPNote that configuration overrides are not effective for tape changers, which supply a tapedev based on their own configuration\. In order to override\fItapedev\fR, you must also disable any changer:.sp.RS 4.nfamdump \-otapedev=/dev/nst1 \-otpchanger=\'\'.fi.RE.sp.SH "AUTHOR".PPJames da Silva,<jds@amanda\.org>: Original text.PPStefan G\. Weichinger,<sgw@amanda\.org>, maintainer of the\fIAmanda\fR\-documentation: XML\-conversion, major update.SH "SEE ALSO".PP\fBamadmin\fR(8),\fBamanda.conf\fR(5),\fBamanda-client.conf\fR(5),\fBamcheck\fR(8),\fBamcheckdb\fR(8),\fBamcleanup\fR(8),\fBamdd\fR(8),\fBamdump\fR(8),\fBamfetchdump\fR(8)\fBamflush\fR(8),\fBamgetconf\fR(8),\fBamlabel\fR(8),\fBammt\fR(8),\fBamoverview\fR(8),\fBamplot\fR(8),\fBamrecover\fR(8),\fBamreport\fR(8),\fBamrestore\fR(8),\fBamrmtape\fR(8),\fBamstatus\fR(8),\fBamtape\fR(8),\fBamtapetype\fR(8),\fBamtoc\fR(8),\fBamcheckdump\fR(8),\fBamserverconfig\fR(8),\fBamaddclient\fR(8),\fI\%http://wiki.zmanda.com\fR

⌨️ 快捷键说明

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