阿里云redis数据备份与恢复

2019-07-25  本文已影响0人  逆行的小电驴

下载地址:链接: https://pan.baidu.com/s/17_Fic4QPUhyIzJ6KgW3r0g 提取码: 5tss

image.png
image.png
chmod 777 redis-port
./redis-port.redis-port restore --input='/root/redisprot/hins7807257_data_20190725164505.rdb' --target=xx.xx.xx.xx:6382 --auth=xxxx --rewrite
x/dump.rdb:云数据库redis备份集的dump文件路径
dst_host:自建redis域名(或者IP)
dst_port:自建redis端口
dst_password:自建redis密码
str1|str2|str3:过滤具有str1或str2或str3的key
DB:将同步入自建redis的DB
rewrite:覆盖已经写入的key
bigkeysize=SIZE:当写入的value大于SIZE时,走大key写入模式
上一篇下一篇

猜你喜欢

热点阅读