安装:
# wget https://codeload.github.com/andymccurdy/redis-py/zip/master # cd redis-py-master # python setup.py install
使用:
# wget https://codeload.github.com/p/redis-dump-load/zip/master # cd redis-dump-load-master
导出:
# ./redisdl.py -o dump.json
导入:
# ./redisdl.py -l dump.json
本文出自 “贺春旸的技术专栏” 博客,请务必保留此出处http://hcymysql.blog.51cto.com/5223301/1608363
原文地址:http://hcymysql.blog.51cto.com/5223301/1608363