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

  • Software RAID In OS X Leopard

    I really enjoy how easy Tiger and Leopard makes setting up RAIDs. A RAID is essentially a collection of hard drives connected together….

  • Resetting Your Admin Password

    This article was meant to appear in the September 17th edition of Tech Tails. We’re posting here for your reading pleasure. Enjoy! If…

  • Spring Cleaning – For Your Mac!

    By Matt@Smalldog.com Spring cleaning is an interesting phenomenon. Many of us feel compelled to thoroughly clean our physical living and work spaces when…

  • Move that music

    To followup on Art’s helpful post on effective use of the Apple Knowledge Base, here is a helpful article summarizing how one can…

  • Get Ready for Lion

    With Mac OS X Lion slated for release this month, it’s important to make sure your Mac is ready if you’re planning a…

  • Use Apple's Knowledge Base Effectively

    By Art@Smalldog.com One resource I find myself turning to almost daily is Apple’s Knowledge Base website located within Apple.com/Support. Being able to quickly…