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

  • Mac Menu Symbols

    You can get more from your Mac, and use if more efficiently, if you utilize its built in keyboard shortcuts. You can see…

  • Podcasting with Textpattern

    I’ve been a fan of Textpattern, the Content Management System we’re using for our blog and podcasts, since I was introduced to it…

  • Mac Repairs

    Yesturday I had the task of taking apart a 23” Apple Cinema Display HD with DVI. First, I had absolutely no idea where…

  • Mac Treat #7: Empty Your Trash Super Fast!

    Emptying the trash in OS X can be a pain. It’s simply one of those easy-to-do-but-ever-so-arduous tasks that devour microseconds of life (actually,…