|
1 |
| -* **Your data is currently in a MongoDB database.** |
| 1 | +* Your data is currently in a MongoDB database. |
2 | 2 |
|
3 | 3 | This guide focuses on migrating to Atlas from an existing MongoDB deployment
|
4 | 4 | on AWS. If you have data in other database systems, such as MySQL, PostgreSQL, or
|
5 | 5 | DynamoDB, please `contact us <https://mongodbcom-node-staging-2.corp.mongodb.com/contact>`_
|
6 | 6 | for help with your migration.
|
7 | 7 |
|
8 |
| -* **Your current MongoDB database is running MongoDB 2.6 or higher.** |
| 8 | +* Your current MongoDB database is running MongoDB 2.6 or higher. |
9 | 9 |
|
10 | 10 | Atlas supports the latest versions of MongoDB: 3.4, 3.6, and 4.0.
|
11 | 11 | If you're running MongoDB version 2.6 or greater, the Atlas Live Migration
|
|
16 | 16 | `Upgrade MongoDB to 2.6 <https://docs.mongodb.com/v2.6/release-notes/2.6-upgrade/index.html>`_
|
17 | 17 | for upgrade instructions.
|
18 | 18 |
|
19 |
| -* **Your current deployment is a MongoDB replica set or sharded cluster.** |
| 19 | +* Your current deployment is a MongoDB replica set or sharded cluster. |
20 | 20 |
|
21 | 21 | If your deployment is currently a standalone instance, you must first
|
22 | 22 | :manual:`convert it to a replica set </tutorial/convert-standalone-to-replica-set>`.
|
23 | 23 | Live migration of data from sharded clusters is not supported.
|
24 | 24 |
|
25 |
| -* **(Optional) Enabled authentication on your source deployment.** |
| 25 | +* (Optional) Enabled authentication on your source deployment. |
26 | 26 |
|
27 | 27 | The migration process requires that authentication is enabled on your
|
28 | 28 | source cluster in AWS. See :manual:`Enable Auth </tutorial/enable-authentication>`
|
|
34 | 34 |
|
35 | 35 | mongo <mongodb-connection-string> -u <mongodb-username> -p --authenticationDatabase admin
|
36 | 36 |
|
37 |
| -* **The database user from your source cluster on AWS that you will use to perform the migration has the required MongoDB roles.** |
| 37 | +* The database user from your source cluster on AWS that you will use to perform the migration has the required MongoDB roles. |
38 | 38 |
|
39 |
| - The user must have the :authrole:`clusterMonitor` and :authrole:`backup` roles. To verify |
40 |
| - that the database user that you intend to use for migration has the appropriate |
41 |
| - roles, run the :manual:`db.getUser() </reference/method/db.getUser>` command against the admin database. |
42 |
| - |
43 |
| - .. code-block:: javascript |
44 |
| -
|
45 |
| - use admin |
46 |
| - db.getUser("admin") |
47 |
| - { |
48 |
| - "_id" : "admin.admin", |
49 |
| - "user" : "admin", |
50 |
| - "db" : "admin", |
51 |
| - "roles" : [ |
52 |
| - { |
53 |
| - "role" : "backup", |
54 |
| - "db" : "admin" |
55 |
| - }, |
56 |
| - { |
57 |
| - "role" : "clusterMonitor", |
58 |
| - "db" : "admin" |
59 |
| - } |
60 |
| - ] |
61 |
| - } ... |
| 39 | + The user must have the :authrole:`clusterMonitor` and :authrole:`backup` roles. To verify |
| 40 | + that the database user that you intend to use for migration has the appropriate |
| 41 | + roles, run the :manual:`db.getUser() </reference/method/db.getUser>` command against the admin database. |
| 42 | + |
| 43 | + .. code-block:: javascript |
| 44 | +
|
| 45 | + use admin |
| 46 | + db.getUser("admin") |
| 47 | + { |
| 48 | + "_id" : "admin.admin", |
| 49 | + "user" : "admin", |
| 50 | + "db" : "admin", |
| 51 | + "roles" : [ |
| 52 | + { |
| 53 | + "role" : "backup", |
| 54 | + "db" : "admin" |
| 55 | + }, |
| 56 | + { |
| 57 | + "role" : "clusterMonitor", |
| 58 | + "db" : "admin" |
| 59 | + } |
| 60 | + ] |
| 61 | + } ... |
0 commit comments