3 # This routine creates the Bacula database
4 # using PostgreSQL, Ingres, MySQL, or SQLite.
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 "Creating ${db_type} database"
44 @scriptdir@/create_${db_type}_database $*