File: client.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 (72 lines) | stat: -rw-r--r-- 2,360 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
#
# The backup server host
BackupHosts:		localhost
#
# The port number to use
#BackupPorts:		2988
#
# The cartridge set to use
#CartridgeSets:		1

#
# The directory, where to run the backup
RootDirectory:		/
#
# The subdirectories of the RootDirectory to backup (wildcards are allowed)
DirsToBackup:		etc/HOSTNAME home* opt* users* usr/local
# Filenames to be skipped during the backup (wildcards are allowed)
FilesToSkip:		*.o *.obj core
# directory names to be skipped during the backup (wildcards are allowed)
DirsToSkip:		lost+found proc
# Name of a file containing a (pattern) list of files/directories to skip 
ExcludeListFile:	.buexcl

#
# The number of parts of the full backup (if this takes a long time)
NumBackupParts:		1
# The subdirectories of the RootDirectory to backup in parts
#DirsToBackup1:		mass-store/disk0 mass-store/disk1/part[0-1] home* opt* usr/lib/X11/ncd var/boot tftpboot
#DirsToBackup2:		mass-store/disk1/part[2-4] mass-store/disk1/[a-oq-z]*
#
# The compress and decompress programs, if desired.
CompressCmd:		gzip -1
UncompressCmd:		gunzip
#
# Which files no compression should be attempted
DoNotCompress:		*.gz *.z *.Z *.[Zz][Ii][Pp]
#
# Whether to compress the saved files
CompressBackupedFiles:	1
#

#
# The part of the file, where the saved filenames are stored.
# The current number will be appended.
IndexFilePart:		@clientvardir@/backup_log.
#
# The number of such files, that are maintained. More (older ones) are removed.
NumIndexesToStore:	1
#
# The file where to log events
LoggingFile:		@clientlogdir@/client.backup.log
#
# Whether to compress the filename logfiles
CompressLogfiles:	1

#
# Filename with encryption key for authentication
#EncryptionKeyFile:	@clientlibdir@/cryptkey
#
# Directory for varying files
VarDirectory:		@clientvardir@

#
# The program to process startup messages. Normally used for
#  saving logs to recover from hard crashs
StartupInfoProgram:	sh -c "[ -d /var/log ] && touch /var/log/bumsgs && cat >> /var/log/bumsgs";sh -c "[ -d /var/logs ] && touch /var/logs/bumsgs && cat >> /var/logs/bumsgs"
#
# The program to be executed when everything requested is done.
# %l is replaced by the filename-logfile, %r by the file with
# the report statistics %e by the overall exit status
ExitProgram:		(echo [Afbackup]: Overall exit status: %e;echo " ";cat %r; uuencode %l `basename %l`)|mail root