How to exclude (or include) databases?

Created by Domas Mituzas on on 2009-02-18
Keywords:

Once can use --regex functionality, for example not to dump mysql and test databases:

mydumper --regex '^(?!(mysql|test))'

Of course, regex functionality can be used to describe pretty much any list of tables.