]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/cats/drop_mysql_tables.in
Backport from Bacula Enterprise
[bacula/bacula] / bacula / src / cats / drop_mysql_tables.in
index 058d4044bd90191135b8d9f3b22b343a75d89051..6b3067f1f5c909e4e299b8bdcc170f1493643eb1 100644 (file)
@@ -1,21 +1,9 @@
 #!/bin/sh
 #
-# shell script to delete Bacula tables for MySQL
-#
-#  Bacula® - The Network Backup Solution
-#
-#  Copyright (C) 2000-2014 Free Software Foundation Europe e.V.
-#
-#  The main author of Bacula is Kern Sibbald, with contributions from many
-#  others, a complete list can be found in the file AUTHORS.
-#
-#  You may use this file and others of this release according to the
-#  license defined in the LICENSE file, which includes the Affero General
-#  Public License, v3.0 ("AGPLv3") and some additional permissions and
-#  terms pursuant to its AGPLv3 Section 7.
-#
-#  Bacula® is a registered trademark of Kern Sibbald.
+# Copyright (C) 2000-2015 Kern Sibbald
+# License: BSD 2-Clause; see file LICENSE-FOSS
 #
+# shell script to delete Bacula tables for MySQL
 
 bindir=@MYSQL_BINDIR@
 db_name=@db_name@
@@ -51,6 +39,7 @@ DROP TABLE IF EXISTS LocationLog;
 DROP TABLE IF EXISTS PathVisibility;
 DROP TABLE IF EXISTS PathHierarchy;
 DROP TABLE IF EXISTS RestoreObject;
+DROP TABLE IF EXISTS Snapshot;
 END-OF-DATA
 then
    echo "Deletion of ${db_name} MySQL tables succeeded."