- 下载riot
curl -OL https://github.com/redis-developer/riot/releases/download/v3.0.4/riot-standalone-3.0.4-linux-x86_64.zip
- 导出v7集群,请替换<redis-7-cluster02.u6kimr.clustercfg.use1.cache.amazonaws.com>为你的集群
bin/riot -h redis-7-cluster02.u6kimr.clustercfg.use1.cache.amazonaws.com -p 6379 -c file-export data.json.gz
- 将压缩文件导入到v6集群
bin/riot -h redis-6-cluster02.u6kimr.clustercfg.use1.cache.amazonaws.com -p 6379 -c dump-import data.json.gz