Simple ad-hoc MySQL dump script: example: TIME_DELTA=1380 DEBUG=1 MAIL_REC=handler@example.org MAIL_SENDER=notify@example.net ./mysqldump.sh