Skip to content

pj1987111/redis-dumpload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

redis-dumpload

====================

dump redis in json and and reload into redis using python

1:dump redis data to file

dump from host db0

python redis-dump.py -H 127.0.0.1 -p 6379 -w passwd -d 0 -o road.txt

key filter with road_*:

python redis-dump.py -H 127.0.0.1 -p 6379 -w passwd -d 0 -k road_* -o road.txt

2:load data into redis db0 from dumped file

python redis-load.py -H 127.0.0.1 -p 6379 -w passwd -d 0 road.txt

About

redis dump and load data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages