X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fcats%2Fupdate_sqlite3_tables.in;h=2d3cca53327cb5bc8e24abcad215d61db9b50b2f;hb=59d4303c028e69e3ffe32e0b7f38bdce5c7b5cc0;hp=f5cf32813f233830c04fa3ea26bd556da21c93ac;hpb=f4bd71881db8f792e079fe416d6f3e9cb3eb5f14;p=bacula%2Fbacula diff --git a/bacula/src/cats/update_sqlite3_tables.in b/bacula/src/cats/update_sqlite3_tables.in old mode 100755 new mode 100644 index f5cf32813f..2d3cca5332 --- a/bacula/src/cats/update_sqlite3_tables.in +++ b/bacula/src/cats/update_sqlite3_tables.in @@ -1,189 +1,52 @@ #!/bin/sh # -# shell script to update SQLite from version 1.34 to 1.35.5 +# 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 7 to 8" -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_NAME@ - -${bindir}/${sqlite} $* bacula.db <