Hi everyone, Personally I think this is something that should be kept out the core code of Bacula, but the topic interested me so last night I emailed Jim directly (off list) and then wrote a script.
I have the script mostly completed which I will release shortly. I am just working out the final logic test details. :) The idea: - Call this script from a RunScript (RunsWhen = after) "Command =" - Pass the script the current jobid (%i) and a few other variables: - allow_zero_files - allow_zero_bytes - zero_incremental_ok So, my idea is that each backup job can call this script, the script calls bconsole and runs a "list joblog jobid=xxxx" then determines the FD (Files|Bytes) written, determines if the level is Full or Inc of Diff and then send a warning email if the files and/or bytes are zero and if they should not have been (for example, when the Level=full), or if the Level=inc|diff and zero files for these levels are not to be considered OK (zero_incremental_ok not set). I am of course accepting comments and idea/feature requests etc. Hope this will be useful, and hope to release it in the coming day(s). Best regards, Bill -- Bill Arlofski http://www.revpol.com/bacula -- Not responsible for anything below this line -- ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users