@@ -44,8 +44,8 @@ following command on one line:
4444.. code-block :: shell
4545
4646 mongosync \
47- --cluster0 ' mongodb://clusterAdmin:[email protected] :20020,clusterOne02.fancyCorp.com:20020,clusterOne03.fancyCorp.com:20020' \ 48- --cluster1 ' mongodb://clusterAdmin:[email protected] :20020,clusterTwo02.fancyCorp.com:20020,clusterTwo03.fancyCorp.com:20020' 47+ --cluster0 " mongodb://clusterAdmin:[email protected] :20020,clusterOne02.fancyCorp.com:20020,clusterOne03.fancyCorp.com:20020" \ 48+ --cluster1 " mongodb://clusterAdmin:[email protected] :20020,clusterTwo02.fancyCorp.com:20020,clusterTwo03.fancyCorp.com:20020" 4949
5050 Atlas clusters require TLS connections. To use ``mongosync `` with Atlas
5151clusters, you add the :urioption: `tls=true <tls> ` option. For example,
@@ -54,8 +54,8 @@ to connect to the ``admin`` database on ``cluster0`` and ``cluster1``:
5454.. code-block :: shell
5555
5656 mongosync \
57- --cluster0 ' mongodb://clusterAdmin:[email protected] :20020,clusterOne02.fancyCorp.com:20020,clusterOne03.fancyCorp.com:20020/admin?tls=true' \ 58- --cluster1 ' mongodb://clusterAdmin:[email protected] :20020,clusterTwo02.fancyCorp.com:20020,clusterTwo03.fancyCorp.com:20020/admin?tls=true' 57+ --cluster0 " mongodb://clusterAdmin:[email protected] :20020,clusterOne02.fancyCorp.com:20020,clusterOne03.fancyCorp.com:20020/admin?tls=true" \ 58+ --cluster1 " mongodb://clusterAdmin:[email protected] :20020,clusterTwo02.fancyCorp.com:20020,clusterTwo03.fancyCorp.com:20020/admin?tls=true" 5959
6060 You can also use ``mongodb+srv `` connection strings with ``mongosync ``.
6161You do not need to add the :urioption: `tls=true <tls> ` option to a
@@ -64,8 +64,8 @@ You do not need to add the :urioption:`tls=true <tls>` option to a
6464.. code-block :: shell
6565
6666 mongosync \
67- --cluster0 ' mongodb+srv://clusterAdmin:[email protected] :20020/' \ 68- --cluster1 ' mongodb+srv://clusterAdmin:[email protected] :20020/' 67+ --cluster0 " mongodb+srv://clusterAdmin:[email protected] :20020/" \ 68+ --cluster1 " mongodb+srv://clusterAdmin:[email protected] :20020/" 6969
7070 For more details about ``mongodb+srv `` connection strings, see
7171:ref: `connections-dns-seedlist `.
0 commit comments