X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fcats%2Fupdate_postgresql_tables.in;h=aa6400e075b688898f0d7dbd732dc5a899c9d3b4;hb=70cf799aa79d4c1ee8961bc8c631c013214de738;hp=5a1d49281449aa051a6376ccdadedc228042675e;hpb=5590d36b9538f1084ae29e0be851ac4adba4252a;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 5a1d492814..aa6400e075 --- a/bacula/src/cats/update_postgresql_tables.in +++ b/bacula/src/cats/update_postgresql_tables.in @@ -1,22 +1,175 @@ #!/bin/sh # -# Shell script to update PostgreSQL tables +# 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 12-15 to 16" echo " " -echo "Depending on the size of your database," -echo "this script may take several minutes to run." +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 - <