RedisDump is a tool for importing/exporting Redis data. It is based on Ruby, so to install RedisDump, you need to install Ruby first.
1. Related Links
- GitHub:https://github.com/delano/redis-dump
- Official documentation: http://delaantes.com/redis-dump
2. Install Ruby
For the installation method of Ruby, please refer to http://www.ruby-lang.org/zh_cn/documentation/installation . The installation methods of all platforms are listed here, and the appropriate installation method can be selected according to the corresponding platform.
3. gem
Installation
Once installed, you can execute gem
commands, which are similar to commands in Python pip
. Using the gem
command, we can install RedisDump as follows:
pip3 install scrapy-redis
After the execution is complete, the installation of RedisDump can be completed.
4. Verify the installation
After the installation is successful, you can execute the following two commands:
redis-dump
redis-load
If it can be called successfully, it proves that the installation was successful.