-
Notifications
You must be signed in to change notification settings - Fork 5
/
send_bacula_backup_report.conf.example
34 lines (30 loc) · 1.31 KB
/
send_bacula_backup_report.conf.example
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
#
# sample config file for Send Bacula Backup Report, copy this to /etc/bacula/send_bacula_backup_report.conf
#
# mysql or Pg
$db_type='mysql';
# other db parameters
$db_host='localhost';
$db_name='bacula';
$db_username='root';
$db_password='xxxxxxxx';
# url to bweb.pl or your bacula's web interface. If you don't have a web interface, you can skip it
$bweb_path='http://hostname.or.ip.of.the.bacula.dir/';
# email arguments
$email_from='[email protected]';
$email_to='[email protected]';
$email_subject="Backup report of $mday/$mon/$year";
$template_file='/etc/bacula/send_bacula_backup_report.tpl';
# Optional: minimum job size
# if job "my-db-job-name" is ok and its size is less than the defined one, mark the job as "ATTENTION" in the report. This is expecially useful for jobs
# with a pre-script that dump a database: the script may return with ok value (0) but it didn't dump the databases. This feature will make easier
# to detect this dangerous behaviour.
# You can define as many minimum-size-definition as you want.
#
# If you don't need this feature, you can simply comment that lines
#
# job "my-db-job-name" size must be more than 900Mb (size must be expressed in bytes)
$minimum_size{'my-db-job-name'} = '900000000';
# job "another-job-name" size must be more than 2Gb
$minimum_size{'another-job-name'} = '2000000000';
1