Closed leifg closed 12 years ago
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)
I couldn't pull in this patch because it includes changes to the release files. However, I just pushed the 0.3 release to rubygems which includes a -f option to specify a key filter.
-f
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)