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

  • Fixing an iPod That Can't Be Updated

    By David @Smalldog.com Do you keep receiving the message “the iPod xxx cannot be updated. The required file is in use?” Do you…

  • Neato Keyboard Shortcut!

    Did you know that you can trigger Apple’s built-in dictionary in almost any system window, such as TextEdit, Safari, and Mail? This allows…

  • Useful OS X Keyboard Shortcuts!

    Print it out, fold in two, and trim around the edges – keep it on your desk next to your Mac to master…

  • Backing Up Your Data

    By Todd@Smalldog.com In our internet and computer driven lives our entire livelihood could exists as a string of 1’s and 0’s on a…

  • Resetting Your Admin Password

    This article was meant to appear in the September 17th edition of Tech Tails. We’re posting here for your reading pleasure. Enjoy! If…

  • Why can I receive but not send email?

    Has this ever happened to you? Your desktop email application is working fine and then one day you’re just unable to send email…