# INSTALL NOTES #
################################################################
-Bweb works well with 2.0 release or later.
+Bweb works well with 3.0 release or later.
1) install Perl lib
2) using lighttpd (quick install)
# with mysql < 5, you have to play with the ugly SHOW command
DB_SIZE => " SELECT 0 ",
# works only with mysql 5
- # DB_SIZE => " SELECT sum(DATA_LENGTH) FROM INFORMATION_SCHEMA.TABLES ",
+ DB_SIZE => " SELECT sum(DATA_LENGTH) FROM INFORMATION_SCHEMA.TABLES ",
################ BCONSOLE NOTES ################################
###### BFILEVIEW only part
-You have to remove "<!-- Remove this to activate bfileview" and "-->" from
-tpl/en/display_job_zoom.tpl.
-
-You MUST use brestore.pl -b or bresto.pl action=batch to initialize the database, and
-you CAN use bfileview.pl mode=batch jobid=xxx where=/ to compute tree size.
+You MUST use brestore.pl -b or bresto.pl action=batch to initialize the
+database, and you CAN use bfileview.pl mode=batch jobid=xxx where=/ to compute
+tree size.
At this time, it's a good idea to schedule brestore.pl -b after your
BackupCatalog job.
Name = "BackupCatalog"
...
# This creates an ASCII copy of the catalog
- RunBeforeJob = "/opt/bacula/etc/make_catalog_backup bacula bacula Pei0ahm9"
+ RunBeforeJob = "/opt/bacula/etc/make_catalog_backup.pl MyCatalog"
# This deletes the copy of the catalog
RunAfterJob = "/opt/bacula/etc/delete_catalog_backup"
RunAfterJob = "/usr/lib/cgi-bin/bweb/bresto.pl action=batch"
You keep Jobs informations across retention into a JobHisto table.
You have to setup stat_job_table = JobHisto in bweb configuration.
-CREATE TABLE JobHisto (LIKE Job);
-
-And run this on crontab when you want :
-INSERT INTO JobHisto
- (SELECT * FROM Job WHERE JobId NOT IN (SELECT JobId FROM JobHisto) );
+And use Statistics module from Bacula (see documentation and update stats
+command).
################ USE USERS AND GROUPS WITH BWEB ##########################
It will do some basics things on a working bweb/brestore setup.
-1) Go to http://extjs.com and download their toolkit (last 2.2 release)
+1) Go to http://extjs.com and download their toolkit (use the 2.2 release)
2) Install files in /bweb/ext web root
example on debian :
5) Use the last Bweb.pm
If you are trying bresto in a working bweb/brestore setup, you must make sure that you use
- the last Bweb.pm SVN version.
+ the last Bweb.pm git version.
6) Go on http://you-director/bweb/bresto.html