Sign inSign up

shinkou/redisutils

By shinkou

Updated over 2 years ago

Redis Utilities

Image
0

280

shinkou/redisutils repository overview

RedisUtils Docker Image

This docker image features a minimal setup of a Redis key management tool collection.

How to Run

Issue the following command to run:

$ docker run -v "/dir/to/mount:/data" -w /data --rm shinkou/redisutils COMMAND

where COMMAND can be one of the followings...

Redis to CSV Extractor

To see the help page:

redis2csv -h

Or, to dump from Redis to CSV:

redis2csv -H some.redis.server -o /path/to/output/csv/file 'regexp_key_pattern_.*'
CSV to Redis Restorer

To see the help page:

csv2redis -h

To restore from CSV:

csv2redis -H some.redis.server /path/to/input/csv/file
Redis Keys Remover

To see the help page:

redisdel -h

To remove keys with RegExp patterns:

redisdel -H some.redis.server REGEXP1 [ REGEXP2 [ REGEXP3 ... ] ]

To remove keys provided in CSVs:

redisdel -H some.redis.server --csv CSV1 [ CSV2 [ CSV3 ... ] ]

Tag summary

Content type

Image

Digest

sha256:ec0ce4204

Size

25.6 MB

Last updated

over 2 years ago

docker pull shinkou/redisutils