|
| 1 | +.. _third-party-backup: |
| 2 | + |
| 3 | +============================================= |
| 4 | +Backup and Restore with Third-Party Platforms |
| 5 | +============================================= |
| 6 | + |
| 7 | +.. meta:: |
| 8 | + :description: Understand the third-party platform integration options for backup and restore operations with Ops Manager. |
| 9 | + |
| 10 | +.. default-domain:: mongodb |
| 11 | + |
| 12 | +.. contents:: On this page |
| 13 | + :local: |
| 14 | + :backlinks: none |
| 15 | + :depth: 1 |
| 16 | + :class: singlecol |
| 17 | + |
| 18 | +To enable reuse of existing third-party backup solutions, you can |
| 19 | +integrate {+onprem+} with one of the following third-party backup |
| 20 | +platforms that support certified MongoDB cluster snapshot backups and |
| 21 | +restores with secure and scalable storage (including cold storage), |
| 22 | +immutability enforcement, and compliance policy support: |
| 23 | + |
| 24 | +- {+cohesity-link+} |
| 25 | +- {+rubrik-link+} |
| 26 | + |
| 27 | +With these integrations, you can coordinate scheduled or on-demand |
| 28 | +backups and restores of your MongoDB clusters directly from your |
| 29 | +third-party management console to streamline your backup, retention, and |
| 30 | +recovery operations across data platforms without the complexity and |
| 31 | +additional operational costs of managing {+onprem+} at backup scale. |
| 32 | + |
| 33 | +To begin the backup or restore process, the third-party backup |
| 34 | +platform calls the {+admin-api+} to put your MongoDB cluster into a |
| 35 | +backup-ready or restore-ready state. The third-party platform handles |
| 36 | +all backup or restore operations, before it calls the {+admin-api+} |
| 37 | +again to return the cluster to a normal running state. |
| 38 | + |
| 39 | +While |mdb-support| can help you configure the integration points in |
| 40 | +{+onprem+}, contact your third-party vendor for functionality or |
| 41 | +performance issues related to the backup and restore process. |
| 42 | + |
| 43 | +.. note:: |
| 44 | + |
| 45 | + Third-party backups can't run alongside {+onprem+}'s native backup |
| 46 | + process on the same cluster. However, you can run both types of |
| 47 | + backups in separate clusters within the same project for a flexible |
| 48 | + resilience strategy. |
| 49 | + |
| 50 | +Prerequisites |
| 51 | +------------- |
| 52 | + |
| 53 | +- Your {+onprem+} project must run {+onprem-full+} version 8.0.8 or |
| 54 | + later to integrate with third-party backup platforms. |
| 55 | + |
| 56 | +- See your vendor's documentation for the tooling version to use. |
| 57 | + |
| 58 | +- Synchronize the clocks across all of your host machines |
| 59 | + before you configure {+onprem+} for third-party backup integration. |
| 60 | + To learn more, see :manual:`Clock Synchronization |
| 61 | + </administration/production-notes/#clock-synchronization>`. |
| 62 | + |
| 63 | +Integrate {+onprem+} with a Third-Party Backup Platform |
| 64 | +-------------------------------------------------------- |
| 65 | + |
| 66 | +Complete the following preliminary setup in {+onprem+} before you go to |
| 67 | +your third-party platform to finish setting up your integration: |
| 68 | + |
| 69 | +.. procedure:: |
| 70 | + :style: normal |
| 71 | + |
| 72 | + .. step:: Generate API keys for the {+admin-api+}. |
| 73 | + |
| 74 | + To grant the appropriate level of {+admin-api+} access to your |
| 75 | + third-party vendor, you must generate either a global or |
| 76 | + project-level API key in {+onprem+}. |
| 77 | + |
| 78 | + See your third-party vendor's documentation to determine which |
| 79 | + level of API access is necessary for your integration. |
| 80 | + |
| 81 | + .. tabs:: |
| 82 | + |
| 83 | + .. tab:: Global API Access |
| 84 | + :tabid: global |
| 85 | + |
| 86 | + To generate an API key for global {+admin-api+} access: |
| 87 | + |
| 88 | + a. In the {+onprem+} :guilabel:`Admin` console, click |
| 89 | + :guilabel:`General` and :guilabel:`API Keys`. |
| 90 | + |
| 91 | + #. Click the :guilabel:`Create API Key` button. |
| 92 | + |
| 93 | + #. In the :guilabel:`Enter API Key Information` modal, |
| 94 | + provide a description for your API key and select |
| 95 | + :guilabel:`Global Backup Admin` from the |
| 96 | + :guilabel:`Global Permissions` drop-down menu. |
| 97 | + |
| 98 | + #. Click the ``Next`` button. |
| 99 | + |
| 100 | + #. Copy the :guilabel:`Public Key` and :guilabel:`Private Key` |
| 101 | + and store them in a secure location. |
| 102 | + |
| 103 | + Each API request requires these keys in the header to |
| 104 | + securely communicate with {+onprem+}. |
| 105 | + |
| 106 | + #. Click :guilabel:`Done`. |
| 107 | + |
| 108 | + .. tab:: Project-Level API Access |
| 109 | + :tabid: project |
| 110 | + |
| 111 | + To generate an API key for project-level {+admin-api+} access: |
| 112 | + |
| 113 | + a. In your {+onprem+} project, expand the |
| 114 | + :guilabel:`Access Manager` drop-down menu and select |
| 115 | + :guilabel:`Project Access`. |
| 116 | + |
| 117 | + #. Click the :guilabel:`API Keys` tab. |
| 118 | + |
| 119 | + #. Click the :guilabel:`Create API Key` button. |
| 120 | + |
| 121 | + #. In the :guilabel:`Enter API Key Information` modal, |
| 122 | + provide a description for your API key and select |
| 123 | + :guilabel:`Project Backup Admin` from the |
| 124 | + :guilabel:`Project Permissions` drop-down menu. |
| 125 | + |
| 126 | + #. Click the ``Next`` button. |
| 127 | + |
| 128 | + #. Copy the :guilabel:`Public Key` and :guilabel:`Private Key` |
| 129 | + and store them in a secure location. |
| 130 | + |
| 131 | + Each API request requires these keys in the header to |
| 132 | + securely communicate with {+onprem+}. |
| 133 | + |
| 134 | + #. Click :guilabel:`Done`. |
| 135 | + |
| 136 | + To learn more about {+admin-api+} access, see :ref:`mms-prog-api-key`. |
| 137 | + |
| 138 | + .. step:: Enable third-party backup in the {+onprem+} configuration. |
| 139 | + |
| 140 | + a. In the {+onprem+} :guilabel:`Admin` console, click |
| 141 | + :guilabel:`General` and :guilabel:`Ops Manager Config`. |
| 142 | + |
| 143 | + #. Click the :guilabel:`Custom` tab. |
| 144 | + |
| 145 | + #. Add one of the following key and value pairs to enable |
| 146 | + third-party backup at the global or project level. |
| 147 | + |
| 148 | + See your third-party vendor's documentation to determine which |
| 149 | + level of access is necessary for your integration. |
| 150 | + |
| 151 | + .. list-table:: |
| 152 | + :header-rows: 1 |
| 153 | + :widths: 20 40 40 |
| 154 | + |
| 155 | + * - Access Level |
| 156 | + - Key |
| 157 | + - Value |
| 158 | + |
| 159 | + * - Project |
| 160 | + - ``mms.featureFlag.backup.thirdPartyManaged`` |
| 161 | + - ``controlled`` |
| 162 | + |
| 163 | + * - Global |
| 164 | + - ``mms.featureFlag.backup.thirdPartyManaged`` |
| 165 | + - ``enabled`` |
| 166 | + |
| 167 | + #. Click :guilabel:`Save` to enable third-party backup. |
| 168 | + |
| 169 | + .. step:: (Conditional) Enable third-party backup in the {+onprem+} project settings. |
| 170 | + |
| 171 | + If you enabled third-party backup at the project level in the |
| 172 | + previous step, you must enable third-party backup in your MongoDB |
| 173 | + project settings: |
| 174 | + |
| 175 | + a. In your {+onprem+} project, click :guilabel:`Settings`. |
| 176 | + |
| 177 | + #. Click the :guilabel:`Beta Features` tab, and click |
| 178 | + :guilabel:`Backup Third Party Managed`. |
| 179 | + |
| 180 | + .. step:: Install {+mdbagent+}s on every server in the cluster. |
| 181 | + |
| 182 | + If not already installed, install {+mdbagent+}s on every server in |
| 183 | + each MongoDB cluster that you want to back up: |
| 184 | + |
| 185 | + a. In your {+onprem+} project, click :guilabel:`Deployment`, the |
| 186 | + :guilabel:`Agents` tab, and the |
| 187 | + :guilabel:`Downloads & Settings` tab. |
| 188 | + |
| 189 | + #. Select your host machine's operating system from the |
| 190 | + :guilabel:`Select your operating system` drop-down menu. |
| 191 | + |
| 192 | + #. Follow the instructions to install a {+mdbagent+} on each of |
| 193 | + the MongoDB servers that you want to back up. |
| 194 | + |
| 195 | + To learn more, see :ref:`automation-agent-install-steps-manage`. |
| 196 | + |
| 197 | + .. step:: Set an oplog file path for third-party backup. |
| 198 | + |
| 199 | + To set an directory for {+mdbagent+} oplog output: |
| 200 | + |
| 201 | + a. In the {+onprem+} :guilabel:`Admin` console, click |
| 202 | + :guilabel:`General` and :guilabel:`Ops Manager Config`. |
| 203 | + |
| 204 | + #. Click the :guilabel:`Custom` tab, and add the following key and |
| 205 | + value pair: |
| 206 | + |
| 207 | + .. list-table:: |
| 208 | + :header-rows: 1 |
| 209 | + :widths: 50 50 |
| 210 | + |
| 211 | + * - Key |
| 212 | + - Value |
| 213 | + |
| 214 | + * - ``brs.thirdparty.baseOplogFilePath`` |
| 215 | + - Path to a directory that the {+mdbagent+} can access. |
| 216 | + |
| 217 | + #. Click :guilabel:`Save` to add your file path parameter. |
| 218 | + |
| 219 | + #. For each {+mdbagent+} that you set up previously, |
| 220 | + verify that the Agent can read and write to the oplog directory. |
| 221 | + |
| 222 | + For verification methods, see your operating system's |
| 223 | + documentation. |
| 224 | + |
| 225 | + .. step:: Enable monitoring and backup on every server in the cluster. |
| 226 | + |
| 227 | + In your {+onprem+} project, click :guilabel:`Deployment`, and |
| 228 | + the :guilabel:`Servers` tab to view the MongoDB cluster |
| 229 | + servers that your {+onprem+} project manages. |
| 230 | + |
| 231 | + For each server: |
| 232 | + |
| 233 | + a. Click the :icon-mms:`ellipsis` menu next to your target |
| 234 | + server's {+mdbagent+}. |
| 235 | + |
| 236 | + #. Click :guilabel:`Activate Monitoring` and |
| 237 | + :guilabel:`Activate Backup`. |
| 238 | + |
| 239 | + #. Click :guilabel:`Review & Deploy`. |
| 240 | + |
| 241 | + The :guilabel:`Review Your Changes` modal appears. |
| 242 | + |
| 243 | + #. After you review your changes, click |
| 244 | + :guilabel:`Confirm & Deploy`. |
| 245 | + |
| 246 | + .. step:: Set continuous backup to third-party managed. |
| 247 | + |
| 248 | + a. In your {+onprem+} project, click :guilabel:`Continuous Backup`. |
| 249 | + |
| 250 | + #. Hover over the :guilabel:`Status` column for the target |
| 251 | + sharded cluster or replica set and click :guilabel:`Manage`. |
| 252 | + |
| 253 | + #. In the ensuing modal, click :guilabel:`Manage`. |
| 254 | + |
| 255 | + The cluster's :guilabel:`Continuous Backup` status changes to |
| 256 | + :guilabel:`Third Party Managed`. |
| 257 | + |
| 258 | + .. step:: Finish integrating with your third-party platform. |
| 259 | + |
| 260 | + To finish integrating {+onprem+} with your third-party backup |
| 261 | + platform, see your vendor's documentation: |
| 262 | + |
| 263 | + - {+cohesity-link+} |
| 264 | + - {+rubrik-link+} |
0 commit comments