1
+ title : Create an Atlas deployment
2
+ ref : atlas-deployment
3
+ content : |
4
+ If you don't already have an Atlas deployment, :doc:`create one
5
+ </cloud/atlas>` now.
6
+ ---
7
+ title : Stop your applications
8
+ ref : stop-applications
9
+ content : |
10
+ Stopping your applications prevents any additional databsae writes
11
+ from occurring while you move your data from ObjectRocket to Atlas.
12
+ ---
13
+ title : Run ``mongodump`` on your ObjectRocket deployment
14
+ ref : run-mongodump
15
+ content : |
16
+ ``mongodump`` creates a binary export of the contents of your deployment.
17
+ The :manual:`mongodump documentation </reference/program/mongodump/>`
18
+ contains detailed instructions on using the ``mongodump`` utility. Use
19
+ your ObjectRocket credentials to access your ObjectRocket deployment.
20
+
21
+ In the following example, a user named ``db_user`` exports all databases
22
+ to a directory named ``dump`` in the current working directory:
23
+
24
+ .. code-block:: shell
25
+
26
+ mongodump --host iad-mongos2.objectrocket.com --port 12345 --username db_user --password "myPwd" --out dump
27
+ ---
28
+ title : Use ``mongorestore`` to restore the ``dump`` directory to your Atlas deployment
29
+ ref : restore-dump
30
+ content : |
31
+ The :manual:`mongorestore documentation </reference/program/mongorestore/>`
32
+ contains detailed instructions on using the ``mongorestore`` utility. Use
33
+ your Atlas credentials to access your Atlas deployment.
34
+
35
+ In the following example, a user named ``db_user`` restores the default
36
+ ``dump`` directory to the host ``example1.mongodb.net``:
37
+
38
+ .. code-block:: shell
39
+
40
+ mongorestore --host example1.mongodb.net --port 27017 --username db_user --password "myPwd" dump/
41
+
42
+ ---
43
+ title : Verify your data integrity
44
+ ref : verify-data
45
+ content : |
46
+ Use the `Atlas Data Explorer <https://docs.atlas.mongodb.com/data-explorer>`__
47
+ to verify that all of your collections are present and populated.
48
+ ---
49
+ title : Update your applications with your new connection string
50
+ ref : update-apps
51
+ content : |
52
+ Click the :guilabel:`Connect` button in the cluster panel for your Atlas
53
+ cluster to obtain the connection string to use in your applications.
54
+ To learn more about connecting to your Atlas cluster, see
55
+ `Connect to a Cluster <https://docs.atlas.mongodb.com/connect-to-cluster>`__.
56
+ ---
57
+ title : Restart your applications
58
+ ref : restart-apps
59
+ content : |
60
+ You're ready to start using your Atlas deployment.
61
+ ...
0 commit comments