Skip to main content

Redis Import tool, copy data from one redis instance into another or into a cluster.

Project description

BuildStatus CoverageStatus Version Python

RedisImp 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{*}'

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.3.0.tar.gz (12.8 kB view hashes)

Uploaded source

Built Distributions

redisimp-0.3.0-py3-none-any.whl (13.6 kB view hashes)

Uploaded py3

redisimp-0.3.0-py2-none-any.whl (13.6 kB view hashes)

Uploaded py2

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page