node-redis-dump
node-redis-dump copied to clipboard
Spamming of "ERR unknown command: 11" when trying to import dump via redis-cli
Node v6.2.0
- redis-dump -h x -p y > db
- cat db | redis-cli -h x -a y
(the same problem occurs if I first go to json, and then --convert)
Had the exact same problem. Luckily for me my redis database was very small (~a dozen keys).
I noticed it seemed to have problems parsing newlines (\n) etc. Maybe it's struggling with the same thing for you.
Use CRLF line endings (windows-style), then it will work like expected.