X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fcats%2Fupdate_sqlite3_tables.in;h=2d3cca53327cb5bc8e24abcad215d61db9b50b2f;hb=59d4303c028e69e3ffe32e0b7f38bdce5c7b5cc0;hp=f07f7ba0cb7d80be7d9355efbe346afb9c649547;hpb=4b67d0451c995d42fae0cf805e55cdba666df7d0;p=bacula%2Fbacula diff --git a/bacula/src/cats/update_sqlite3_tables.in b/bacula/src/cats/update_sqlite3_tables.in index f07f7ba0cb..2d3cca5332 100644 --- a/bacula/src/cats/update_sqlite3_tables.in +++ b/bacula/src/cats/update_sqlite3_tables.in @@ -1,232 +1,52 @@ #!/bin/sh # -# shell script to update SQLite from version 2.0 to 3.0 +# Shell script to update MySQL tables from 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 14" +echo " which is needed to convert from Bacula Community version 5.0.x to 5.2.x" echo " " -bindir=@SQL_BINDIR@ +bindir=@SQLITE_BINDIR@ +PATH="$bindir:$PATH" cd @working_dir@ -sqlite=@DB_TYPE@ db_name=@db_name@ -${bindir}/${sqlite} $* ${db_name}.db <