#!/bin/sh # # Shell script to update MySQL tables from Bacula Enterprise 2.6 to 4.0 or # Standard version 3.0 to 5.0 # echo " " echo "This script will update a Bacula MySQL database from version 11 to 12" echo " which is needed to convert from Bacula Enterprise 2.6 to 4.0 or " echo " Standard version 3.0 to 5.0" echo " " bindir=@SQL_BINDIR@ PATH="$bindir:$PATH" db_name=@db_name@ if mysql $* -f <