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 git
yum install -y perl-Spreadsheet-WriteExcel git
# Downloads and installs bboss script
cd /usr/src
git clone https://github.com/davidegiunchidiennea/bboss-report.git
cd bboss-report
cp bboss-report.pl /opt/bacula/scripts
sed -i 's|/etc/bacula|/opt/bacula/etc|g' /opt/bacula/scripts/bboss-report.pl
cp bboss-report.conf /opt/bacula/etc/bboss-report.conf
# Finds where bconsole executable is and replaces 
bconsole=$(whereis bconsole |cut -d " " -f 2); sed -i "s|/sbin/bconsole|$bconsole|g" /opt/bacula/etc/bboss-report.conf
# Generates first report
/opt/bacula/scripts/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