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

📄 cat-id-tbl.c

📁 一套客户/服务器模式的备份系统代码,跨平台,支持linux,AIX, IRIX, FreeBSD, Digital Unix (OSF1), Solaris and HP-UX.
💻 C
📖 第 1 页 / 共 5 页
字号:
/* Automatically generated by po2tbl.sed from afbackup.pot.  */#if HAVE_CONFIG_H# include <config.h>#endif#include "libgettext.h"const struct _msg_ent _msg_tbl[] = {  {"", 1},  {"usage: %s\n", 2},  {"\Warning: File `%s' does not exist.\n\ Probably a new tape has been detected automatically\n\ and thus this file has been removed.\n", 3},  {"\Warning: File `%s' does not exist.\n\ Probably someone else has already issued this\n\ command and thus this file has been removed.\n", 4},  {"Error: Cannot remove file `%s': %s\n", 5},  {"%sError: %s", 6},  {"Server ", 7},  {"%s got signal %d, exiting.\n", 8},  {"\%sError: unexpected fault receiving from server: %s. Trying to continue ...\n", 9},  {"unknown fault", 10},  {"Warning: Empty command supplied. Nothing happens", 11},  {">>> Remote process exited with status %d, but produced no output.\n", 12},  {"Error: Cannot remove report file `%s'\n", 13},  {"Error: Cannot write report file `%s'\n", 14},  {"Backup statistics:\n", 15},  {"\Client Identifier:             %s\n\\n", 16},  {"\Exit Status:                   %ld\n\\n", 17},  {"Start-Time:                    %s\n", 18},  {"\End-Time:                      %s\n\\n", 19},  {"Backup Server:                 %s\n", 20},  {"Backup Port:                   %d\n", 21},  {"First Cartridge used:          %ld\n", 22},  {"First Tapefile accessed:       %ld\n", 23},  {"Last Cartridge used:           %ld\n", 24},  {"Last Tapefile accessed:        %ld\n", 25},  {"Used Cartridges:", 26},  {"Stored filesystem entries:     %ld\n", 27},  {"Bytes written to media:        %s\n", 28},  {"Sum of filesizes:              %s\n", 29},  {"Sum of compressed filesizes:   %s\n", 30},  {"Sum of uncompressed filesizes: %s\n", 31},  {"Total compression factor:      %.2f\n", 32},  {"Real compression factor:       %.2f\n", 33},  {"Description", 34},  {"===========", 35},  {"This program is used to maintain archives on a backup server", 36},  {"host or in a file. Archives can be created, extracted or their", 37},  {"contents be listed. At least one of the following flags has to", 38},  {"be supplied:", 39},  {" -c  to create an archive", 40},  {" -x  to extract from an archive", 41},  {" -t  to list the contents of an archive", 42},  {" -d  to verify (compare) the contents of an archive", 43},  {" -C  to set a certain cartridge on the backup server", 44},  {"       (makes only sense extracting or listing with -x or", 45},  {"        -t, the writing position can't be changed by clients)", 46},  {" -F  to set a certain file on the backup server's tape", 47},  {"       (the same applies as for -C)", 48},  {" -q  to printout the current cartridge and tape file number", 49},  {"       on the backup server", 50},  {" -Q  to printout the cartridge and tape file number for the", 51},  {"       the next write access on the backup server", 52},  {" -X  followed by the full path name of a program to be started on", 53},  {"       the client. This can be used to trigger a backup remotely.", 54},  {"       If the program needs arguments, the command together with", 55},  {"       the arguments has to be enclosed by quotes", 56},  {" -I  to printout an index of the backups written to the current", 57},  {"       cartridge", 58},  {" -w  to check the status of the streamer on the server side, e.g.", 59},  {"       whether it is ready and waiting for requests to service", 60},  {" -G  to request a new cartridge for the next writing operation.", 61},  {"       If the current writing position is already at the beginning", 62},  {"       of a new or reused tape, nothing happens", 63},  {" -D <destination> to make an exact copy of a tape to another one", 64},  {"       (duplicate). See below how to specify the destination tape.", 65},  {"       Duplication can be either from one cartridge to another on", 66},  {"       the same server, or from one server to another one. When", 67},  {"       copying to the same server chunks of data are stored in a", 68},  {"       temporary directory on the client, where the command is", 69},  {"       started, what should preferably be the source server", 70},  {" -M <message> send a message to the server. Messages will in the", 71},  {"       most cases contain whitespace, so they should be enclosed", 72},  {"       in quotes. Server messages should be sent to the single", 73},  {"       stream server (port), the multi stream server might hang", 74},  {"       receiving a message due to systematical reasons. Several", 75},  {"       messages can be put into the string. They must be separated", 76},  {"       by a real newline character or the usual C-like \\n .", 77},  {"       The following messages are currently supported:", 78},  {"        PreciousTapes: <list-of-tapes>", 79},  {"                   The list of tapes is inserted into the table", 80},  {"                   with the tapes, that are crucial for clients", 81},  {"                   to restore all files, that are listed in all", 82},  {"                   existing index files. These tapes will not be", 83},  {"                   overwritten until explicitly permitted. This", 84},  {"                   message is generated automatically and should", 85},  {"                   not be used in other user contexts", 86},  {"        ReuseTapes: <list-of-tapes>", 87},  {"                   The opposite of PreciousTapes. Sending this", 88},  {"                   message permits the server to overwrite the", 89},  {"                   listed tapes, though they are crucial for", 90},  {"                   some client", 91},  {"        TapesReadOnly: <list-of-tapes>", 92},  {"                   The list of tapes is inserted into the file", 93},  {"                   listing the files, that should not be written", 94},  {"                   any more for whatever reason", 95},  {"        TapesReadWrite: <list-of-tapes>", 96},  {"                   This reverts the status of tapes set read-only", 97},  {"                   to read-write, the opposite of TapesReadOnly", 98},  {"        CartridgeReady", 99},  {"                   When an operator is requested to do something", 100},  {"                   the server is waiting for, this message can be", 101},  {"                   sent to trigger the server to proceed. This", 102},  {"                   message has the same effect as the cartready", 103},  {"                   command", 104},  {"        DeleteClient: <client-identifier>", 105},  {"                   The tapes, that are marked as reserved for a", 106},  {"                   client to recover all the data in his indexes,", 107},  {"                   are freed. That is, the appropriate line is", 108},  {"                   removed from the server's precious_tapes file", 109},  {" -m [ <interval> ] poll the current message from the server and", 110},  {"       write it to standard output, if it is new. Polling is", 111},  {"       done indefinitely with the given interval in seconds,", 112},  {"       default interval is 3 seconds", 113},  {"-c, -x, -t, -d, -X, -D, -I and -m are mutual exclusive. The other", 114},  {"options can be supplied as needed. To set the cartridge and/or", 115},  {"the tape file on the backup server is only making sense when not", 116},  {"creating an archive. The serial order of writing to tape is", 117},  {"handled by the server machine independently of the client.", 118},  {"Filenames", 119},  {"The names of the files and directories, that have to be put", 120},  {"into or extracted from an archive are by default read from the", 121},  {"standard input. If filenames are supplied in the command line", 122},  {"the -a flag is given when extracting, standard input is not read.", 123},  {"The same applies, when filenames are read from a file with the", 124},  {"-T option. When reading the names from a file or from standard", 125},  {"input, they must be given one per line. If a name contains", 126},  {"special characters (like newline or nonprintable ones), they", 127},  {"have to be specified using backslash-sequences like in C-code,", 128},  {"e.g. \\n for newline.", 129},  {"In save mode (-c) filenames can be prefixed with character", 130},  {"sequences, that have special meanings (no space between prefix", 131},  {"and filename):", 132},  {" /../   The file is not saved with all attributes present in", 133},  {"        the inode, but only the contents are saved. This might", 134},  {"        be useful for saving raw-devices", 135},  {" //../  With /../ the configured processing is not applied to", 136},  {"        the file contents for safety reasons. With this prefix", 137},  {"        processing can be forced nonetheless", 138},  {" |||    and a mandatory space character indicates, that the", 139},  {"        following characters up to (but not including) another", 140},  {"        triple bar ||| should be interpreted as a shell command,", 141},  {"        that is started and whose standard output is written to", 142},  {"        the backup. At restore time the command following the", 143},  {"        second triple bar is started and the data stream read", 144},  {"        at backup time is written to it's standard input. This", 145},  {"        might be useful for saving e.g. databases. The second", 146},  {"        command may be terminated by a triple sharp ###, that", 147},  {"        starts an optional comment. Example:", 148},  {"        ||| pg_dumpall ||| psql db_tmpl ### Store Postgres DBs", 149},  {"Destination", 150},  {"The destination tape for the duplicate operation can be given", 151},  {"in two ways: either with the options -h, -p, -C and -k following", 152},  {"the -D immediately without space and enclosed in quotes, so that", 153},  {"they appear as an own argument list in one real argument, e.g.:", 154},  {" -D' -C 5 -h targethost -p targetport'", 155},  {"(double quotes are of course also possible ...).", 156},  {"The second format is as follows:", 157},  {" [<targetcart>][@<targethost>][%targetport>][:<targetcryptkeyfile>]", 158},  {"At least one of the specifiers must be present. Examples:", 159},  {" 5@otherhost  5%2990:/keyfile/for/target/server @otherhost%2970", 160},  {"If one of the specifiers is omitted, it is assumed identical with", 161},  {"the copy source specified in the normal options -h, -p, -C and -k.", 162},  {"Copying a tape to itself is prevented.", 163},  {"More options in alphabetical order:", 164},  {" -            in combination with -c: read standard input and", 165},  {"                write it to tape, in combination with -x: read", 166},  {"                tape and write it to standard output", 167},  {" -A <time>    process files (save or extract) modified after", 168},  {"                the given time in seconds since 1.1.1970 00:00", 169},  {" -a           in combination with -x: extract all files and", 170},  {"                directories in the archive", 171},  {" -B <time>    process files (save or extract) modified before", 172},  {" -b           don't enter buffering mode", 173},  {" -e <errlog>  Use the file <errlog> to write error messages to", 174},  {"                instead of the standard error output", 175},  {" -f <file>    write to or read from a file instead of querying", 176},  {"                the backup server", 177},  {" -g           while extracting/reading: ignore leading garbage,", 178},  {"                suppress error messages at the beginning. This", 179},  {"                is useful when extracting from tape files, that", 180},  {"                are not the first ones of a whole archive.", 181},  {" -H <header>  put the supplied informational header to the begin", 182},  {"                of the backup. If a - is supplied (no space may", 183},  {"                follow -H i.e. -H-) the information is read from", 184},  {"                the first line of stdin. Backslash sequences of", 185},  {"                C-like style are replaced", 186},  {" -h <host>    use the backup server with the name <host>", 187},  {"                default host is the machine with the name", 188},  {"                backuphost", 189},  {" -i           while extracting: ignore the stored ownership and", 190},  {"                do not restore it", 191},  {" -j           when starting to write: request starting a new", 192},  {"                tape file", 193},  {" -K           when packing, do not keep the access time of the", 194},  {"                file. By default after packing a filesystem entry", 195},  {"                it's previous atime is restored", 196},  {" -k <file>    use the contents of the given file as encryption", 197},  {"                key for authenticating to the server", 198},  {" -l           for each packed or unpacked filename, if sending", 199},  {"                to or receiving from a backup server in verbose", 200},  {"                   mode in combination with -n:", 201},  {"                printout server name and port number at the", 202},  {"                beginning of the line, e.g.: orion%2988!", 203},  {" -N <file>    while archiving: ignore files with a modification", 204},  {"                time before the one of the given file, only save", 205},  {"                newer files or such with the same age in seconds", 206},  {" -n           for each packed or unpacked filename, if sending", 207},  {"                   mode:", 208},  {"                printout cartridge and tape file number at the", 209},  {"                beginning of the line, e. g.: 7.15: <filename>", 210},  {"                In combination with -X: precede each line of", 211},  {"                output received from the remotely started program", 212},  {"                with the identifier of the remote host and a", 213},  {"                colon, e. g.:  darkstar: Full backup finished.", 214},  {" -O           for each packed file creating a backup in verbose", 215},  {"                mode: printout the user-ID of the file owner at", 216},  {"                the beginning of the line prefixed with a bar |", 217},  {"                eventually behind cartridge and file number", 218},  {" -o <uid>     archive or extract only files owned by the user", 219},  {"                with the given user-ID (an integer)", 220},  {" -p <portno>  use a different port number for communicating with", 221},  {"                the backup server. Default is TCP-Port 2988", 222},  {" -R           pack or extract directories recursively with all", 223},  {"                of their contents", 224},  {" -r           use filenames relative to the current directory,", 225},

⌨️ 快捷键说明

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