|
| 1 | +title: "Download snapshots." |
| 2 | +optional: true |
| 3 | +stepnum: 1 |
| 4 | +level: 4 |
| 5 | +ref: download-snapshots-mp |
| 6 | +content: | |
| 7 | +
|
| 8 | + If you have backup enabled and want to retain snapshots: |
| 9 | +
|
| 10 | + a. Download any snapshots that you want to keep: |
| 11 | +
|
| 12 | + - :doc:`Download the snapshots for a replica set |
| 13 | + </tutorial/restore-replica-set>`. |
| 14 | + - :doc:`Download the snapshots for a sharded cluster |
| 15 | + </tutorial/restore-sharded-cluster>`. |
| 16 | +
|
| 17 | + #. :ref:`Stop all backups <stop-backup>`. |
| 18 | +
|
| 19 | + .. important:: |
| 20 | + |
| 21 | + All existing snapshots remain available for download until they |
| 22 | + expire, but |onprem| captures no new snapshots. |
| 23 | +
|
| 24 | +--- |
| 25 | +title: "Prepare backup components." |
| 26 | +optional: true |
| 27 | +stepnum: 2 |
| 28 | +level: 4 |
| 29 | +ref: prepare-backup-mp |
| 30 | +content: | |
| 31 | +
|
| 32 | + If you want backup enabled for your MongoDB deployment in the new |
| 33 | + project, :doc:`prepare your backup components |
| 34 | + </core/backup-preparations>`. |
| 35 | +
|
| 36 | +--- |
| 37 | +title: "Prepare the old project." |
| 38 | +stepnum: 3 |
| 39 | +level: 4 |
| 40 | +ref: prepare-old-project-mp |
| 41 | +content: | |
| 42 | +
|
| 43 | + a. :doc:`Deactivate the backup and monitoring {+mdbagent+} functions |
| 44 | + </tutorial/mongodb-agent-functions/>` in the old project. |
| 45 | +
|
| 46 | + #. :doc:`Unmanage the MongoDB deployment in the old project, but continue to monitor it </tutorial/unmanage-deployment>`. |
| 47 | +
|
| 48 | +--- |
| 49 | +title: "Prepare the new project." |
| 50 | +stepnum: 4 |
| 51 | +level: 4 |
| 52 | +ref: prepare-new-project-mp |
| 53 | +content: | |
| 54 | +
|
| 55 | + a. :ref:`Create a new project <create-project>` to use as the |
| 56 | + destination project. |
| 57 | + |
| 58 | + #. Click :guilabel:`Settings` in the left navigation. |
| 59 | +
|
| 60 | + #. Note the :guilabel:`Project ID` value on the |
| 61 | + :guilabel:`Project Settings` tab. |
| 62 | +
|
| 63 | + #. :doc:`Create a new Agent API key </tutorial/manage-agent-api-key>`. |
| 64 | +
|
| 65 | +--- |
| 66 | +title: "Prepare the {+mdbagent+}." |
| 67 | +stepnum: 5 |
| 68 | +level: 4 |
| 69 | +ref: prepare-agent-mp |
| 70 | +edition: onprem |
| 71 | +content: | |
| 72 | +
|
| 73 | + .. note:: |
| 74 | +
|
| 75 | + If you have multiple deployments in your project and a |
| 76 | + {+mdbagent+} installed only on the hosts that you plan to move, |
| 77 | + you must install new agents on servers that you will not move to |
| 78 | + the new project. |
| 79 | +
|
| 80 | + a. :ref:`Stop the {+mdbagent+} <stop-mdb-agent>`. |
| 81 | +
|
| 82 | + #. Edit the :doc:`{+mdbagent+} configuration file |
| 83 | + </reference/mongodb-agent-settings/>` to update the |
| 84 | + :setting:`mmsGroupId` and :setting:`mmsApiKey` settings with the |
| 85 | + values from for the new project. |
| 86 | +
|
| 87 | + #. (Optional) If the new project is a new Ops Manager, update the |
| 88 | + :setting:`mmsBaseUrl` setting. |
| 89 | +
|
| 90 | + #. :ref:`Start the {+mdbagent+} <start-mdb-agent>`. |
| 91 | +
|
| 92 | + The MongoDB deployment servers should appear on the |
| 93 | + :guilabel:`Servers` and :guilabel:`Agents` tabs. |
| 94 | +
|
| 95 | +--- |
| 96 | +title: "Migrate the MongoDB deployment." |
| 97 | +stepnum: 6 |
| 98 | +level: 4 |
| 99 | +ref: migrate-deployment-mp |
| 100 | +content: | |
| 101 | +
|
| 102 | + a. :doc:`Activate the backup and monitoring {+mdbagent+} functions |
| 103 | + </tutorial/mongodb-agent-functions/>` in the new project. |
| 104 | +
|
| 105 | + #. :ref:`Add the MongoDB deployment to your new project |
| 106 | + <add-existing-mongodb-hosts>`. |
| 107 | +
|
| 108 | + #. (Optional) :doc:`Start backups |
| 109 | + </tutorial/stop-restart-terminate-backup>`. |
| 110 | +
|
| 111 | +--- |
| 112 | +title: "Remove the old project." |
| 113 | +optional: true |
| 114 | +stepnum: 7 |
| 115 | +level: 4 |
| 116 | +ref: remove-project-mp |
| 117 | +content: | |
| 118 | +
|
| 119 | + .. warning:: |
| 120 | +
|
| 121 | + This step permanetly deletes your old project and its related |
| 122 | + artifacts. |
| 123 | +
|
| 124 | + a. :ref:`Terminate all backups <terminate-backup>` in the old project. |
| 125 | +
|
| 126 | + .. important:: |
| 127 | +
|
| 128 | + If you don't terminate all backups in the old project, all |
| 129 | + existing snapshots remain available for download until they |
| 130 | + expire and occupy disk space. You can't remove the MongoDB |
| 131 | + deployment and delete the old project unless your terminate all |
| 132 | + backups. |
| 133 | +
|
| 134 | + #. :doc:`Completely remove the MongoDB deployment |
| 135 | + </tutorial/unmanage-deployment>` from the old project. |
| 136 | +
|
| 137 | + #. :ref:`Delete the old project <delete-project>`. |
| 138 | +
|
| 139 | +... |
0 commit comments