Linux
June 28, 2018
Backing Up and Rotating MySQL Databases the Easy Way
Here’s a little quickie for you. Say you have a small MySQL server floating
around your house that you want to have regular backups of. You do want regular
backups right?
In my case, the biggest motivation was wanting a regular way to grab a recent
MySQL dump of an internal tool I use at home to develop against. After poking
around the Internet a bit, I was surprised that, other than mysqldump itself,
there doesn’t seem to be a simple tool out there that you can slam into a
cronjob and let it do it’s thing.
So, like any good hacker, I decided to brew my own. After all, when you have
256,428 different solutions, why not make solution 256,429? :)
Read More