A tool to dump a Redis server to a JSON file and then restore this file to another server.
Written to always dump and restore to database 0.
Uses Python. To use the script:
- Install the
redispackage:pip install redis - Dump a Redis server:
python ./redis-dump-restore.py <host of dump redis> dump - Restore to a Redis server:
python ./redis-dump-restore.py <host of restore redis> restore