📄 afclient.conf.8.in
字号:
no shell-like constructions such as pipes, variables orwildcards. This program must read standard input and writeto standard output. For pattern replacements see Logging File..TP.B UnprocessCmdThe counterpart to the process program. You must eithersupply both process- and unprocess-program or neither ofthem. Like the Process program, the unprocess-program mustread standard input and write to standard output. For patternreplacements see LoggingFile..TP.B Built-inCompressionLevelA number, that specifies the level of built-in compression, ifpresent, otherwise no built-in compression will be performed.If a processing program is also specified, the order of processingis: First the data is piped through the external program andthen built-in compression is done. Uncompressing works the otherway round..TP.B IndexFilePartThe name of the file where the names of the saved filesare stored. The current number is appended to this filename.The number is incremented each time a full backup starts.For pattern replacements see LoggingFile..TP.B IndexProcessCmdThe program to preprocess the index file, in most cases some kind ofcompression. If this parameter is not set, it defaults to the settingof the ProcessCmd. If you set it, you MUST also supply theappropriate unprocess- program. Note that this program may bespecified with options but no shell-like constructions such aspipes, variables or wildcards. This program must read standardinput and write to standard output. For pattern replacements seeLoggingFile.TP.B IndexUnprocessCmdThe counterpart to the index processing program. If not given, itdefaults to the setting of the UnprocessCmd. You must eithersupply both process- and unprocess-program or neither of them.Like the index process program, the unprocess-program must readstandard input and write to standard output. For patternreplacements see LoggingFile.TP.B ProcessBackupedFilesThis flag specifies, whether the files, that are saved,should be processed by the configured processing program..TP.B ProcessLogfilesThis flag specifies, whether the filename logging filesshould be processed by the configured processing program..TP.B DoNotProcessThese patterns or filenames specify files, that no processingis attempted on. Normally this is done for all files. Thismight be unefficient, e.g. compressing files, that are alreadycompressed, so their compression can be suppressed with thisparameter. The value of this parameter must be a list separatedby whitespace. Double quotes may enclose list elements..TP.B NumIndexesToStoreThis number determines how many log files of previous fullbackups are saved. These files may serve for the restoreof older files than those present in the current backup.Of course there must be sufficient space to hold all thedata for the backups. It doesn't help to save all thesaved filenames but not to have them available on tape..TP.B DaysToStoreIndexesInstead of the number of index files to be kept (previousparameter), their maximum age can be configured in days(floating point number allowed). Older index files willbe automatically removed. If this parameter is configuredand the previous one at the same time, the longer durationwill be applied to avoid accidental removal of indexes onconfiguration errors..TP.B NumIndexesToScanThis is the maximum number of index files, that will bescanned during restore. This can be helpful, if it takestoo much time to scan through all index files, what isdone, if restrictions are given, such as before time, aftertime or certain tapes. This parameter can be overridden byoption -N of afrestore..TP.B DaysToScanIndexesInstead of configuring the maximum number of index filesto be scanned (previous parameter), their maximum age indays can be configured (floating point number allowed).This parameter can be overridden by option -O of afrestore..TP.B CheckRestoreAccessPermsWhen this flag is set, during restore started by a normaluser (not the superuser) it is checked, whether the userhas sufficient access permissions in the directory, wherethe files are recovered. When relocating using option -Cthis is default behaviour. With this flag set it will beenforced also when not relocating. This has pros and cons.It might be desirable, that users can also restore theirown files in directories owned by root (e.g. at-job filesor the CDE calendar stuff). On the other side this mightbe considered a security problem..TP.B LoggingFileThe name of a file error messages or other notable eventsare written to. A dash - stands for no logging. The pattern%V will be replaced with the full path to the var-directory,%B with the bin directory, %L with the lib directory, %C withthe configuration directory and %I with the logging directory(usually == %V).TP.B ClientIdentifierThe identifier for the client. Default: The official hostname.This entry is required, it several afbackup clients reside onone host and the multi stream server is used. In this case themulti stream server must be able to distinguish the clients todistribute the pieces of backup data on tape correctly.Otherwise the data would be mixed up and be unusable for thereading client.The multi-stream server writes the data to backup piecewise totape, each chunk preceded with an identifier. This identifieris by default the official hostname of the connected client.If several client programs are running on the same clienthost, this procedure must fail. Any data prefixed with thename of the client would be delivered to the client programwhen reading (restore, verify, ...) and thus be a mixture ofdata previously sent to the server by both client programswith the same identifier (official hostname by default).For this reason the server denies to serve several connectedclients with the same identifier. If several afbackup clientsshould be installed on one host, different client identifiersmust be set in their configuration files..TP.B VarDirectoryThe directory, where varying files should be put in.These files must not be deleted. The information theycontain is necessary for restore..TP.B EncryptionKeyFileThe file containing the encryption key for authenticatingthe backup client to the server. This file must containat least 5 characters and must not have read permissionfor group or world. For pattern replacements see LoggingFile..TP.B LockFileTo prevent client programs from being started several timesa lock file is created and this is it's name.For pattern replacements see LoggingFile..TP.B StartupInfoProgramThis is the (shell-) command to run to save the startupinformation of an incremental or full backup, sometimescalled bootstrap information. This program should read thestandard input and do something reasonable with it, e.g.append it to some file. The produced information can beused to recover from a hard crash, when the files arelost, that are containing the names of the saved files.Therefore this information should not be saved locally onthe client host, but e.g. on an NFS-mounted filesystem, afloppy disc or in a mail-file (then this command shouldbe sth. like: mail someuser). For pattern replacementssee LoggingFile..TP.B InitProgramA (shell-) command to be run before a backup is attempted.If this program returns an exit status unequal to 0, nobackup is performed. This parameter makes only sense whenbackup is started remotely, cause in that case no shell-command can be supplied. If backup is started locally, thereis no problem to run whatever is necessery before the backupexplicitly. For pattern replacements see LoggingFile..TP.B ExitProgramThis parameter may specify a (shell-) command to run atexit time of a full or incremental backup. The followingpatterns are replaced as explained:.B %l by the name of the file containing the filelists.br.B %rby the name of the file containing statistics (thisfile is automatically removed after execution of thisprogram).br.B %eby the overall exit status.br.B %iwith the minimum restore information.brFor more pattern replacements see LoggingFile.Under very troublesome circumstances (e.g. several clients aretrying to connect a busy single stream server and timeout, or aclient program is killed) it might happen, that the ExitProgramis not executed. If you rely on the actions of the ExitProgramyou better implement the desired functionality outside of theafbackup system..SH FILES.IP @serverlibdir@/@serverconf@Server configuration file.IP @serverlogdir@The directory for logging the server actions.IP @servervardir@Some internal state information of the server..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). 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 + -