File: server.conf.in

package info (click to toggle)
afbackup 3.1beta1-1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 1,500 kB
  • ctags: 1,685
  • sloc: ansic: 22,406; csh: 3,597; tcl: 964; sh: 403; makefile: 200
file content (105 lines) | stat: -rw-r--r-- 3,188 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
#
# DEVICE SPECIFICATION
#
# The device name (No-Rewind-Version !)
Backup-Device:		/dev/nst0
#
# The blocksize of the device
Tape-Blocksize:		10240
#
# Flag, whether the device is a robot / cartridge handling system (0 or 1)
Cartridge-Handler:	1
#
# Insert your number of cartridges, whether you have a robot or not
Number Of Cartridges:	10
#
# The last cartridges of different cartridge sets, if requested.
# Default is 1 set with cartridges ranging from 1 up to the
# previous parameter. If e.g. 3 cartridge sets are requested:
# 1-3, 4-8, 9-10, supply here: 3 8 10
# If not all cartridges should be used, the last number may be
# smaller than the previous parameter.
#Last Cartridges:	10

#
# The maximum number of bytes per file on tape
Max Bytes Per File:	50000000
#
# Time to wait from the moment, a new cartridge has been inserted
Cart-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 abort
Device 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

#
# 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 tape
SetFile-Command:	sh -c "mt -f %d rewind && @serverbindir@/__mt -f %d fsf %m"
#
# Command to skip to the next %n-th file on tape
SkipFiles-Command:	@serverbindir@/__mt -f %d fsf %n
#
# If there is a command to set the cartridge directly, use it here
#Setcart-Command:	
#
# 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
#
# 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 manually
User 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
#
# Filename to save the actual tape position
Tape-Pos-File:          @servervardir@/tapepos
#
# Filename for error loggings etc.
Logging-file:		@serverlogdir@/server.backup.log
#
# Locking file to prevent several server starts
#Locking-file:		@servervardir@/backup.lock

#
# Filename with encryption key for authentication
Encryption-Key-File:	@serverlibdir@/cryptkey

#
# SPECIFICATIONS FOR REMOTE_EXECUTION
#
# Directory, where remotely started programs must reside
Program-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.