This Bash script will automatically take care of backing up all your critical information so that in a disaster you can setup your site(s) on a new server. Obviously you will need to offload the backups to a different location from time to time.
This script takes care of :
* apache configuration files
* /home/WWW (or wherever you keep your content / code)
* MySQL (All DBs)
* it will also Rotate the MySQL query log if you have it running for debugging / dev.