Technologies

What Our Customers Are Saying

Our relationship with Reverse Polarity LLC has been nothing short of amazing. They joined our team during a difficult transition phase yet made the process seamless, from helping with support issues to identifying short and long-term needs. In just a few weeks, they developed a cost effective and balanced strategic plan, utilizing Open-Source software solutions, that will meet the needs of our school today and for years to come. I could not be happier with the services and solutions they offer, and having them involved in our IT decisions makes me feel safer and more secure about our network.

Generating email warnings of Bacula jobs that complete "OK" but have zero files or zero bytes

A recent feature request on the Bacula Community version mailing list was to have Bacula set a job's status to "W" (Backup OK -- with warnings) when a job completed with zero files or zero bytes.

The general consensus was that this probably should be handled outside of Bacula code, since it would require an additional directive and of course additional coding.

This request interested me and it prompted me to write this short script.

After editing some basic variables near the top of the script, the script requires only one command line parameter - the jobid - and currently also accepts "debug" to log everything to stdout, and "zero_incremental_ok" which does not trigger when Incremental or Differential jobs have zero files or zero bytes.