redis-rdb-tools icon indicating copy to clipboard operation
redis-rdb-tools copied to clipboard

Don't convert anything if regex doesn't match

Open FrenchBen opened this issue 8 years ago • 0 comments

I have a redis DB with some hash like user:abc. Doing a dump like this:

rdb --command json --key "user-nothing:.*" -f user.json dump.rdb

same with:

rdb --command json --type hash --key "user-nothing:.*" -f user.json dump.rdb

ends up filling up the json file, with all data even though nothing should've matched.

What am I missing?

FrenchBen avatar Jun 03 '16 22:06 FrenchBen