📄 afclient.conf.8.in
字号:
.TH AFCLIENT.CONF 8 "2001 April 1" "Debian Project".SH NAME@clientconf@ \- client side configuration file for afbackup.SH DESCRIPTIONThis file needs not be edited by hand with an editor,instead the program @clientbindir@/afclientconfigcan be used. If you are running X, the programs are the same, but start with an 'x';(Tcl/Tk must be installed): and @clientbindir@/xafclientconfig.The parameters described below are the same for both versions.Entries consist of lines starting with the parameter name,then follows a colon and the value of the parameter. Commentlines can be inserted as desired starting with the # character..SH ENTRIES.TP BackupHostsThese are the hostnames of the machines where a server sideof the backup service resides. Some kind of streamer devicemust be connected to these machines. The files and directories,that should be saved, are packed, eventually processed somehow,and then sent to the named machines, who writes them to theconnected device. The named machines are tested for serviceavailability. If a server is busy, the next one is tried.BackupPorts can be configured in the same order as the hostentries supplied here. The servers in this list may beseparated by whitespace and/or commas. If a backup serveris the same host as the client, the use of the name localhostis encouraged..TP.B BackupPortsThese are the port numbers on the backup server machines, wherethe backup server processes listen. The default is 2988 or thenumber found in the file /etc/services (or in NIS if it isconfigured). Several ports can be supplied, positionally accordingto the backup server hosts supplied in the BackupHosts parameter.The numbers can be separated by whitespace and/or commas. Iffewer numbers are supplied than backup servers, the default port2988 applies for the rest. If more port numbers are given, thesuperfluous ones are ignored..TP.B CartridgeSetsThe cartridge sets on the server side to use for backups.They must bes legal number between 1 and the number of cartridgesets configured on the appropriate server side. Several sets canbe supplied, positionally according to the backup server hostssupplied in the BackupHosts parameter. The numbers can be separatedby whitespace and/or commas. If fewer numbers are supplied thanbackup servers, the default set # 1 applies for the rest. If morecartridge set numbers are given, the superfluous ones are ignored..TP.B PrintServerMessagesBy default the server sends messages about current problems orrequired actions to a maintainer or, if determinable and configured,to theuser on the client side. They cannot be seen as output on theclient side. When this parameter is set, these messages are alsooutput on the client side. The first word must consist of theletters b, v, r and c i.e. messages are output during backup,verify, restore, and/or copy-tape depending on what lettersappear. The next fields must name the respective single streamserver ports or service names according to the configured portsin BackupPorts, i.e. wherever a multi stream port appears in theconfiguration in BackupPorts, here the respective single streamservice must be named. If not given the values default tothe ones configured in BackupPorts. If this parameter is not properlyconfigured, the messages might not be seen on the client sidefor technical reasons..TP.B RootDirectoryThis is the directory, the backup client changes to beforepacking the files and directories. Their names should besupplied relative to this directory, e.g. ./home ..TP.B DirsToBackupThese are the names of files and directories, that should besaved. Wildcards in the usual manner are allowed (shell-style or glob-style). They should be supplied relative tothe working directory, the client changes to when starting.Descending into directories can be limited to the currentfilesystem by preceding the filename with the fourcharacters .//. or the option -m (and a space). The prefix .//.is stripped off the name before saving. Supplying a filenamepreceded with the four characters /../ (what makes no sensenormally) or the option -r (and a space) forces the filecontents to be saved regardless of the file type. This wayraw partitions or similar things can be saved. The prefix/../ is stripped off the name before saving. These filecontents are by default never processed for safety reasons.If you want to force processing nonetheless, use //../ asprefix or precede the name with the option -R (and a space).To save the output of a command, supply (in double quotes) atriple bar |||, followed by a space and the command. Anothertriple bar must follow, after that another command doing theopposite of the first one. This command gets the data writtenby the first one as input at restore time. A triple sharp ###and a comment may follow.A command can be supplied here, whose output is read and usedas if it were written here literally. If this is desired, theentry must start with a bar |, followed by a mandatory spaceand the shell-command to execute. If the pattern %T appearsin this command, it is replaced with a specifier for the typeof backup: F, if it's a full backup; F<N>, if the full backupis split into several parts with <N> being the part number,e.g. F2; I, if it's an incremental backup; L<N> for a level <N>backup e.g. L5.TP.B DirsToBackupXThese are the names of files and directories, that shouldbe saved as part X. Wildcards in the usual manner areallowed (shell-style or glob-style). They should besupplied relative to the working directory the clientchanges to when starting (See: RootDirectory). Descendinginto directories can be limited to the current filesystem bypreceding the filename with the four characters .//. orthe option -m (and a space). The prefix .//. is strippedoff the name before saving. Supplying a filename precededwith the four characters /../ (what makes no sense normally)or the option -r (and a space) forces the file contents tobe saved regardless of the file type. This way rawpartitions or similar things can be saved. The prefix /../is stripped off the name before saving. These file contentsare by default never processed for safety reasons. If youwant to force processing nonetheless, use //../ as prefixor precede the name with the option -R (and a space). Tosave the output of a command, supply (in double quotes) atriple bar |||, followed by a space and the command. Anothertriple bar must follow, after that another command doing theopposite of the first one. This command gets the data writtenby the first one as input at restore time. A triple sharp ###and a comment may follow.A command can be supplied here, whose output is read and usedas if it were written here literally. If this is desired, theentry must start with a bar |, followed by a mandatory spaceand the shell-command to execute. If the pattern %T appearsin this command, it is replaced with a specifier for the typeof backup: F, if it's a full backup; F<N>, if the full backupis split into several parts with <N> being the part number,e.g. F2; I, if it's an incremental backup; L<N> for a level <N>backup e.g. L5These parameters may only be supplied if the parameterNumBackupParts is set greater than 1 (!). Otherwise theymust be commented out to prevent a mismatch..TP.B FilesToSkipThese are the names of files, that should not be saved.Wildcards in the usual manner are allowed (shell-style orglob-style, furthermore path-patterns in the style of GNU'sfind program with option -path. Note, that e.g. a*d matchesab/cd). E.g. it does not usually make much sense to back upobject files, as they can be easily reproduced from existingprogram sources..TP.B DirsToSkipThese are the names of directories, that should not be saved.Wildcards in the usual manner are allowed (shell-style orglob-style, furthermore path-patterns in the style of GNU'sfind program with option -path. Note, that e.g. a*d matchesab/cd). E.g. it does not usually make much sense to back upthe lost+found directory or such only containing object files,as they can be easily reproduced from existing program sources..TP.B FilesystemTypesA list of filesystem types, separated by whitespaceand/or commas. The type names can be prefixedwith a plus, what is identical with no prefix,with a dash - or a slash / . No prefix or a plusmeans, that only files in filesystems of thegiven type are saved, no others. A minus means,files in a filesystem of the named type are notsaved, nonetheless such filesystems are traversedto search for filesystems of other types probablymounted underneath. The slash means, that suchfilesystems are not even entered or traversed.TP.B ExcludeListFileA file with the name supplied here can be present in anydirectory. It should contain a list of file-/directory-names(or glob-style patterns), that should be skipped during backup.Each entry must be in an own line. The given names/patterns arevalid only in the same directory, where the file resides. Thuseach directory can have it's individual exclusion list.".TP.B WriteChecksumsThis flag specifies, whether CRC32 checksums are written tothe backup or not. Checksumming costs performance but mightbe desired to achieve additional safety, that the recoveredfiles are intact.TP.B UseCTimeWhen this flag is set, not only a filesystem entry's modificationtime (mtime) is evaluated when selecting objects to store duringincremental or a level X backup, but also the inode change time(ctime). In this mode the filesystem entries access time (atime)is not restored to the value it had before saving it, becausethat would again change the ctime, thus each incremental backupwould result in a full backup.TP.B NumBackupPartsIf you have to backup a large amount of files and thefull backup can't be done during one run (e.g. over aweekend), you can divide the full backup into pieces.This number determines, how many pieces you need. Ifthis number is not equal to 1, you have to supply whichfiles and directories you want to save in which piece.You do so by setting the parameters DirsToBackupX with Xequal to the number of the backup part the files belongto..TP.B ProcessCmdIf you want your files to be processed during save (e.g.compressed), you can supply the name of the program thatshould perform the desired processing here. If you do so,you MUST also supply the appropriate unprocess- program.Note that this program may be specified with options but
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -