X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fcats%2Fupdate_sqlite3_tables.in;h=2d3cca53327cb5bc8e24abcad215d61db9b50b2f;hb=59d4303c028e69e3ffe32e0b7f38bdce5c7b5cc0;hp=019132840641eaa05f6ff5548daabd4d5b74b0ad;hpb=f2dfd500c0acf5ec87f363bc40cddf51b1c1ba7c;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 0191328406..2d3cca5332 --- a/bacula/src/cats/update_sqlite3_tables.in +++ b/bacula/src/cats/update_sqlite3_tables.in @@ -1,152 +1,52 @@ #!/bin/sh # -# shell script to update SQLite from version 1.38 to 1.39 +# 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 9 to 9" -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 <