Advertisement
Guest User

Untitled

a guest
May 20th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. 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