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

📄 copy_tape.8.in

📁 一套客户/服务器模式的备份系统代码,跨平台,支持linux,AIX, IRIX, FreeBSD, Digital Unix (OSF1), Solaris and HP-UX.
💻 IN
字号:
.TH COPY_TAPE 8 "2001 April 1" "Debian Project".SH NAMEcopy_tape \- make a duplicate of a tape.SH SYNOPSIS.B copy_tape [ -v ] [ -c <configuration-file> ] [ -l <logfile> ][ -T <tmpdir> ][ -M <server-message-config> ][ -h <source-server> ] [ -P <source-serverport> ][ -F <tape-filenumber> ][ -C <source-cartridge> ] [ -k <source-encryption-key-file> ][ -D [ -h <target-server> ] [ -P <target-serverport> ][ -C <target-cartridge> ] [ -k <target-encryption-key-file> ] ].SH DESCRIPTIONThis command connects to one or two backup servers andmakes an identical copy of a tape to another one. Thetape label is rewritten, so that the destinationtape keeps it's primary cartridge number, but getsthe number of the source tape as secondary number.Thus it can be used instead of the tape with thatprimary number. In fact both numbers are acceptedfor backup, restore or other operations except thecopy_tape operation itself. Recursively copying analready duplicated tape does not further change thesecondary cartridge number, so e.g. any copy ofcartridge number 3 will be usable as such. Copyingcartridge 3 to cartridge 5 and then 5 to 8 doesnot make cartridge number 8 usable as cartridge 5,but still as cartridge number 3..LPWhen the backup server sees a cartridge with thewrong primary number, but the correct secondarynumber, this cartridge is accepted, but a warningis written to the serverside log..LPThe defaults for the copying source are taken fromthe client side configuration file. Default sourcecartridge is the one currently loaded in the driveon the server, that will be asked for this information.If no target parameters are supplied, they get thevalues of the appropriate source parameters as default.So if no arguments are supplied, the current tape wouldbe copied to itself, what is prevented while printingan error message..LPTarget (or: destination) parameters must always befollowing the -D option, source parameters must besupplied in an earlier position..LPIf the source tape is operated by a different serverthan the target, copying goes straight from one tothe other. As two servers (with a different portnumber) can reside on one host, this process does notnecessarily imply a network connection.If source and target tape are handled by the sameserver, the data to be copied must be stored somewhereinbetween. For this purpose a temporary directory iscreated on the client, where this program is started,usually in /tmp or /var/tmp (see: tmpnam(3)). Thefilesystem, where this directory lives, must have afree capacity of at least the largest occurring tapefile. This maximum tape file size is configured onthe server side by the parameter MaxBytesPerFile(see: afserver.conf(8)). If there is not enough space,the duplication of the tape fails. The copying programwrites as many tape files to disk as it can, whilea certain amount will remain free. Then it ejectsthe source cartridge and loads the target cartridge.Now the files in the temporary directory are writtento the target tape while immediately removing files,that are no longer needed. The more space is availablein the temporary directory, the fewer cartridgeloads/ejects are necessary..PP.TP.B -C <cartridge>The number of the cartridge to use as copyingsource or target (depends on argument position:before or behind -D)..TP.B -c <configfile>Use the given file for configuration information.TP.B -F <tape-filenumber>If reading and writing should not start at thebeginning of the tape, but at the tape file withthe given number. This can avoid the overhead ofcopying entire tapes, when only some tape fileshave been appended.TP.B -h <hostname>The name of the backup server host, where thesource or target cartridge is handled, respectively.TP.B -k <file>Use the contents of the given file as encryptionkey for authenticating to the server, where thesource or target cartridge is handled, respectively.TP.B -l <logfile>A file to write log information to.TP.B -M <server-message-config>The configuration to output messages from the server,that normally are sent only via mail to a maintainer.The first word consisting of the letters b r v and ctells, whether to output messages during backup,restore, verify and copy-tape, respecively. The nextwords must name the service name or port number ofthe single stream servers, related to the option -P .For each multi stream service configured with -P orin the configuration file, the respective singlestream service must be given here.TP.B -P <portnum>The port number of the backup server on the backupserver host, where the source or target cartridgeis handled.TP.B -T <tmpdir>use the given directory for temporarily storing thetapefiles, when copying on one server.TP.B -vVerbose option, tell more about what is going on.SH FILES.IP @clientconfdir@/@clientconf@Client configuration file.IP @clientlogdir@The directory for logging the client backups.IP @clientvardir@Some internal state information of the client backups..SH SEE ALSOafclientconfig(8), xafclientconfig(8), full_backup(8),incr_backup(8), afverify(8), afrestore(8), xafrestore(8),update_indexes(8),copy_tape(8), afclient.conf(8), afserver(8), afmserver(8),afserver.conf(8), tar(1) .SH AUTHOR.B afbackup was written by Albert Fluegel (af@muc.de).

⌨️ 快捷键说明

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