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

  • Spring Cleaning – For Your Mac!

    By Matt@Smalldog.com Spring cleaning is an interesting phenomenon. Many of us feel compelled to thoroughly clean our physical living and work spaces when…

  • How to Clean Your Keyboard

    For those of you out there who have what is supposed to be a white Apple keyboard (i.e. a keyboard that now appears…

  • Mac Treat #32: Delete Like a Pro

    Ah, the Delete key. I’m pretty sure I use it more than any other key on my Mac’s keyboard. Here are two Delete…

  • RAM Disk under OS X

    by Jon, Jon@smalldog.com (written by Jon, posted by Ed) RAM disks could be easily created in the Classic MacOS, going all the way…