📄 server.conf.in
字号:
## SERVER SPECIFICATION## The server identifier#ServerIdentifier: ## DEVICE SPECIFICATION## The device name (No-Rewind-Version !)Backup-Device: /dev/nst0## The blocksize of the deviceTape-Blocksize: 10240## Specification of the tape buffer (size, high-, lowmark, filename)#Tape-Buffer: 10000000 %V/tapebuffer## Append also to explicitly deselected cartridgesFull-Append: Yes## Write to any supplied cartridge, that has spaceVariable-Append Mode: Yes## Refuse to write to tapes, that don't have a valid labelReject Unlabeled Tapes: 0## Prefer writable cartridges available in a changerPreferCartInChanger: Yes## Flag, whether the device is a robot / cartridge handling system (0 or 1)Cartridge-Handler: 0## Insert your number of cartridges, whether you have a robot or notNumber Of Cartridges: 10## The specifiers of different cartridge sets, if requested.# Default is 1 set with cartridges ranging from 1 up to the# previous parameter. Specifiers of cartridge sets must be# separated by whitespace and may contain digits, commas and# dashes. Examples: 1-3 4,8-10 6,7#Cartridge-Sets: ## The maximum number of bytes per file on tapeMax Bytes Per File: 50000000## Time to wait from the moment, a new cartridge has been insertedCart-Insert-Gracetime: 70## Time to wait, while the device is unavailable, until a mail is# sent to the user in charge (see below)Dev Unavail Send mail after min: 6## Time to wait, while the device is unavailable, until abortDevice Unavail give up after min: 45## The interval in seconds for probing, if device is ready, when# inserting another cartridge is requested. 0 for no probing.Device-Probe Interval: 5## Configuration file for a media changerChanger-Configuration-File: %C/changer.conf## SHELL-COMMANDS FOR TAPE HANDLING## In these commands %d is replaced by the device name,# %n by the number, if within the command the count starts with 1,# %m by the number, if the count starts with 0.## Command to set the file # on tapeSetFile-Command: sh -c "mt -f %d rewind && %B/__mt -f %d fsf %m"## Command to skip to the next %n-th file on tapeSkipFiles-Command: %B/__mt -f %d fsf %n## If there is a command to set the cartridge directly, use it here#Setcart-Command: %B/cart_ctl -F -m -C %n -D## If the cartridges can only by changed successively, insert the# command to change them here. This is also the command, that unloads# the tape, if you have no cartridge handler.Changecart-Command: mt -f %d rewoffl## If the media must be prepared for access in some way,# the appropriate command can be supplied here.#InitMedia-Command: ## Command, that is called, when a tape is full#TapeFull-Command: %B/cartagehandler %c %n %C## The command to erase the tape. This is necessary on some systems.#Erasetape-Command: exit 0## CONFIGURATION FOR NON-EXISTING CARTRIDGE HANDLING SYSTEM## The user to inform, if a cartridge should be changed manuallyUser To Inform: root## The mail-program to use.# Insert %u for the position, where the username has to appear.Mail-Program: mail -s "[Afbackup]: Backup Service Information" %u## FILES TO SAVE THE STATE AND LOGGINGS## Directory for changing and persistent filesVar-Directory: @servervardir@## Filename to save the current tape positionTape-Pos-File: %V/tapepos## Filename for error loggings etc.Logging-file: @ @serverlogdir@/server.backup.log## Filename to write the current server status toStatus-file: %V/status## Locking file to prevent several server starts#Locking-file: %V/backup.lock## Lockfile for accessing a media changer#Changer-Lockfile: %V/changer.lock## Filename with encryption key for authentication#Encryption-Key-File: %C/cryptkey## SPECIFICATIONS FOR REMOTE_EXECUTION## Directory, where remotely started programs must resideProgram-Directory: @REXECDIR@## SERVER-STARTUP AND SHUTDOWN ACTIONS## shell-command to perform, when the server starts#Init-Command: echo backup-daemon starting.## shell-command to perform, when the server exits#Exit-Command: echo backup-daemon exiting.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -