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

Authentication issue #35

Open
3 tasks done
xakraz opened this issue Jan 21, 2020 · 2 comments
Open
3 tasks done

Authentication issue #35

xakraz opened this issue Jan 21, 2020 · 2 comments

Comments

@xakraz
Copy link

xakraz commented Jan 21, 2020

Report

  • Dump remote Redis with rump and with AUTH to local rump file
$ ./rump -from redis://h:XXXXXXXXXXXX@ec2-XXXXXXXX.compute.amazonaws.com:PORT/0 -to ./hero-redis.rump -ttl

rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

SUCCESS
  • Connect to the destination ElastiCache using redis_uri format and redis-cli
echo $REDIS_URL 
redis://hXXXXXXX@127.0.0.1:6379

redis-cli -u ${REDIS_URL} INFO SERVER
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
# Server
redis_version:4.0.10
redis_git_sha1:0
redis_git_dirty:0
redis_build_id:0
redis_mode:standalone
os:Amazon ElastiCache
...
  • [!] Restore data to the the destination ElastiCache
./rump -from ./hero-redis.rump -to redis://hXXXXXXXXXX@127.0.0.1:6379/0

rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
signal: exit
NOAUTH Authentication required.

Notes

I have seen #26 and I have downloaded rump 1.0.0 from GitHub Release, but still facing the issue

@imanandshah
Copy link

I have the same problem.

./rump-1.0.0-linux-amd64 -from redis://NODEA:6379/1 -to redis://:PASSWORD@NODEB:6379/1

signal: exit
done

@baragona
Copy link

baragona commented Apr 3, 2020

I had to put an extra colon after the //:

redis://:

Then it worked...

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

No branches or pull requests

3 participants