You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to replicate a redis database to ElastiCache with the latest Riot version (4.0.4), but the syntax seems to be wrong, and I can't figure out the right one.
So, if you type riot replicate --help, Ill get this as referene:
$ ./riot replicate --help
Usage: riot replicate [OPTIONS] SOURCE TARGET
Replicate a Redis database into another Redis database.
SOURCE Source server URI.
TARGET Target server URI.
...
Then it starts complainint about not being able to convert the endpoint into redis URI, but eventually I end up with the following command that seems to be the right one, but it is not, as it returns the 0/0.
I tried to replicate a redis database to ElastiCache with the latest Riot version (4.0.4), but the syntax seems to be wrong, and I can't figure out the right one.
So, if you type
riot replicate --help
, Ill get this as referene:Then it starts complainint about not being able to convert the endpoint into redis URI, but eventually I end up with the following command that seems to be the right one, but it is not, as it returns the 0/0.
I added the
-i
flag, and it sets up 127.0.0.1 as host!?[main] INFO com.redis.riot.Replicate - Creating source Redis client with RedisClientBuilder [uri=redis://1.2.3.4, host=127.0.0.1, port=6379, socket=null, username=null, password=null, timeout=PT1M, database=0, clientName=RIOT4.0.4, tls=false, verifyMode=FULL, cluster=false, autoReconnect=true, protocolVersion=RESP3]
It also sets database to be
0
. I don't seem to have flags to edit these parameters. there is nohost
parameter in the new version,port
,db
, etc.I ended up downloading 3.2.3 to get the job done.
Could you let me know what's the right command to replicate two databases with the v4?
The text was updated successfully, but these errors were encountered: