📄 afclient.8.in
字号:
.TH AFCLIENT 8 "2001 April 1" "Debian Project".SH NAMEafclient \- controls the client functions of the afbackup package.SH SYNOPSIS.B afclient -cxtd [-[RraunlOUvgIiqQZwbjGK]][-D <destination>][-M <message>][-m <message-poll-interval>][-h <backup-server>][-z <proccmd> <unproccmd>][-T <to-extract-file/tmpdir-for-copytape>][-C <cartridge-number>][-F <filenumber-on-tape>][-f <archive-filename>][-e <errorlog-filename>][-p <server-port-number>][-N <newer-than-filename>][-o <user-ID>][-k <encrption-key-file>][-s <dont-process-filepattern> [-s ...]][-H <header>][-V <statistics-report-file>][-A <after-time-seconds>][-B <before-time-seconds>][-W <identity>].I [<files> <directories> ...].br.B afclient -X <program>[ -h <backup-client> ].br.B afclient -? .br.B afclient -usage.PPThe first form is similar to .B tar(1), except that it contacts abackup server, if the -f option is not supplied..PPThe second form is used to start a program remotely onanother host. In most cases this will be one of:.PP.RS.B afclient -X full_backup -h <some-host>.br.B afclient -X incr_backup -h <some-host>.br.RE.PPNormally this host is a backup client and a backup is startedthis way. Only programs can be started, that reside in thedirectory, that is configured in the backup server'sconfiguration file unter "Program-Directory"..PPThe third form produces the following help text:.SH DESCRIPTIONThis program is used to maintain archives on a backup serverhost or in a file. Archives can be created, extracted or theircontents be listed. One of the following flags has always tobe supplied:.TP.B -c to create an archive.TP.B -x to extract from an archive.TP.B -t to list the contents of an archive.TP.B -d to verify (compare) the contents of an archive.TP.B -C to set a certain cartridge on the backup server(makes only sense extracting or listing with .B -x or.B -t, the writing position can't be changed by clients).TP.B -F to set a certain file on the backup server's tape(same applies as for .B -C).TP.B -q to printout the current cartridge and tape file numberon the backup server.TP.B -Q to printout the cartridge and tape file number for thethe next write access on the backup server.TP.B -X followed by the full path name of a program to be started onthe client. This can be used to trigger a backup remotely.If the program needs arguments, the command together withthe arguments has to be enclosed by quotes.TP.B -Ito printout an index of the backups written to the currentcartridge.TP.B -wto check the status of the streamer on the server side, e.g.whether it is ready and waiting for requests to service,see below for possible states.TP.B -Gto request a new cartridge for the next writing operation.If the current writing position is already at the beginningof a new or reused tape, nothing happens.TP.B -D <destination>to make an exact copy of a tape to another one(duplicate). See below how to specify the destination tape.Duplication can be either from one cartridge to another onthe same server, or from one server to another one. Whencopying to the same server chunks of data are stored in atemporary directory on the client, where the command isstarted, what should preferably be the source server.TP.B -M <message>Send a message to the server. Messages will in themost cases contain whitespace, so they should be enclosedin quotes. Server messages should be sent to the singlestream server (port), the multi stream server might hangreceiving a message due to systematical reasons. Severalmessages can be put into the string. They must be separatedby a real newline character or the usual C-like \n .The following messages are currently supported:.RS.TPPreciousTapes: <list-of-tapes>The list of tapes is inserted into the tablewith the tapes, that are crucial for clientsto restore all files, that are listed in allexisting index files. These tapes will not beoverwritten until explicitly permitted. Thismessage is generated automatically and shouldnot be used in other user contexts.TPReuseTapes: <list-of-tapes>The opposite of PreciousTapes. Sending thismessage permits the server to overwrite thelisted tapes, though they are crucial forsome client.TPTapesReadOnly: <list-of-tapes>The list of tapes is inserted into the filelisting the files, that should not be writtenany more for whatever reason.TPTapesReadWrite: <list-of-tapes>This reverts the status of tapes set read-onlyto read-write, the opposite of TapesReadOnly.TPCartridgeReadyWhen an operator is requested to do somethingthe server is waiting for, this message can besent to trigger the server to proceed. Thismessage has the same effect as the cartreadycommand.TPDeleteClient: <client-identifier>The tapes, that are marked as reserved for aclient to recover all the data in his indexes,are freed. That is, the appropriate line isremoved from the server's precious_tapes file.RE.PP .B -c, -x, -t, -d, -X, -dand.B -Iare mutual exclusive. The other options canbe supplied as needed. To set the cartridge and/or the tape fileon the backup server is only making sense when not creatingan archive. The serial order of writing to tape is handled bythe server machine independently of the client..PP More options in alphabetical order:.TP.B -in combination with -c: read standard input andwrite it to tape, in combination with -x: readtape and write it to standard output.TP.B -A <time>process files (save or extract) modified afterthe given time in seconds since 1.1.1970 00:00.TP .B -ain combination with .B -x: extract all files and directories in the archive.TP .B -bdon't enter buffering mode.TP.B -B <time>process files (save or extract) modified beforethe given time in seconds since 1.1.1970 00:00.TP.B -e <errlog> Use the file <errlog> to write error messages toinstead of the standard error output.TP .B -f <file> write to or read from a file instead of queryingthe backup server.TP .B -g while extracting/reading: ignore leading garbage,suppress error messages at the beginning. Thisis useful when extracting from tape files, thatare not the first ones of a whole archive..TP.B -H <header>put the supplied informational header to the beginof the backup. If a - is supplied (no space mayfollow -H i.e. -H-) the information is read fromthe first line of stdin. Backslash sequences ofC-like style are replaced.TP.B -h <host> use the backup server with the name <host>default host is the machine with the namebackuphost.TP .B -i while extracting: ignore the stored ownership anddo not restore it.TP.B -jwhen starting to write: request starting a newtape file.TP.B -Kwhen packing, do not keep the access time of thefile. By default after packing a filesystem entryit's previous atime is restored.TP .B -k <file> use the contents of the given file as encryptionkey for authenticating to the server.TP .B -lfor each packed or unpacked filename, if sending
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -