Sign inSign up

jobteaser/rediscp

By jobteaser

Updated over 8 years ago

Copy a Redis DB easily as a file

Image
0

337

jobteaser/rediscp repository overview

rediscp

Copy a Redis DB easily as a file.

Motivation

Migrate Redis data to AWS Elasticache.

Currently it's no possible to use Redis RDB file because the manager service does not provide filesystem access. Also it's no possible to use RBD format (DUMP/RESTORE commands) due to Redis API version supported by AWS Elasticache.

Disclaimer

When Redis type is not supported, a warn log will be printed.

Supported Redis types:

  • String
  • List
  • Hash
  • Set
  • ZSet

Usage

$> rediscp --src redis://:6379/3 --dest redis://:6380/7

Or you can use docker image:

$> docker run jobteaser/rediscp:v1.0.1 /rediscp --src redis://:6379/3 --dest redis://:6380/7

Contributing

Your are welcome to open pull request for improve the lib.

Tag summary

Content type

Image

Digest

Size

4.8 MB

Last updated

over 8 years ago

docker pull jobteaser/rediscp