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

  • Changing The MOTD

    GEEKY WARNING! This article is not for the faint of heart. I’ll be using terminal and the “dreaded” command line. I just thought…

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

  • Parallels Message Boards

    I am not sure how I missed these but Parallels has some really great message boards with tons of helpful posts and people….

  • Entertainment in a Small Box

    After my article in Tech Tails last week I received a reply from a faithful reader asking for more information on my Mac…