On Tuesday 15 August 2006 09:35, graham.dicker wrote: > Is there a way to make Bacula abandon a backup job if the database is > corrupt?
In general, Bacula does fail a job if the database is corrupt, but the problem is to define what kinds of errors are fatal and what errors are non-fatal. > > > > >From time to time a Bacula backup creates a huge log file full of > database error messages. I think you should look into why this is happening. I've been running Bacula for over 6 years now, and this has never happened to me. I can imagine that it happens because of some unusal event, but if it is happening "from time to time", it is most likely a problem you can resolve. > This prevents the "backup result" email being > sent because the message is too big. On some systems the hard drive gets > full and that causes more problems. It would be very useful to be able > to specify to abandon the backup if the number of database errors > exceeds some given number. Can you provide some examples of what kind of errors you are getting? What SQL engine are you using? What version of Bacula are you using? If you are using bsmtp, it has an option that can limit the size of the email message. It won't resolve the problem of not getting the Job Report, but it might keep your HD from filling. > > > > TIA > > > > Graham Dicker > > > > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users