Bacula Boss’s Report

Generate a spreadsheet containing a report of what Bacula save: jobname, fileset, pre-post scripts ecc. All written in a human readable’s format.

It’s useful to generate periodic reports or when your boss ask for a “report of what we are saving right now”: bacula’s web interface may be your first thought, but an xls file it’s easier to share with other managers, and access to the bacula’s web interface may be restricted in a separated nework or similar. <https://github.com/davidegiunchi/bboss-report>

Installation

Run on shell, as follows:

# Deps (Debian/CentOS)
apt-get -y install libspreadsheet-writeexcel-perl 
yum install -y perl-Spreadsheet-WriteExcel
# Downloads and installs bboss script
cd /usr/src
git clone https://github.com/davidegiunchidiennea/bboss-report.git
cd bboss-report
cp bboss-report.pl /etc/bacula/
cp bboss-report.conf /etc/bacula/bboss-report.conf
# Finds where bconsole executable is and replaces 
bconsole=$(whereis bconsole |cut -d " " -f 2); sed -i "s|/sbin/bconsole|$bconsole|g" /etc/bacula/bboss-report.conf
# Generates first report
/etc/bacula/bboss-report.pl /tmp/report.xls

 Screenshots

Bacula Boss's Report 1 Bacula Boss's Report 2

Disponível em: pt-brPortuguês (Portuguese (Brazil)) enEnglish

Leave a Reply

Close Menu