From: Eric Bollengier Date: Tue, 14 Apr 2009 20:03:15 +0000 (+0000) Subject: ebl tweak JobHisto table name X-Git-Tag: Release-3.0.1~38 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=db63c6afd1a0d80d58ee6716ec617a8637e38f27;p=bacula%2Fbacula ebl tweak JobHisto table name git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8731 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/gui/bweb/INSTALL b/gui/bweb/INSTALL index de873440ab..23c3e06074 100644 --- a/gui/bweb/INSTALL +++ b/gui/bweb/INSTALL @@ -315,14 +315,14 @@ GRANT INSERT,UPDATE,DELETE ON bacula.LocationLog ################ GET MORE STATISTICS ########################### -You keep Jobs informations across retention into a JobHistory table. -You have to setup stat_job_table = JobHistory in bweb configuration. +You keep Jobs informations across retention into a JobHisto table. +You have to setup stat_job_table = JobHisto in bweb configuration. -CREATE TABLE JobHistory (LIKE Job); +CREATE TABLE JobHisto (LIKE Job); And run this on crontab when you want : -INSERT INTO JobHistory - (SELECT * FROM Job WHERE JobId NOT IN (SELECT JobId FROM JobHistory) ); +INSERT INTO JobHisto + (SELECT * FROM Job WHERE JobId NOT IN (SELECT JobId FROM JobHisto) ); ################ USE USERS AND GROUPS WITH BWEB ##########################