]> git.sur5r.net Git - bacula/bacula/blob - gui/bweb/UPGRADE
ebl Keep level param across overview pages
[bacula/bacula] / gui / bweb / UPGRADE
1           Upgrade notes for Bweb
2
3 Upgrade from 2.2.Y to 3.0
4 -------------------------
5
6  - Template location is a bit different :
7    2.2.Y)
8       /../share/bweb/tpl          # english
9                      fr/tpl       # french
10                      es/tpl       # spanish
11
12       template_dir points to one of them
13
14    3.0)
15       /../share/bweb/tpl/en       # english
16                          fr       # french
17                          es       # spanish
18
19       Now, template_dir points to the template root, and
20       we use a new option "lang" to use the right location
21
22       template_dir=/../share/bweb/tpl
23       lang=fr
24            es
25            en
26
27  - If you are using english template, you have to use
28    bweb/lang/en/tpl/*.tpl instead of bweb/tpl (see INSTALL)
29  - Add the Date::Calc package to your perl library
30  - Add user, new job overview and bresto tables to your catalog
31
32    mysql) 
33         load the bweb/script/upgrade-2.2_3.0_mysql.sql file
34           root# mysql bacula < bweb/script/upgrade-2.2_3.0_mysql.sql
35    postgresql)
36         load the bweb/script/upgrade-2.2_3.0_postgresql.sql file
37           postgres# psql -U bacula bacula < bweb/script/upgrade-2.2_3.0_postgresql.sql
38
39 Upgrade from 2.0.X to 2.2.Y
40 ---------------------------
41
42  - Add group tables to your catalog
43    mysql) 
44         load the bweb-mysql.sql file
45    postgresql)
46         load the bweb/script/upgrade-2.0_2.2_postgresql.sql