Redis Import tool, copy data from one redis instance into another or into a cluster.
Project description
- This project allows you to quickly and safely import data from other redis hosts
into a running redis instance or cluster.
redisimp -s 127.0.0.1:6379 -d 127.0.0.1:6380
The script will take all the keys from the source 127.0.0.1:6379 and copy them into the destination 127.0.0.1:6380.
It also allows you to copy data stored in RDB files.
redisimp -s ./dump.rdb -d 127.0.0.1:6380
You can also copy only a subset of keys by using a regex pattern:
redisimp -s 127.0.0.1:6379 -d 127.0.0.1:6380 --pattern '/^I\{[A-Za-z0-9_\-]+\}$/'
Or a glob style pattern:
redisimp -s 127.0.0.1:6379 -d 127.0.0.1:6380 --pattern 'I{*}'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
redisimp-0.1.3.tar.gz
(10.6 kB
view hashes)
Built Distribution
redisimp-0.1.3-py2-none-any.whl
(12.5 kB
view hashes)