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 Trash Talk (OS X Trash Tips)

    Trash was one of the Mac’s original killer apps. Here are a few tips to help you get more out of – and…

  • Gmail on iOS

    Did you know that there’s more than one way to access your Google account email, contacts, and calendars from your iOS device? I’m…

  • Dead iPod Mini?

    By Jimmy@smalldog.com Do you have a dead iPod Mini, maybe the screen is cracked, the battery is dead, or the logic board is…

  • How to Clean your Computer

    by Matt, matt@smalldog.com (wirtten by Matt, posted by Ed) Customers often ask whether it’s necessary to clean out their computers. One customer believed…