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?
ah, thank you , I can see the string if I change the mongo shell version to version “3.4 or earlier”, it will show 3 hosts and ports, as well as the replica set name.
MongoDB should update this doc though, which doesn’t say how to find this multiple hosts connection string anywhere.