Aaron Rosenfeld / 19 posts / 49 comments / feed / comments feed
This is an old release announcement.  Please visit http://phpwatch.net for the newest version. I am pleased to announce that I have released phpWatch v1.0.6 Beta and it is now available for download. phpWatch is a general purpose service monitor that is able to send notifications of outages via e-mail or text-message (SMS). The purpose of this system [...]

It isn't pretty but I wrote this little script which saves 10 full mySQL backups (compressed) to a specified directory.

export DIR="BACKUP DIRECTORY HERE"
export UNAME="MYSQL USERNAME HERE"
export PASS="MYSQL PASSWORD HERE"
### End Config ###
printf "Starting at "
date "+%m-%d-%Y %H:%M:%S"
printf "Rotating Backup files..."