Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- redis-cli -h IP -a PASSWORD -n DB keys \* | while read line;do redis-cli -h IP -a PASSWORD -n DB dump "$line" | head -c -1 | redis-cli -x -h IP -a PASSWORD -n DB restore "$line" 0;done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement