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