Skip to content

Commit 27ba3d7

Browse files
authored
(DOCSP-25788) Restyled and added missing orphan ObjectRocket guide. (#213)
1 parent cc5154d commit 27ba3d7

File tree

3 files changed

+129
-0
lines changed

3 files changed

+129
-0
lines changed
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
:orphan:
2+
:template: guide
3+
4+
.. _guide-migrate-object-rocket:
5+
6+
==========================================
7+
Migrate from ObjectRocket to MongoDB Atlas
8+
==========================================
9+
10+
.. default-domain:: mongodb
11+
12+
.. contents:: On this page
13+
:local:
14+
:backlinks: none
15+
:depth: 1
16+
:class: singlecol
17+
18+
Overview
19+
--------
20+
21+
.. short-description::
22+
23+
Migrate data from Object Rocket to MongoDB Atlas.
24+
25+
Moving your MongoDB deployment to Atlas allows you take advantage
26+
of all the benefits Atlas brings, including best-in-class automation,
27+
backup, scalability, and compliance with the most demanding data
28+
security and privacy standards.
29+
30+
This guide will walk you through how to use the :manual:`mongodump
31+
</reference/program/mongodump/>` and :manual:`mongorestore
32+
</reference/program/mongorestore/>` tools to migrate your data from
33+
ObjectRocket to Atlas.
34+
35+
.. time:: 20
36+
37+
What You'll Need
38+
----------------
39+
40+
.. include:: /includes/migrate_or_prereqs.rst
41+
42+
Procedure
43+
---------
44+
45+
.. include:: /includes/migrate_from_or.rst
46+
47+
Migration Support
48+
-----------------
49+
50+
If you have any questions regarding migration beyond what is covered
51+
in this documentation, or if you encounter an error during migration, please
52+
see the Atlas documentation on
53+
:atlas:`requesting support </support/#request-support>`.
54+
55+
Summary
56+
-------
57+
58+
You created an Atlas cluster, migrated data from your old ObjectRocket
59+
MongoDB cluster, and updated your applications to use the connection string
60+
for your new Atlas cluster.
61+
62+
.. guide-next::

source/includes/migrate_from_or.rst

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
.. procedure::
2+
:style: normal
3+
4+
.. step:: Create an Atlas deployment.
5+
6+
If you don't already have an Atlas deployment, :atlas:`create one
7+
</tutorial/create-new-cluster/>` now.
8+
9+
.. step:: Stop your applications.
10+
11+
Stopping your applications prevents any additional database writes
12+
from occurring while you move your data from ObjectRocket to Atlas.
13+
14+
.. step:: Run ``mongodump`` on your ObjectRocket deployment.
15+
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+
In the following example, a user named ``db_user`` exports all databases
21+
to a directory named ``dump`` in the current working directory:
22+
23+
.. code-block:: shell
24+
25+
mongodump --host iad-mongos2.objectrocket.com --port 12345 --username db_user --password "myPwd" --out dump
26+
27+
.. step:: Use ``mongorestore`` to restore the ``dump`` directory to your
28+
Atlas deployment.
29+
30+
The :manual:`mongorestore documentation </reference/program/mongorestore/>`
31+
contains detailed instructions on using the ``mongorestore`` utility. Use
32+
your Atlas credentials to access your Atlas deployment.
33+
In the following example, a user named ``db_user`` restores the default
34+
``dump`` directory to the host ``example1.mongodb.net``:
35+
36+
.. code-block:: shell
37+
38+
mongorestore --host example1.mongodb.net --port 27017 --username db_user --password "myPwd" dump/
39+
40+
.. step:: Verify your data integrity.
41+
42+
Use the :atlas:`Atlas Data Explorer </data-explorer>`
43+
to verify that all of your collections are present and populate
44+
45+
.. step:: Update your applications with your new connection string.
46+
47+
Click the :guilabel:`Connect` button in the cluster panel for your Atlas
48+
cluster to obtain the connection string to use in your applications.
49+
To learn more about connecting to your Atlas cluster, see
50+
:atlas:`Connect to a Cluster </connect-to-cluster>`.
51+
52+
.. step:: Restart your applications.
53+
54+
You're ready to start using your Atlas deployment.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
* A MongoDB account for Atlas. See :guides:`Sign Up for a MongoDB Account
2+
</cloud/account>`.
3+
4+
* An ObjectRocket MongoDB deployment.
5+
6+
* The ``mongodump`` and ``mongorestore`` executables. See
7+
:dl:`MongoDB server bundle <community>` for your platform and locate
8+
``mongodump`` and ``mongorestore`` in the ``bin`` directory.
9+
10+
.. note::
11+
The time required for this procedure varies according to the
12+
quantity of data you plan to move. Small data sets can be
13+
exported quickly, while larger data sets require more time.

0 commit comments

Comments
 (0)