rump icon indicating copy to clipboard operation
rump copied to clipboard

Authentication issue

Open xakraz opened this issue 4 years ago • 2 comments

  • [x] I have read the contributing guide.

Report

  • [x] Dump remote Redis with rump and with AUTH to local rump file
$ ./rump -from redis://h:[email protected]:PORT/0 -to ./hero-redis.rump -ttl

rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

SUCCESS
  • [x] Connect to the destination ElastiCache using redis_uri format and redis-cli
echo $REDIS_URL 
redis://[email protected]: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://[email protected]:6379/0

rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
signal: exit
NOAUTH Authentication required.

Notes

I have seen https://github.com/stickermule/rump/issues/26 and I have downloaded rump 1.0.0 from GitHub Release, but still facing the issue

xakraz avatar Jan 21 '20 16:01 xakraz

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

imanandshah avatar Feb 21 '20 10:02 imanandshah

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

redis://:

Then it worked...

baragona avatar Apr 03 '20 01:04 baragona