Skip to content

A tool to migrate from Redis to AWS Elasticache

License

Notifications You must be signed in to change notification settings

rohit2g/rediscp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A tool to migrate from Redis to AWS Elasticache

Resources

License

Stars

Watchers

Forks

Packages

No packages published