-
Notifications
You must be signed in to change notification settings - Fork 23.6k
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
(error) ERR DUMP payload version or checksum are wrong #3348
Comments
Hey @xiajian |
Hey @rojingeorge At First, I guess maybe something wrong in my machine. Then ,I execute the following command line in remote server 1 (Centos 6.5, redis-cli 3.0.7), remote server 2 ( Ubuntu 14.04.4 LTS (GNU/Linux 3.13.0-79-generic x86_64, redis 2.8.4).
It still happened!! So,I guess it maybe something wrong in commandline or something wrong in redis. And, I learn the above command line from http://stackoverflow.com/questions/16127682/how-to-use-redis-dump-and-restore-offline. |
If you pipe the output of
|
Oh, It work! Thank you for your advice. |
The dump content may contain newline, so it's safer to use Full example: Credited to StackOverflow |
what if i excute like a linux shell file,#!/bin/bash
|
if the value contains |
Can you give an example ? |
I have a problem, which when I run the following command:
It always happen to this problem: (error) ERR DUMP payload version or checksum are wrong, and I still remember that two weeks ago it was normal.
I am working in OS X 10.11.4, and I use homebrew install redis, and redis-cli version is
3.2.0
。I google it , but I only find this Error appeared in http://redis.io/commands/restore。
In fact, My origin intention is that dump key from my machine , then scp dump file to remote server, then restore this key in remote server.
Sorry for poor English。
The text was updated successfully, but these errors were encountered: