3 # This routine makes the appropriately configured
4 # Bacula tables for PostgreSQL, Ingres, MySQL, or SQLite.
7 # Bacula® - The Network Backup Solution
9 # Copyright (C) 2000-2014 Free Software Foundation Europe e.V.
11 # The main author of Bacula is Kern Sibbald, with contributions from many
12 # others, a complete list can be found in the file AUTHORS.
14 # You may use this file and others of this release according to the
15 # license defined in the LICENSE file, which includes the Affero General
16 # Public License, v3.0 ("AGPLv3") and some additional permissions and
17 # terms pursuant to its AGPLv3 Section 7.
19 # Bacula® is a registered trademark of Kern Sibbald.
22 default_db_type=@DEFAULT_DB_TYPE@
25 # See if the first argument is a valid backend name.
26 # If so the user overrides the default database backend.
52 # If no new db_type is gives use the default db_type.
54 if [ -z "${db_type}" ]; then
55 db_type="${default_db_type}"
58 echo "Making ${db_type} tables"
59 @scriptdir@/make_${db_type}_tables $*