Skip to content
Hot sync two Redis servers using dumps.
Go Shell
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin readme: edits Jul 5, 2019
cmd/rump gitignore: fix conflict with cmd Jul 5, 2019
docs remove dead link in README Jul 9, 2019
infra infra: update Rump version in Dockerfile.example Jul 9, 2019
pkg cleanup redis test Jul 9, 2019
.gitignore Update .gitignore Jul 8, 2019
LICENSE Add license. Nov 24, 2016
cloudbuild.yml infra: add ci setup Jul 5, 2019
docker-compose.yml infra: add ci setup Jul 5, 2019
go.mod version 0.9 beta Jul 5, 2019
go.sum formatting + typos + minor fixes Jul 5, 2019


Go Report Card GoDoc CI

Hot sync two Redis databases using dumps.


There's no easy way to sync data from an AWS ElastiCache or GCP MemoryStore Redis cluster; the standard commands BGSAVE and SLAVEOF are blocked.

Rump is able to live sync Redis databases across cloud providers by only using SCAN, DUMP and RESTORE.

It's used at Sticker Mule to keep staging and development environments in sync with the production AWS/GCP Redis clusters.


# Sync local Redis DB 1 to DB 2.
$ rump -from redis:// -to redis://

# Sync ElastiCache cluster to local.
$ rump -from redis:// -to redis://

# Sync protected ElastiCache via EC2 port forwarding.
$ ssh -L -N &
$ rump -from redis:// -to redis://

# Dump GCP MemoryStore to file.
$ rump -from redis:// -to /backup/memorystore.rump

# Restore backup to ElastiCache.
$ rump -from /backup/memorystore.rump -to redis://

# Sync with verbose mode disabled.
$ rump -from redis:// -to redis:// -silent

# Sync with TTLs.
$ rump -from redis:// -to redis:// -ttl


  • Uses SCAN instead of KEYS to avoid DoS servers.
  • Doesn't use any temp file.
  • Can sync any key type.
  • Can optionally sync TTLs.
  • Uses buffered channels to optimize slow source servers.
  • Uses implicit pipelining to minimize network roundtrips.
  • Supports two-step sync: dump source to file, restore file to database.
  • Supports Redis URIs with auth.
  • Offers the same guarantees of the SCAN command.




# requirements: docker, docker-compose (dc)
dc up # watch/run Rump tests and a Redis container
dc run --rm rump sh # get shell on Rump container
dc run --rm redis sh; redis-cli -h redis # get Redis console


Binaries can be found on the releases page.

curl -SL -o rump \
  && chmod +x rump;

You can run rump in a container following the Dockerfile.example.




Collaboration & License

You can’t perform that action at this time.