delano/redis-dump — pull request #4 by leifg (2011-12-20 16:32:09+00:00)
Title: added feature for importing specific keys

for my application I need to export specific keys, not the whole database.

I could do a redis-dump | grep "" > backup.json but that is very inefficent when the database size is a lot greater than the keys

so I added this functionality to the code (I had to adjust the core because I'd like to get the keys by a pattern)