3 # shell script to drop Bacula database(s)
6 # Bacula® - The Network Backup Solution
8 # Copyright (C) 2000-2014 Free Software Foundation Europe e.V.
10 # The main author of Bacula is Kern Sibbald, with contributions from many
11 # others, a complete list can be found in the file AUTHORS.
13 # You may use this file and others of this release according to the
14 # license defined in the LICENSE file, which includes the Affero General
15 # Public License, v3.0 ("AGPLv3") and some additional permissions and
16 # terms pursuant to its AGPLv3 Section 7.
18 # Bacula® is a registered trademark of Kern Sibbald.
21 bindir=@POSTGRESQL_BINDIR@
24 if $bindir/dropdb ${db_name}
26 echo "Drop of ${db_name} database succeeded."
28 echo "Drop of ${db_name} database failed."