redis-rdb-tools 安装和使用

https://github.com/sripathikrishnan/redis-rdb-tools

准备工作:
#wget http://mirrors.ustc.edu.cn/epel/7/x86_64/Packages/e/epel-release-7-11.noarch.rpm
#wget http://mirrors.ustc.edu.cn/ius/stable/CentOS/7/x86_64/ius-release-1.0-15.ius.centos7.noarch.rpm
 
# rpm -ivh epel-release-7-11.noarch.rpm 
# rpm -ivh ius-release-1.0-15.ius.centos7.noarch.rpm

#yum -y install python36 python36u-pip

# pip3.6 install rdbtools python-lzf
Successfully installed python-lzf-0.2.4 rdbtools-0.1.12

或者源码包安装:
git clone https://github.com/sripathikrishnan/redis-rdb-tools
cd redis-rdb-tools
sudo python setup.py install


支持python2.7 和python3.6版本

参考:
https://blog.csdn.net/jiangsanfeng1111/article/details/53523581

 

你可能感兴趣的:(Redis)