Aaron Rosenfeld / 14 posts / 9 comments / feed / comments feed
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 is two-fold: it allows administrators to easily check the status of [...]

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..."