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

  • The Horror: Kernel Panics

    By Todd@Smalldog.com I thought in the spirit of Halloween I would talk about some rather scary things to see on your mac. The…

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

  • Nifty Image Editor

    If you want to add that really cool mirror effect to your images then Picturesque is probably the easiest way to get it…

  • Modify the Finder Window

    A couple weeks ago I read a great tip about adding applications to the Finder window, from the blog of Creativetechs.com. Read the…

  • Laptop Battery Conservation Tips

    By Matt@Smalldog.com Small Dog’s home base in Waitsfield experienced an unexpected power outage this morning. I wrote this on a MacBook Pro Core…