#!/bin/sh # # Drop Bacula database -- works for whatever is configured, # MySQL, SQLite, PostgreSQL # if test xsqlite = xsqlite3 -o xsqlite3 = xsqlite3 ; then /usr/local/bacula/scripts/drop_sqlite3_database $* else if test xmysql = xsqlite3 ; then echo "Making MySQL database" /usr/local/bacula/scripts/drop_mysql_database $* else /usr/local/bacula/scripts/drop_postgresql_database $* fi fi