command
module
Version:
v0.0.0-...-5e463d4
Opens a new window with list of versions in this module.
Published: Aug 29, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
一个简单的redis数据迁移工具
使用方法
功能说明:
支持redis全类型数据迁移工具
使用方法:
redis_tool -src source -dst destination -p pattern
参数说明:
-src : 原始库redis的地址
-dst : 目标库redis的地址
-p|-pattern: redis的key的匹配规则
-delete: 是否删除redis的数据,默认不删除,请谨慎使用!
-maxCount: 单次SCAN提取的记录数,防止数据量过多导致redis连接超时
安装方法
源码安装方法:
go install github.com/learnhard-cn/redis_tool@latest
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.