3 # Drop Bacula database -- works for whatever is configured,
4 # MySQL, SQLite, PostgreSQL
6 if test xsqlite = x@DB_NAME@ ; then
7 @scriptdir@/drop_sqlite_database
8 echo "Dropped SQLite database"
10 if test xmysql = x@DB_NAME@ ; then
11 echo "Making MySQL database"
12 @scriptdir@/drop_mysql_database $*
13 echo "Dropped MySQL database"
15 # hardcoded database name - should be a parameter
16 @scriptdir@/drop_postgresql_database bacula
17 echo "Dropped PostgreSQL database"