问题描述

当使用Azure Redis服务时,需要把一个Redis服务的数据导入到另一个Redis上,因为Redis服务没有使用高级版,所以不支持直接导入/导出RDB文件。

以编程方式来读取数据并写入到新的Redis服务端,使用开源工具 Redis-Copy 却遇见了 6379 端口无法连接的问题。而用 redis-cli.exe 却正常连接。

redis-copy 工具使用 6379 端口

redis-copy.exe

--se xxxxx.redis.cache.chinacloudapi.cn --sa <your source password> --sp 6379 --sssl false

--de xxxxx.redis.cache.chinacloudapi.cn --da <your destination password> --dp 6379 --dssl false

05-16 08:02