📄 full_backup.8.in
字号:
option must be used. This flag can also be usefule.g. to explicitly store the serversidevar-directory, that is crucial for restore and should besaved seperately after all other backup clients are done..TP.B -X <excl-file>The name of a file, that may exist in any directorycontaining a list of filename patterns, one perline. All files and directories in that directorymatching one of the patterns are exluded frombackup (See: -D and -F).TP.B {+-}xWrite CRC32 checksums for each file to tape (+x) or don'tdo this (-x). This option is ignored, if built-in compressionis selected, cause then CRC32 checksumming is already performed.TP.B -Z <built-in-compress-level>If built-in compression should be used, the levelcan be supplied here. If commands to process andunprocess are also supplied with option -z, thendata is first processed by the process command,then by built-in compression. During uncompress itworks the other way round.TP.B -z <proccmd> <unproccmd>The commands to use for process and unprocess. Ifa command comprises of several words, it must beput in quotes.PPA table of corresponding command line options and configurationfile entries, (subsets) accepted by full_backup, incr_backup,restore, verify:.TP.B OptionClient configuration file parameter name.TP.B +B -BProcessBackupedFiles.TP.B -CRootDirectory.TP.B -DDirsToSkip.TP.B -eExitProgram.TP.B -FFilesToSkip.TP.B -fFilesystemTypes.TP.B -hBackupHost.TP.B -IIndexFilePart.TP.B -iStartupInfoProgram.TP.B -kEncryptionKeyFile.TP.B -lLoggingFile.TP.B +L -LProcessLogfiles.TP.B -NNumIndexesToStore.TP.B -PBackupPort.TP.B -SCartridgeSet.TP.B -sDoNotProcess.TP.B -VVarDirectory.TP.B -WClientIdentifier.TP.B -XExcludeListFile.TP.B -xWriteChecksums.TP.B -zProcessCmd UnprocessCmd.TP.B -ZBuilt-inCompressLevel.SH SIGNALSWhen receiving SIGHUP or a single SIGINT (i.e. keyboard Ctrl-C)this program tries to process all pending writes to the serverbefore terminating. That is, if the server is currently notready to process requests, this program will wait until theserver is done or terminates unexpectedly, what will break theconnection to all clients. Any connection breakdown will causea SIGPIPE and thus make a client terminate prematurely. If thisprogram should not wait for the server to terminate properly,but shut down as soon as a consistent status of the client'slocal persistent data can be achieved, SIGQUIT (== Ctrl-\\) orSIGABRT must be sent (once) or SIGINT (== Ctrl-C) 3 times within2 seconds. Pressing Ctrl-C the second time a respective hint iswritten to the user. The same can be achieved by sending SIGTERM,which is the default using the kill(1) command. This signal istypically sent to all processes, when a Unix-system goes down ina controlled manner without crashing or fast halt. When SIGINTis received and standard input of this program is not a TTY, theimmediate shutdown without waiting for the server is attemptedas well. A shutdown like this can be expected to finish quitesurely within one second..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..IP @clientvardir@/numHere the current total number of backups is stored.The total number of backups is incremented each timea full backup finishes successfully, if not the appendmode (option -a) is selected or files and directoriesare explicitly supplied as arguments. This case isconsidered an exceptional storing of files, that shouldnot affect counters or timestamps.IP @clientvardir@/partIf present, it contains the number of the backup partthat has recently started. Full backups can be splitin pieces if a complete run would take too much time.This can be configured with the parametersNumBackupParts, DirsToBackup1, ....IP @clientvardir@/oldmarkThe Modification time of this empty file serves asmemory for the timestamp, when any full or incrementalbackup has started before. This should be handled inthe file explained next, but due to backward compati-bility issues i will not change this (historical errorcoming from the earlier used scripts for backup andthe use of the find-command with option -newer).IP @clientvardir@/newmarkDuring backup a file holding the timestamp of thebackup starting time. The reason, why this timestampis kept in the filesystem is safety against programcrashes.IP @clientvardir@/level_timestampsThis file contains the timestamps for the backuplevels. Each line has the following format: <backup-level>: <incr-backup-starting-time>For each used backup level and the full backup a linewill be maintained in this file.IP @clientvardir@/save_entriesThis file holds the patterns of all configurationentries in DirsToBackup, DirsToBackup1, ...for use in subsequent backups. If new entries will beconfigured, this file allows to automatically switchto full backup from incremental backup, when a newentry in the configuration file is found.IP @clientvardir@/needed_tapesThis file contains a list of tapes needed for fullrestore of all files listed in existing filename listfiles (i.e. index). The number of these files dependson the clientside parameter NumIndexesToStore. Aftereach backup (full or incremental or X-level) a lineis added to this file or an existing one is extendedto contain the current backup counter and a list ofbackup levels with the cartridge numbers used duringwrite associated. The format is: <backup-counter>: <backup-level>><tape-list> [ <backup-level>><tape-list> ... ]When running an incremental or differential backupsupplying the option -H, entries with a level lowerthan the current one (or in differential mode equalto the previous) are removed from this list. Thus thetapes from these entries are permitted to be writtenagain (often called "recycled").IP @clientvardir@/start_positionsHere for each full or incremental backup within therange required by the parameter NumIndexesToStorethe information to retrieve all the data is stored.Each line has the format <backup-counter>: <backup-server> <backup-service> <cartridge-number> <file-number>Having this information everything can be restored incase all other data is lost.IP @clientvardir@/server_idsThe information, which server network address has whichserver-ID assiciated. The first two columns contain thehostname and port number, the third the server-ID.IP @clientvardir@/index_agesFor each existing index file, this file contains aline with the index number in the beginning, followedby a colon and the timestamp of the last modificationof that index in seconds since epoch (1.1.1970 0:00).This file is evaluated, if the client side parameterDaysToStoreIndexes is set..SH SEE ALSOafclientconfig(8), xafclientconfig(8), full_backup(8),incr_backup(8), afverify(8), afrestore(8), xafrestore(8),update_indexes(8), copy_tape(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 + -