Skip to content

Instantly share code, notes, and snippets.

View prasheen's full-sized avatar

Prasheen Prakash prasheen

View GitHub Profile

Keybase proof

I hereby claim:

  • I am prasheen on github.
  • I am prasheenp (https://keybase.io/prasheenp) on keybase.
  • I have a public key ASBD3EBmtqXNtiQ9ZBfKK1OENnhVBZu7Hy_pcR95Ea5elgo

To claim this, I am signing this object:

@prasheen
prasheen / migrate-redis.py
Created January 8, 2019 14:57 — forked from thomasst/migrate-redis.py
Migrate Redis data on Amazon ElastiCache
"""
Copies all keys from the source Redis host to the destination Redis host.
Useful to migrate Redis instances where commands like SLAVEOF and MIGRATE are
restricted (e.g. on Amazon ElastiCache).
The script scans through the keyspace of the given database number and uses
a pipeline of DUMP and RESTORE commands to migrate the keys.
Requires Redis 2.8.0 or higher.
### Keybase proof
I hereby claim:
* I am prasheen on github.
* I am prasheen (https://keybase.io/prasheen) on keybase.
* I have a public key ASBvvRBGScm2N91t157ZDCzqAtIiyOAZCutGa1_C67XDBgo
To claim this, I am signing this object: