#!/bin/sh # # Copyright (C) 2000-2015 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS # # Shell script to update SQLite3 tables from Bacula Community version 3.0.x to 5.0.0 # echo " " echo "This script will update a Bacula SQLite3 database from version 11 to 12" echo " which is needed to convert from Bacula Community version 3.0.x to 5.0.x" echo " " bindir=@SQLITE_BINDIR@ PATH="$bindir:$PATH" cd @working_dir@ db_name=@db_name@ DBV=`${sqlite} ${db_name}.db <