Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spamming of "ERR unknown command: 11" when trying to import dump via redis-cli #11

Open
patroza opened this issue Jul 1, 2016 · 2 comments

Comments

@patroza
Copy link

patroza commented Jul 1, 2016

Node v6.2.0

  1. redis-dump -h x -p y > db
  2. cat db | redis-cli -h x -a y

(the same problem occurs if I first go to json, and then --convert)

@patroza patroza changed the title ERR unknown command: 11 when trying to import dump via redis-cli Spamming of "ERR unknown command: 11" when trying to import dump via redis-cli Jul 1, 2016
@adam-hanna
Copy link

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.

@smartpunter
Copy link

Use CRLF line endings (windows-style), then it will work like expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants