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

📄 afclient.8.in

📁 一套客户/服务器模式的备份系统代码,跨平台,支持linux,AIX, IRIX, FreeBSD, Digital Unix (OSF1), Solaris and HP-UX.
💻 IN
📖 第 1 页 / 共 2 页
字号:
to or receiving from a backup server in verbosemode in combination with -n:printout server name and port number at thebeginning of the line, e. g.: orion%2988!.TP.B -N <file>    while archiving: ignore files with a modificationtime before the one of the given file, only savenewer files or such with the same age in seconds.TP.B -n           for each packed or unpacked filename, if sendingto or receiving from a backup server in verbosemode:printout cartridge and tape file number at thebeginning of the line, e. g.: 7.15: <filename>.brIn combination with -X: precede each line ofoutput received from the remotely started programwith the identifier of the remote host and acolon, e. g.:  darkstar: Full backup finished..TP.B -O           for each packed file creating a backup in verbosemode: printout the user-ID of the file owner atthe beginning of the line prefixed with a bar |eventually behind cartridge and file number.TP.B -o <uid>     archive or extract only files owned by the userwith the given user-ID (an integer).TP  .B -p <portno>  use a different port number for communicating withthe backup server. Default is TCP-Port 2988.TP  .B -R           pack or extract directories recursively with allof their contents.TP  .B -r           use filenames relative to the current directory,whether they start with a slash or not. If -ris given more then 1 time, also let symlinksoriginally pointing to absolute paths now pointto paths relative to the directory, where thesymlink will be created.TP.B -S <cartset> The cartridge set to use, where <cartset> is thenumber of a valid cartridge set on the serverside. Default is 1. This option makes sense onlywhen creating backups with .B -c.TP.B -s <filepat> do not attempt processing on files matching thegiven filename pattern. This parameter mayappear several times.TP.B -T <file>    read the filenames to process from the <file>.The filenames must be separated by whitespace.If whitespace is part of a filename, it has tobe enclosed by double quotes. Double quotes orbackslashes within the filename have to bepreceded by a backslash. In combination with-D: the tape files to be copied are temporarilystored in the given directory instead of thedefault directory /tmp.TP.B -U          for each packed file creating a backup in verbosemode: printout the modification time of the filein seconds since 1970/1/1 0:00 at the beginningof the line prefixed with a tilde ~ eventuallybehind cartridge number, file number and owner.TP  .B -u           while extracting: remove existing files with thesame name as found in the archive. Otherwiseno existing files are overwritten.TP  .B -V <file>    write a report containing statistics at the end ofa backup to the <file>.TP.B -v           verbose mode: print the filenames while creatingor extracting, be a little more verbose whilelisting contents. If -v is the only given flag:print out software name and version.TP  .B -z <z> <uz>  use <z> as the command, that is used to processfiles, <uz> for the corresponding unprocess.The command has to read from stdin and to writeto stdout. If arguments have to be supplied to<z> and/or <uz>, don't forget to use quotes. Ifbuilt-in compression is desired, the command forprocessing has to start with a dot (.), followedby a space and a number ranging from 1 to 9, thatspecifies the compression level. If an additionalexternal command should process the data, it mayfollow, separated from the compression level bywhitespace. The order of processing is: First theexternal program processes the data, then built-incompression is applied. An empty string has to besupplied for <uz> (or any other dummy is ok), ifonly built-in compression is desired.Examples for <z>:.IP.br gzip       (run external command gzip), "gzip -2"  (the same with an argument), ". 8"      (only built-in compression level 8), ". 3 __descrpt -k /my/key" (run command __descrpt            and apply built-in compression level 3).fi.TP  .B -Z           while printing out the contents: check those filesin the archive that are processed for integrity.While creating an archive: write a CRC32 checksumfor each file, file contents or command output tothe backup stream.TP  .B -?           to printout this text.SH FILENAMESThe names of the files and directories, that have to be putinto or extracted from an archive are by default read from thestandard input. If you supply filenames in the command line orenter the .B -a flag when extracting, standard input is not read.The same applies, when filenames are read from a file with the.B -T option. When reading the names from a file or from standardinput, they must be given one per line. If a name containsspecial characters (like newline or nonprintable ones), theyhave to be specified using backslash-sequences like in C-code,e.g. \\n for newline.In save mode (.B -c) filenames can be prefixed with charactersequences, that have special meanings (no space between prefixand filename):.TP/../The file is not saved with all attributes presentin the inode, but only the contents are saved.This might be useful for saving raw-devices.TP//../With /../ the configured processing is notapplied to the file contents for safety reasons.With this prefix processing can be forcednonetheless.TP|||and a mandatory space character indicates, thatthe following characters up to (but not including)another triple bar ||| should be interpreted as ashell command, that is started and whose standardoutput is written to the backup. At restore timethe command following the second triple bar isstarted and the data stream read at backup time iswritten to it's standard input. This might beuseful for saving e.g. databases. The secondcommand may be terminated by a triple sharp ###,that starts an optional comment.Example:.IP.nf||| pg_dumpall ||| psql db_tmpl ### Store Postgres DBs.fi.SH STATUS REPORTSThe -w option reports one of the following states,separated by the plus character + :.TP.B READYthe device is not in use by any program and theserver side is ready to service requests.TP.B BUSYthe device is in use and currently operated by theafbackup service.TP.B DEVINUSEthe streamer device is in use by some program, thatis not part of the afbackup service.TP.B UNAVAILthe streamer device is not accessible or in someother way occupied.TP.B UNLOADEDthe device is not busy, but there is no tape loaded.TP.B CHANGEABLEwhen reported together with UNLOADED, a tape can beloaded quickly e.g. using the afclient command withoption -C <cartno>. It is not considered quickly,if a human operator must put the cartridge into thedrive, so in this case only UNLOADED is reported.When reported with READY, the tape can be changedquickly (same understanding as before)..SH DESTINATIONThe destination tape for the duplicate operation can be givenin two ways: either with the options -h, -p, -C and -k followingthe -D immediately without space and enclosed in quotes, so thatthey appear as an own argument list in one real argument, e.g.:.LP.nf -D' -C 5 -h targethost -p targetport'(double quotes are of course also possible ...)..fi.PPThe second format is as follows:.LP.nf [<targetcart>][@<targethost>][%targetport>][:<targetcryptkeyfile>].fi.LPAt least one of the specifiers must be present. Examples:.LP.nf 5@otherhost 5%2990:/keyfile/for/target/server @otherhost%2970.fi.LPIf one of the specifiers is omitted, it is assumed identical withthe copy source specified in the normal options -h, -p, -C and -k.Copying a tape to itself is prevented..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),afserver(8), afmserver(8),copy_tape(8), afclient.conf(8), afserver.conf(8),update_indexes(8), tar(1) .SH AUTHOR.B afbackup was written by Albert Fluegel (af@muc.de). This manpage wasextracted from the text docs by Christian Meder (meder@isr.uni-stuttgart.de).

⌨️ 快捷键说明

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