1#!/bin/sh 2# 3# Copyright (C) 2000-2020 Kern Sibbald 4# License: BSD 2-Clause; see file LICENSE-FOSS 5# 6# This script deletes a catalog dump 7# 8db_name=@db_name@ 9 10rm -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/working/BackupCatalog.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# 26