Knock::on_wood

unclear thoughts on software development

Articles tagged with mysql

Wednesday, January 25, 2006

Backing up MySQL

After committing the cardinal sin on a recent project of killing the production database without a backup the day before launch, I spent some serious time figuring out a solid back up solution. Thankfully I found automysqlbackup. Thought the name lacks creativity, the script rocks! It’s a unix shell script that creates 5 running daily, weekly, and monthly backups of multiple MySQL databases in a very clean directory structure. It’s highly recommended if you are doing anything with MySQL.

Oh, and thankfully, the host had a backup of the database as of 1am that night. Whew!

Powered by Mephisto. Theme modified and ported by Ryan Wood, based on the WordPress theme minima.