redis单个db迁移
#!/bin/bashredis-cli -h 127.0.0.1 -p 6379 -a password -n 0 keys "*" | while read keydo redis-cli -h 127.0.0.1 -p 6379 -a password -n 0 --raw dump $key| perl -pe 'chomp if eof'|redis-cli -h 1...