#!/bin/sh # This script is run whenever bbackupd changes state or encounters a # problem which requires the system administrator to assist: # # 1) The store is full, and no more data can be uploaded. # 2) Some files or directories were not readable. # 3) A backup run starts or finishes. # # The default script emails the system administrator, except for backups # starting and stopping, where it does nothing. SUBJECT="BACKUP PROBLEM on host debian-unstable" SENDTO="chris" if [ "$1" = "" ]; then echo "Usage: $0 " >&2 exit 2 elif [ "$1" = store-full ]; then sendmail: $SENDTO <