#!/bin/bash # http://crystalfaeries.net/posix/bin/rsnapshot.pre-exec invoked by /etc/rsnapshot.conf # celeste:crystalfaery 2013-03-22 04:51:36+00:00 # /opt/bin/backup-mysql >& /tmp/backup-mysql.$$ || cat /tmp/backup-mysql.$$ | mail -s "`hostname` backup-mysql errors" root echo we are using automysqlbackup which may not yet be configured to save into our rsnapshots. exit 0