#!/bin/sh # # This script is needed to convert from Bacula Enterprise 2.6 to 4.0 or # Standard version 3.0 to 5.0 # echo " " echo "This script will update a Bacula SQLite 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 "Depending on the size of your database," echo "this script may take several minutes to run." echo " " bindir=@SQL_BINDIR@ PATH="$bindir:$PATH" cd @working_dir@ sqlite=@DB_TYPE@ db_name=@db_name@ ${sqlite} $* ${db_name}.db <