From: Eric Bollengier Date: Thu, 9 Aug 2007 14:40:49 +0000 (+0000) Subject: ebl update Upgrade notes X-Git-Tag: Release-2.2.0~14 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d42e280d14afae9c177098b7d336a1b00d1b0b0e;p=bacula%2Fbacula ebl update Upgrade notes git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5322 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/gui/bweb/UPGRADE b/gui/bweb/UPGRADE new file mode 100644 index 0000000000..79fbe8fd44 --- /dev/null +++ b/gui/bweb/UPGRADE @@ -0,0 +1,10 @@ + Upgrade notes for Bweb + +Upgrade from 2.0.X to 2.2.Y +--------------------------- + + - Add group tables to your catalog + mysql) + load the bweb-mysql.sql file + postgresql) + load the bweb/script/upgrade-2.0_2.2_postgresql.sql diff --git a/gui/debian/bweb.postinst b/gui/debian/bweb.postinst index 716e64ece9..4e3ba3135e 100644 --- a/gui/debian/bweb.postinst +++ b/gui/debian/bweb.postinst @@ -37,3 +37,9 @@ if [ "$1" = "configure" ] ; then echo "chmod 755 /usr/bin/bconsole" fi + +if [ "$1" = "upgrade" ] ; then + echo "If you are using postgresql, you have to load /usr/share/bweb/upgrade-2.0_2.2_postgresql.sql in your database" + echo "postgres@localhost:~$ psql bacula < /usr/share/bweb/upgrade-2.0_2.2_postgresql.sql" + echo +fi