I am always fascinated by the cleanliness of UNIX. One tool only
should do one thing, but it has to be the best in that way. The
operating system itself will glue all the modules together and
give you a complex feel of a system, you don’t have to take care
of huge, bloated software, don’t have to deal with mysterious
bugs, which are appearing random. Just small bricks of clever
software and the rest are on you.
Recently I broke this, and frankly, I am not sure if it was a bad
decision, or not.
With MySQL, if you want a point in time recovery after a
disaster, you should back up not only the database but the binary
logs themselves, as I have mentioned it in my last blog post. I
added a feature to the binlogstreamer: it can clean up the binary logs
after a given amount of time.
Let’s see how many ways we have to get rid of the old, unwanted …
[Read more]