I am trying to sync our local replica set to mongo atlas with the mongomirror
tool. We have created a M10 and the connect string is like this:
mongo+srv://user:pwd@cluster0.abcde.mongodb.net/
And according to the mongomirror doc here, the --destination
parameter needs to be in a format of <RSname>/<host1>:<port1>,<host2>:<port2>,<host3>:<port3>
. Given I only have one connection string shown above, how do I set the RSname, host1, port1, host2, port2, etc parameter for the --destination
parameter? Is it --destination=cluster0/abcde.mongodb.net
without the needs to specify port1, host2, port2, etc?
Thank you in advance