On Friday 11 November 2005 15:24, MaxxAtWork wrote: > Hello, > > in my Bacula system I take differential or full backups on Monday > morning (and they go on one pool) and incrementals from Tuesday to > Friday (and they go on a different pool). > Tape is a manually operated DLT7000. > > Now, I would like that when last incremental job on Friday has > finished, Bacula would send a separate mail to the operator to inform > which tape will be used on Monday. > It's end of the day, so the director's list is empty. > > Is it possible to get that with a regular Bacula job, or should I > create a custom script that looks into MySQL database?
Unfortunately, it is not possible to get what you want with Bacula. You might be able to write a custom script by looking at the database, but there will be a few complications to get it right. There is currently a command: list nextvolume job="Job-name" which will list out what Bacula thinks the next volume will be provided the job is scheduled today or tomorrow. However, it does not properly handle job level overrides or storage overrides, and of course, this would not in any case, tell you on Friday, what tape is needed for Monday ... > > Thank you > -- > Maxx > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- Best regards, Kern ("> /\ V_V ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users