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

📄 full_backup.8.in

📁 一套客户/服务器模式的备份系统代码,跨平台,支持linux,AIX, IRIX, FreeBSD, Digital Unix (OSF1), Solaris and HP-UX.
💻 IN
📖 第 1 页 / 共 2 页
字号:
.TH FULL_BACKUP 8 "2001 April 1" "Debian Project".SH NAMEfull_backup \- run a full backup with the afbackup package.SH SYNOPSIS.B full_backup [ -daG ] [ {+-}LBx ] [ <files> <directories> ... ][ -C <root-directory> ] [ -F \"<files-to-skip>\" ][ -D \"<directories-to-skip>\" ][ -c <configuration-file> ] [ -W <identity> ][ -h <backuphosts> ] [ -P <backup-ports> ][ -I <indexfile-part> ][ { -N <num-indexes-to-store> ] |-O <max-age-of-indexes-to-store-in-days> } ][ -z <process-cmd> <unprocess-cmd> ][ -Z <built-in-compress-level> ][ -s \"<dont-process-patterns>\" ][ -X <exclude-list-file> ] [ -l <logfile> ][ -i <startup-info-program> ][ -b <init-program> ][ -e <exit-program> ][ -k <encryption-key-file> ][ -f <filesystem-types> ][ -V <var-directory> ] [ -S <cartridge-sets> ][ -M <server-message-config> ].SH DESCRIPTIONThis program reads the client-side configuration file and runs(eventually a part of) a full backup of all files and directoriesspecified in the configuration file or on the commandline. It isrecommended to setup everything in the configuration file and runthis command without any arguments (same applies for incr_backup).If files and/or directories are supplied on the commandline, thosespecified in the configuration file are overridden. Furthermorethe program then behaves slightly different: If backup parts areconfigured, they are ignored. The timestamp, that is evaluatedduring incremental backup to determine, whether files have beenmodified, is not changed. This behaviour reflects the assumption,that supplying files or directories on the commandline is donefor testing or other temporary purposes. Modifying the timestampwould confuse the normal regularly running backup mechanism. Inthese temporary cases the -a option should make sense, see belowfor details. Be also aware of the -C option's meaning. If the nameof a file is preceded with -r, the contents of the file is stored,but not the characteristics of the inode. This is useful forsaving raw devices. By default, processing is always turned off.Using -R forces processing of the contents. Preceding a directoryname with -m the recursive descent into this directory is limitedto the filesystem, where the directory resides.The names of the files and directories, that are stored, arewritten into logfiles, that comprise of the indexfile-part (-I)and the current total backup counter. This counter is incrementedeach time a full backup (part 1) starts. A minimum informationrequired to restore after a hard crash having lost everything ispiped into the startup-info-program (-i). Whether only a part of a full backup is run depends on the settingof the parameter NumBackupParts (See: afclient.conf(8)).If the configurationfile is not supplied explicitly, then it is searched for in the@clientconfdir@ and @clientlibdir@, and if not found there the files/etc/buclient.conf, /etc/afbuclient.conf, /etc/afclient.conf and/etc/afbackup/client.conf are tried.Commandline options generally override configuration file settings.Every option described below (except -c) has a correspondingentry in the configuration file, but there are more possiblesettings in the config file..PP.TP.B -aAppend mode. Do not increment the total backupcounter. (See -N).TP.B {+-}BPerform per-file processing on the stored files(+B) or not (-B) (See: -F).TP.B -b <initprog>Run the given program before attempting a backup.If the command returns an exit status unequalto 0, no backup is performed (see: -e). Not tobe mixed up with option -i.TP.B -C <rootdir>Change to the given directory before starting thebackup climbing down into the directories to bestored.TP.B -c <configfile> A different configuration file to use.TP.B -D <skip-dirs>A list of directory name patterns separated bywhitespace to ignore for backup. Several must beput into quotes (See: -F and -X).TP .B -d              Detach from the terminal when starting.TP.B -e <exitprog>Run the specified program after finishing. If thecommand comprises of several words separated bywhitespace, it must be put into quotes (See: -i).TP.B -F <skip-files>A list of filename patterns separated by whitespaceto ignore for backup. Several must be put intoquotes (See: -D and -X).TP.B -f <fs-types>A 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. Ifthe - or + prefix is used, no space is allowedbetween option -f and it's argument, e.g. -f-nfs.TP.B -GTo request a new cartridge. If the current writingposition is already at the beginning of a new orreused tape, nothing happens.TP.B -h <backuphosts>The names of the hosts, where a backup server sidelives. The list can be separated by commas and/orwhitespace. If whitespace is present, quotes arenecessary. The hosts are tested for service availability.If a backup server is not ready, the next one istried. If all are busy, the program waits for aminute and tries again.TP.B -I <idx-prefix>The first part of the filename, the names of thestored files and directories are written to. Thecurrent total backup number is appended (thatincrements each start of a full backup). If thesefiles undergo processing, .z is appended.TP.B -i <info-prog>The command to save startup information. A minimuminformation to recover from a hard crash is pipedinto this program (at stdin). If the commandcomprises of several words, it must be put intoquotes. Not to be mixed up with option -b.TP.B -k <file>Use the contents of the given file as encryptionkey for authenticating to the server.TP.B {+-}LProcess the filename list files (+L) or not (-L)(See: -I).TP.B -l <logfile>Write loggings into the given logfile. A dash -means: no logging, only write to stderr.TP.B -M <server-message-config>The configuration to output messages from the server,that normally are sent only via mail to a maintainer.The first word consisting of the letters b r v and ctells, whether to output messages during backup,restore, verify and copy-tape, respecively. The nextwords must name the service name or port number ofthe single stream servers, related to the option -P .For each multi stream service configured with -P orin the configuration file, the respective singlestream service must be given here.TP.B -N <num-idxes>The number of filename list files, that is storedover time. A new list is begun at each start ofa full backup (except -a is supplied).TP.B -O <maxidxage>The maximum age of the filename list files (== indexfiles) in days, that is stored. See also option-N . A floating point number is allowed here.TP.B -P <portnos>The port numbers, that are tried to connect at theservers. They must be supplied positionally accordingto the configured or (with the -h option) givenbackup servers. The list may be separated by whitespaceand/or commas. If whitespace is present, quotes arenecessary.TP.B -S <cartsets>The cartridge sets to use, where .I <cartsets> is a number of a valid cartridge set on the appropriateserver side. Default is 1. These must be suppliedpositionally accordingto the configured or (with the -h option) givenbackup servers. The list may be separated by whitespaceand/or commas. If whitespace is present, quotes arenecessary.TP.B -s <noproc>A list of filename patterns, that no processing isattempted on, what can save time significantly.The list should always be enclosed in quotes.TP.B -V <var-dir>The directory, where varying files are put.TP.B -W <identity>Identify as <id> to the server. This is needed whenconnecting a multi-stream server to distinguishbetween the clients. Default is the officialhostname of the client. If the client should faketo be a different one than it is in fact, this

⌨️ 快捷键说明

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