Skip to content

Migrate Redis data from source to destination

License

Notifications You must be signed in to change notification settings

hadesfeng/migrator

 
 

Repository files navigation

Migrator

Script for realtime migration from one redis source to another in Golang. Inspired by RedisLabs https://github.com/RedisLabs/redis-migrate

git clone https://github.com/mikefaraponov/migrator
go build
mv ./migrator /usr/local/bin/migrator

Google Wire https://github.com/google/wire used to simplify dependency management

Just specify $REDIS_SOURCE and $REDIS_DESTINATION and the deal will be done.

Requires replicaof or slaveof commands be available in your redis installation

Licensed under SSPL license. Please do not use this script to provide service to anybody except for your personal needs.

Used by ScaleChamp and ScalableSpace

About

Migrate Redis data from source to destination

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 94.5%
  • Dockerfile 5.5%