X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fcats%2Fupdate_sqlite3_tables.in;h=07d807c3dfbffbe63c805265887cb50db1c0f489;hb=cd7acc68ac7b79a612e3c3ce64fa191e303e2c72;hp=b9558f82256c4fc27e87ef0fb2afc84125936c7c;hpb=9cfbe86f83144637951ce85b5ecf1e653d21a75f;p=bacula%2Fbacula diff --git a/bacula/src/cats/update_sqlite3_tables.in b/bacula/src/cats/update_sqlite3_tables.in index b9558f8225..07d807c3df 100644 --- a/bacula/src/cats/update_sqlite3_tables.in +++ b/bacula/src/cats/update_sqlite3_tables.in @@ -1,53 +1,52 @@ #!/bin/sh # -# shell script to update SQLite from version 2.0 to 3.0 +# Shell script to update MySQL tables from Bacula Enterprise version 2.6.x to 4.0.x +# or Bacula Community version 5.0.x to 5.2.x # echo " " -echo "This script will update a Bacula SQLite database from version 10 to 11" -echo " which is needed to convert from Bacula version 2.0.x to 3.0.x or higher" -echo "Depending on the size of your database," -echo "this script may take several minutes to run." +echo "This script will update a Bacula MySQL database from version 12 to 13" +echo " which is needed to convert from Bacula Enterprise version 2.6.x to 4.0.x" +echo " or Bacula Community version 5.0.x to 5.2.x" echo " " bindir=@SQL_BINDIR@ +PATH="$bindir:$PATH" cd @working_dir@ sqlite=@DB_TYPE@ db_name=@db_name@ -${bindir}/${sqlite} $* ${db_name}.db <