X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fcats%2Fupdate_postgresql_tables.in;h=aa6400e075b688898f0d7dbd732dc5a899c9d3b4;hb=70cf799aa79d4c1ee8961bc8c631c013214de738;hp=6f24920f233e81b3ba13a5d7e589e6c8f72347ac;hpb=b7f0cd7bb1f6927f9eac1ba271e2a73943adab29;p=bacula%2Fbacula diff --git a/bacula/src/cats/update_postgresql_tables.in b/bacula/src/cats/update_postgresql_tables.in old mode 100755 new mode 100644 index 6f24920f23..aa6400e075 --- a/bacula/src/cats/update_postgresql_tables.in +++ b/bacula/src/cats/update_postgresql_tables.in @@ -1,87 +1,175 @@ #!/bin/sh # -# Shell script to update PostgreSQL tables from version 1.36 to 1.37.12 +# Copyright (C) 2000-2017 Kern Sibbald +# License: BSD 2-Clause; see file LICENSE-FOSS +# +# Shell script to update PostgreSQL tables from Bacula Community version +# 5.0.x, 5.2.x, 7.0.x, 7.2.x, 7.4.x # echo " " -echo "This script will update a Bacula PostgreSQL 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 PostgreSQL database from version 12-15 to 16" +echo " " +echo "Depending on the current version of your catalog," +echo "you may have to run this script multiple times." echo " " -bindir=@SQL_BINDIR@ - -if $bindir/psql -f - -d bacula $* <