Metadata-Version: 2.1
Name: redisimp
Version: 0.2.1
Summary: Redis Import tool, copy data from one redis instance into another or into a cluster.
Home-page: https://github.com/happybits/redisimp
Author: John Loehrer
Author-email: john@happybits.co
License: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Requires-Dist: redis (>=2.10.2)
Requires-Dist: redislite (>=3.0.0)
Requires-Dist: six

Redis Import Tool
=================

This project allows you to quickly and safely import data from other redis hosts
 into a running redis instance or cluster.

.. code-block::

    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.

.. code-block::

    redisimp -s ./dump.rdb -d 127.0.0.1:6380


You can also copy only a subset of keys by using a regex pattern:

.. code-block::

    redisimp -s 127.0.0.1:6379 -d 127.0.0.1:6380 --pattern '/^I\{[A-Za-z0-9_\-]+\}$/'




Or a glob style pattern:

.. code-block::

    redisimp -s 127.0.0.1:6379 -d 127.0.0.1:6380 --pattern 'I{*}'








