]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/cats/delete_catalog_backup.in
Add documentation on baculabackupreport to delete_catalog_backup.in
[bacula/bacula] / bacula / src / cats / delete_catalog_backup.in
1 #!/bin/sh
2 #
3 # Copyright (C) 2000-2017 Kern Sibbald
4 # License: BSD 2-Clause; see file LICENSE-FOSS
5 #
6 # This script deletes a catalog dump
7 #
8 db_name=@db_name@
9
10 rm -f @working_dir@/${db_name}.sql
11
12 #
13 # We recommend that you email a copy of the bsr file that was
14 #  made for the Job that runs this script to yourself.
15 #  You just need to put the bsr file in /opt/bacula/bsr/catalog.bsr
16 #  or adjust the script below.  Please replace all %xxx% with what
17 #  is appropriate at your site.
18 #
19 #@bindir@/bsmtp -h %smtp-server% -s "catalog.bsr" \
20 #   %your-name@company.org% <@bsrdir@/catalog.bsr
21 #
22 # The following script will email a summary of the backup jobs that
23 #  were completed in the last 24 hours
24 #@scriptdir@/baculabackupreport 24
25 #