>>>>> On Sun, 12 Nov 2017 10:43:47 -0700, Bill Arlofski said: > > 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).
Why not take this info from the job table, rather than having to parse it from the joblog? __Martin ------------------------------------------------------------------------------ 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