3 # Drop Bacula database -- works for whatever is configured,
4 # MySQL, SQLite, PostgreSQL, Ingres
7 default_db_type=@DEFAULT_DB_TYPE@
10 # See if the first argument is a valid backend name.
11 # If so the user overrides the default database backend.
37 # If no new db_type is gives use the default db_type.
39 if [ -z "${db_type}" ]; then
40 db_type="${default_db_type}"
43 echo "Dropping ${db_type} database"
44 @scriptdir@/drop_${db_type}_database $*