aboutsummaryrefslogtreecommitdiff
path: root/beam.conf
blob: b10184109d31dbaf9647ca73b0373e3087e94589 (plain)
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
[core]	
	# Location of the state file
#	statfile = /var/spool/beam/beam.state
	statfile = /tmp/beam.state
	# Directory for temporary files
	tempdir = /tmp
	#
	archivedir = /var/backups
	items = www
	
# Configure logging
[logger]
	# Declare the channel.  Valid values are: "file" and "syslog"
	channel = file
	# Debug verbosity level
	debug = 0

# This section is inspected if logger.channel=syslog
[logger syslog]
	# Syslog facility to use	
	facility = user
	# Syslog tag (default - base name of the program)
	tag = beam
	# Syslog options (a comma-separated list).  Valid options are:
	# ndelay, noeol, nofatal, nonul, nowait, perror, and pid.
	options = pid
	
# This section is inspected if logger.channel=file
[logger file]
	# Name of the log file.  Unless set, STDERR is used.
	#name = /var/log/backup.log

	# Append to the file, if it exists
	append = On
	# Print timestamp.  Valid values (case-insensitive):
	#  on, yes, true, t, 1  - to enable
	#  off, no, false, f, nil, 0 - to disable
	timestamp = On

# Configures backup schedule	
[schedule]
	# Do this number of incremental backups in each round	
	levels = 2
	# Do this number of rounds before starting next full backup
	rounds = 3
	# Retain this number of completed rounds.
	retain = 8

[backend tar]
	# Any additional options to pass to tar. Do not place tar operation
	# switches (as -c, -t, etc.) here! These will be added automatically
	# by appropriate scripts, depending on the operation being performed.
	#
	# By default this variable is empty (no additional options).
	#
	options = -j
	
	# Suffix for archive files.
	# Default is "tar"
	#
	suffix = tar.bz2

	# Directory where to store snapshot files. The files will be named as
	# their archive counterparts, with the suffix ".db".
	#
	# This variable must be set
	snapshot-dir = /var/lib/backups

# [item system]
# 	backend = tar
# 	directory = /
# 	file = etc var/spool/cron

[item databases]
	backend = mysql
	databases = a b c
	individual = On
	
[item www]
	backend = tar
	directory = /var/www

	

Return to:

Send suggestions and report system problems to the System administrator.