Send Bacula Backup Report

version 0.6 released on 8/2/2016 by Davide Giunchi

ScreenshotDownloadGitHub

The standard “Messages” Bacula function send a separate email for every backup job, when you manage a large backup servers this will make you receive hundred of email every day, and a “daily digest” will be better.

This is a Perl program that works with Bacula, it send a digest email of the backup jobs run in the last X days, you can run it every morning to notify about the state of every job run in the night, or every monday to get the state of the week-end backups.
You need to install the program in the Bacula (Enterprise or community) Director server that use MySQL or PostgreSQL database.
All the parameters are configurable on the config file /etc/bacula/send_bacula_backup_report.conf , the email report use the “HTML::Template” template engine, so you can customize the email layout as you wish.
The default email layout is the same of the Bweb html interface, so if you are confident with bweb, you will immediately understand the output.
You will fast and easly understand every job result by take a look at the “Status” field, you will get one the following states:

OK: all right
ERROR: fatal error
WARNING: job ok but maybe some files are in use (without VSS), some directory are missing ecc…
RUNNING: job is still running when Send Bacula Backup Report has been run
WAITING: job queued and waiting for start
ATTENTION (new feature in 0.6): job ok but the backup size is smaller thank the expected one

In every case where the status is not OK, click on the job status to connect to the web interface (if installed) and view more details.
Even if all jobs are OK, please remember to do some restore tests on a regular basis to check that you save all the needed directory/files and the data are correct restored.

To install this program read the INSTALL file.

LICENSE
This program is Copyright(C) 2011 Davide Giunchi, and may be copied according to the GNU GENERAL PUBLIC LICENSE (GPL) Version 2 or a later version.  A copy of this license is included with this package.  This package comes with no warranty of any kind.

Lascia un commento