2004-12-09 05:37:12 +01:00
|
|
|
#
|
|
|
|
# |\_
|
|
|
|
# B A C K U P N I N J A /()/
|
|
|
|
# `\|
|
|
|
|
# main configuration file
|
|
|
|
#
|
|
|
|
|
|
|
|
# how verbose to make the logs
|
2004-12-17 01:28:53 +01:00
|
|
|
# 5 -- Debugging messages (and below)
|
2004-12-09 05:37:12 +01:00
|
|
|
# 4 -- Informational messages (and below)
|
|
|
|
# 3 -- Warnings (and below)
|
|
|
|
# 2 -- Errors (and below)
|
|
|
|
# 1 -- Fatal errors (only)
|
|
|
|
loglevel = 4
|
|
|
|
|
2004-12-17 01:28:53 +01:00
|
|
|
# send a summary of the backup status to
|
|
|
|
# this email address:
|
|
|
|
reportemail = root
|
|
|
|
|
|
|
|
# if set to 'yes', a report email will be generated
|
|
|
|
# even if all modules reported success. (default = yes)
|
|
|
|
reportsuccess = yes
|
|
|
|
|
2010-01-05 13:39:32 +01:00
|
|
|
# if set to 'yes', info messages from handlers will be
|
|
|
|
# sent into the email (default = no)
|
|
|
|
reportinfo = no
|
|
|
|
|
2004-12-17 01:28:53 +01:00
|
|
|
# if set to 'yes', a report email will be generated
|
|
|
|
# even if there was no error. (default = yes)
|
|
|
|
reportwarning = yes
|
2004-12-09 05:37:12 +01:00
|
|
|
|
2006-10-06 20:42:32 +02:00
|
|
|
# if set to 'yes', disk space usage will be included in
|
|
|
|
# the backup email report
|
|
|
|
reportspace = no
|
|
|
|
|
2007-03-04 11:29:26 +01:00
|
|
|
# where to rsync the backupninja.log to be aggregated in
|
|
|
|
# a ninjareport
|
|
|
|
reporthost =
|
|
|
|
|
|
|
|
# what user to connect to reporthost to sync the
|
|
|
|
# backupninja.log
|
|
|
|
reportuser = ninja
|
|
|
|
|
|
|
|
# where on the reporthost should the report go
|
|
|
|
# NOTE: the name of the log will be used in the report,
|
|
|
|
# use a globally unique name, preferably the hostname
|
|
|
|
reportdirectory = /var/lib/backupninja/reports
|
|
|
|
|
2006-06-09 19:27:21 +02:00
|
|
|
# set to the administration group that is allowed to
|
|
|
|
# read/write configuration files in /etc/backup.d
|
|
|
|
admingroup = root
|
|
|
|
|
2004-12-09 05:37:12 +01:00
|
|
|
#######################################################
|
|
|
|
# for most installations, the defaults below are good #
|
|
|
|
#######################################################
|
|
|
|
|
|
|
|
# where to log:
|
2005-10-27 01:00:18 +02:00
|
|
|
logfile = @localstatedir@/log/backupninja.log
|
2004-12-09 05:37:12 +01:00
|
|
|
|
|
|
|
# directory where all the backup configuration files live
|
2005-10-27 01:00:18 +02:00
|
|
|
configdirectory = @CFGDIR@/backup.d
|
2004-12-09 05:37:12 +01:00
|
|
|
|
|
|
|
# where backupninja helper scripts are found
|
2005-10-27 01:00:18 +02:00
|
|
|
scriptdirectory = @pkgdatadir@
|
2005-01-03 23:22:58 +01:00
|
|
|
|
2005-11-29 11:08:41 +01:00
|
|
|
# where backupninja libs are found
|
|
|
|
libdirectory = @pkglibdir@
|
|
|
|
|
2005-01-03 23:22:58 +01:00
|
|
|
# whether to use colors in the log file
|
|
|
|
usecolors = yes
|
2005-01-04 07:28:22 +01:00
|
|
|
|
|
|
|
# default value for 'when'
|
|
|
|
when = everyday at 01:00
|
2005-05-24 21:27:43 +02:00
|
|
|
|
|
|
|
# if running vservers, set to yes
|
2005-06-13 21:37:26 +02:00
|
|
|
vservers = no
|
2005-05-24 21:27:43 +02:00
|
|
|
|
2006-01-02 17:19:54 +01:00
|
|
|
# programs paths
|
|
|
|
# SLAPCAT=/usr/sbin/slapcat
|
|
|
|
# LDAPSEARCH=/usr/bin/ldapsearch
|
|
|
|
# RDIFFBACKUP=/usr/bin/rdiff-backup
|
2006-12-16 00:13:47 +01:00
|
|
|
# CSTREAM=/usr/bin/cstream
|
2006-01-02 17:19:54 +01:00
|
|
|
# MYSQL=/usr/bin/mysql
|
|
|
|
# MYSQLHOTCOPY=/usr/bin/mysqlhotcopy
|
|
|
|
# MYSQLDUMP=/usr/bin/mysqldump
|
2010-10-12 02:53:00 +02:00
|
|
|
# PSQL=/usr/bin/psql
|
2006-01-02 17:19:54 +01:00
|
|
|
# PGSQLDUMP=/usr/bin/pg_dump
|
|
|
|
# PGSQLDUMPALL=/usr/bin/pg_dumpall
|
|
|
|
# GZIP=/bin/gzip
|
2010-06-14 19:06:59 +02:00
|
|
|
# GZIP_OPTS='--rsyncable'
|
2006-01-02 17:19:54 +01:00
|
|
|
# RSYNC=/usr/bin/rsync
|
|
|
|
# VSERVERINFO=/usr/sbin/vserver-info
|
|
|
|
# VSERVER=/usr/sbin/vserver
|
2006-07-24 22:23:20 +02:00
|
|
|
# VROOTDIR=/var/lib/vservers
|