From db63c6afd1a0d80d58ee6716ec617a8637e38f27 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Tue, 14 Apr 2009 20:03:15 +0000 Subject: [PATCH] ebl tweak JobHisto table name git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8731 91ce42f0-d328-0410-95d8-f526ca767f89 --- gui/bweb/INSTALL | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 ########################## -- 2.39.5