reds-shake官方文档:https://yq.aliyun.com/articles/691794
redis-shake2.0.2下载地址:https://github.com/alibaba/RedisShake/releases/download/release-v2.0.2-20200506/redis-shake-v2.0.2.tar.gz
安装:
tar xf redis-shake-v2.0.2.tar.gz -C /root
cd /root/redis-shake-v2.0.2
修改配置文件redis-shake.conf(各参数具体含义参考注释):
log.file
source.address
source.password_raw
target.address
target.password_raw
key_exists
同步命令:./redis-shake.linux -type=sync -conf=redis-shake.conf