Redis Import

The redis-import command reads data from a Redis database and writes it to another Redis database.

The basic usage is:

riotx redis-import [OPTIONS] [REDIS COMMAND...]

For the full usage, run:

riotx redis-import --help
Example: migrate hashes to JSON
riotx redis-import --target-uri redis://localhost:6380 --key-pattern 'hash:*' --key-regex 'hash:(?<id>.+)' json.set doc:#{id}