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

  • 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…

  • 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,…

  • Rsync – The Free Backup Solution

    Before you dive into this article you need to know that you will be using the terminal. The terminal can look really scary…

  • pearPad Remote Review

    The possibilities of the iPod touch are endless. Its unique mini version of Mac OS X and extremely functional multi-touch interface makes it…

  • High Dynamic Range

    High Dynamic Range (or “HDR”) brings a little professional technique to your iOS 7 photos by taking three exposures with one snap: normal,…