Skip to content

happybits/redisimp

Repository files navigation

Redis Import Tool

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •