Redis Data Migration
Last updated
Last updated
Copying Database in same redis cluster
Easily achieved riot-redis opensource tool.
Copying database between two clusters of same vpc
We can use riot-redis tool to copy given db between two clusters of same vpc
Copying database between two clusters of different vpc
First take a snapshot of the cluster
Restore it with the vpc configuration that you want the data to be copied
Now use riot-redis tool to copy between two clusters of same vpc
Also read about , if you want to swap dbs of the cluster.
Launch an EC2 ubuntu instance which has access to the redis cluster
Install java, since riot-redis needs it.
Now launch bin/riot-redis
To replicate specific db in live mode, run below command
To replicate specific db without applying live changes
Download riot-redis source from . Unzip and copy to the desired location.
You need keyspace-notifications enabled for live mode. Ref: