https://github.com/leonchen83/redis-cli-tool
rct -f dump -s /path/to/dump.rdb -o /path/to/dump.aof -r
cat /path/to/dump.aof | /redis/src/redis-cli -p 6379 --pipe
rct -f dump -s /path/to/dump.rdb -o /path/to/dump.aof
rct -f json -s /path/to/dump.rdb -o /path/to/dump.json
rct -f mem -s /path/to/dump.rdb -o /path/to/dump.mem -l 50
rct -f diff -s /path/to/dump1.rdb -o /path/to/dump1.diff
rct -f diff -s /path/to/dump2.rdb -o /path/to/dump2.diff
diff /path/to/dump1.diff /path/to/dump2.diff
rct -f resp -s /path/to/dump.rdb -o /path/to/appendonly.aof
rmt -s /path/to/dump.rdb -m redis://192.168.1.105:6379 -r
rdt -b redis://192.168.1.105:6379 -o /path/to/dump.rdb
rdt -b /path/to/dump.rdb -o /path/to/filtered-dump.rdb -d 0 -t string
rdt -s ./dump.rdb -c ./nodes.conf -o /path/to/folder -d 0
rdt -m ./dump1.rdb ./dump2.rdb -o ./dump.rdb -t hash
1
hnyoumfk 2018-07-21 18:20:10 +08:00
尝试了使用 Release 版本和直接编译 git 上的源码,分别出现了下面问题:
|
2
hnyoumfk 2018-07-21 18:22:51 +08:00
@hnyoumfk 接上条没打完。。。
使用如下命令: ./rct -f mem -s ~/Desktop/redis-recommend-20180531-0001.rdb -o ~/Desktop/dump_ddd.mem -l 500 1.使用 Release 版本出现下列错误: Unsupported field: YearOfEra 2.使用源码编译版本出现下列错误: Exception in thread "main" java.lang.NullPointerException at com.moilioncircle.redis.cli.tool.util.ProgressBar.show(ProgressBar.java:84) 谢谢 0.0 |
3
leonchen83 OP 我看一下
|
4
leonchen83 OP |
5
leonchen83 OP |
6
leonchen83 OP @hnyoumfk
有任何问题都可以提 issue 或者私信我 |