X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fcats%2Fupdate_sqlite3_tables.in;h=1b8ae4f67bbc9fc38838e9a243688f39d0829145;hb=6f9baa7b51e231518ebd6e16f4b0ade96c44f6b5;hp=c2d427ab61e8223c2aeb98129d27ba1ef6dcc953;hpb=5f668d6545e69777dc9c58993ab84bffd0cfdc7d;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 c2d427ab61..1b8ae4f67b --- a/bacula/src/cats/update_sqlite3_tables.in +++ b/bacula/src/cats/update_sqlite3_tables.in @@ -1,251 +1,54 @@ #!/bin/sh # -# shell script to update SQLite from version 1.38 to 1.39 +# 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 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 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@ +bindir=@SQLITE_BINDIR@ +PATH="$bindir:$PATH" cd @working_dir@ -sqlite=@DB_NAME@ - -${bindir}/${sqlite} $* bacula.db <