Skip to content

mhkarimi1383/python-redis-migrator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python Redis Migrator

Simple multithreaded redis migrator using python

How to run

  1. install dependencies
$ sudo pip3 install -r requirments.txt
  1. run it
$ ./migrate.py -h
  usage: redis-1.py [-h] [--pool POOL] source destination

  A simple & multithreaded Redis Migrator in python.
  Note -> Connection strings should be in this format: <host>:<port>/<db>
  Critical Note -> You Need memory a little bit highter than data that you want to transfer (You Will not lose your data)

  positional arguments:
    source                Connection string for Source Database
    destination           Connection string for Destination Database

  optional arguments:
    -h, --help            show this help message and exit
    --pool POOL, -p POOL  How many threads to open? Default: 8

TODO

  • Add web GUI (will not do it [it's so hard] but it's a good idea)
  • Add support for authentication

About

Simple multithreaded redis migrator using python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages