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

  • How to Extend an AirPort Network

    Many of our clients with large houses or outbuildings want to get maximum wireless coverage without running or burying ethernet. Apple’s AirPort Extreme,…

  • Playing Blu-Ray on a Mac

    Steve Jobs has said for some time that Apple will not support Blu-Ray, calling the licensing “a bag of hurt.” Despite how popular…

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

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

  • Neato New Keyboard Shortcuts!

    I’m a sucker for cool keyboard shortcuts. I learned three new ones this week that are worth passing on. Note: the “Command” key…

  • Lowly Old TextEdit

    If you’ve recently purchased a new Mac, you might be surprised that Appleworks is no longer included in the bundled software. The only…