X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fcats%2Fupdate_sqlite3_tables.in;h=2d3cca53327cb5bc8e24abcad215d61db9b50b2f;hb=59d4303c028e69e3ffe32e0b7f38bdce5c7b5cc0;hp=37be54689a249a16d939eeccc6f783000e4a1e8d;hpb=3a059805669cdf5a28924f811b57505ac688fc06;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 37be54689a..2d3cca5332 --- a/bacula/src/cats/update_sqlite3_tables.in +++ b/bacula/src/cats/update_sqlite3_tables.in @@ -1,338 +1,52 @@ #!/bin/sh # -# shell script to update SQLite from version 1.36 to 1.38 +# 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 8 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 <