Automatically Backup MySQL Databases!

This is for you MySQL users out there. This nifty script really helps with backing up your MySQL databases. It even has rotation and it can email you the backed up databases or just a log of what happened.

I currently use it on 4 of my servers and now that I’ve setup shared keys there’s a section in the script that allows you to run any command after the backup completes. My command tells the server to synchronize the fresh backups to another server for safe keeping, VERY COOL!!

To set it to run automatically you should be familiar with cronjobs. I just set the script to run every morning at 2am.

You can read more and download the script here.

Similar Posts

  • Instantly Backup Your Address Book

    I typically use iSync and .Mac to backup and sync my Address Book across multiple Macs, and on my Treo cell phone. However,…

  • Automator Action – Maintenance

    Here’s an Automator Action that could come in handy. I’ve run the periodic clean-up and it worked like a champ! Requires Mac OS…

  • Getting File Information

    This little trick is something I just discovered this morning. If you select a file that you’ve downloaded from the web and hit…

  • Ask Me!

    By Jimmy Brancaccio (Jimmy@smalldog.com) Wow, another week with tons of questions. Please check out the blog because it’s possible your question was answered…

  • Troubleshooting Slot Loading Drives

    By Todd@Smalldog.com Since I joined the Small Dog Team recently I have begun to look at the technology that I use (or abuse)…