3 # Drop Bacula tables -- works for whatever is configured,
4 # MySQL, SQLite, Ingres, or PostgreSQL
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 @scriptdir@/drop_${db_type}_tables $*
44 echo "Dropped ${db_type} tables"