Friday 13 May 2011

Mydumper now with myloader!

It has only been a few days since the 0.2.0 release of mydumper but there have been some big changes since then.  I will try and go over them all here.

Mydumper 0.2.1


Mydumper 0.2.1 has been released today, many thanks for all those who have been testing the trunk source, the feedback has gone a long way to making fixes and improvements to mydumper.  You can download the source for it here.

Myloader


A few days ago Mark Callaghan asked about restoring mydumper backups.  There is of course the great 'myimporter' tool written by Mikael Fridh, but I wanted something that could integrate into the mydumper source better.  So, I have been busy hacking for the last few days and the big news in today's release is the addition of 'myloader'.  Myloader is a high-performance, multi-threaded tool written in C designed to read mydumper backups and apply them in parallel.

There are still many features I wish to add to it, but is good for basic restorations.

New Website


Last night I knocked together a site for mydumper.  There is not much in the way of content yet, but you can take a look at http://www.mydumper.org/

Mikael FridhMikael Fridh

2 comments:

  1. This is great. I would like to see this become the default thing people think of instead of downloading mk-parallel-dump, ignoring the documentation that warns against using it for backups, trying to use it for a backup, and running into one of the many obnoxious Perl bugs with multi-processing or other bugs that we can't fix. And then discovering that their backup isn't a backup.

    Can both tools be combined into a single binary? I think that might be nice.

    ReplyDelete
  2. Hi Baron,
    Thanks for you comment :)

    Unfortunately my perl experience is limited to grabbing/filtering some XML about 6 years ago. I hardly remember any of it.

    A single binary is an interesting idea. Are you thinking with an option to specify the mode or using symlinks so the name of the executable designates the function? Either way, yes, it would be easy to do and not something I had thought of.

    ReplyDelete

Note: only a member of this blog may post a comment.