Skip to content

14 files changed

+213
-10
lines changed

source/admin/admin-tab-backup.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,5 @@ For an overview of Backup and Backup resources, see
3232
/admin/backup/daemons-page
3333
/admin/backup/snapshot-storage-page
3434
/admin/backup/oplog-stores-page
35+
/admin/backup/deployment-regions-page
3536

source/admin/backup/daemons-page.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ configure daemons:
102102
a threshold of 1 :abbr:`GBph (Gigabytes per hour)`, or
103103
- |mms| has no available |hdd| daemon to handle the job.
104104

105+
* - Deployment Id
106+
- Unique identifier of the :ref:`Deployment Region <deployment-regions-interface>`
107+
in which to run the daemon.
108+
105109
* - Assignment Labels
106110
- Type one or more labels that can be used to assign the daemon
107111
to a specific project.
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
.. _deployment-regions-interface:
2+
3+
==================
4+
Deployment Regions
5+
==================
6+
7+
.. default-domain:: mongodb
8+
9+
.. contents:: On this page
10+
:local:
11+
:backlinks: none
12+
:depth: 2
13+
:class: singlecol
14+
15+
|onprem| supports backup regionalization, which allows each cluster or
16+
shard to read from and write to snapshot stores in a region you
17+
choose. To enable regionalized backup, you must configure deployment
18+
regions. You then bind backup resources such as :ref:`snapshot stores
19+
<blockstores-page>` or :opsmgr:`backup daemons
20+
</reference/glossary/#std-term-Backup-Daemon>` to these deployment
21+
regions.
22+
23+
The deployment region page lists all available deployment regions, and
24+
allows you to define new deployment regions.
25+
26+
.. important::
27+
28+
Regional backups ensure storage isolation of cluster data
29+
backup. Backup metadata, monitoring, and other |onprem| data not
30+
related to the specific cluster backup data can still move across
31+
regions depending on your |onprem| deployment configuration.
32+
33+
To ensure data isolation during restore procedures, you must
34+
execute restores only against endpoints in that deployment's
35+
configured deployment region. This requirement applies when you
36+
restore replica sets and sharded clusters, as well as queryable
37+
restores.
38+
39+
To fulfill backup data sovereignty requirements, you must ensure
40+
that you configure all backup and restore endpoints correctly and a
41+
user doesn't request an operation that causes backup data to move
42+
across regions.
43+
44+
To further protect against unintentional cross-region backup or
45+
restore, consider configuring network restrictions for your data
46+
centers.
47+
48+
49+
To define a new deployment region:
50+
51+
.. procedure::
52+
:style: normal
53+
54+
.. step:: Click :guilabel:`Add New Deployment Region`.
55+
56+
.. step:: Configure the deployment region.
57+
58+
In the :guilabel:`Set up a Deployment Region`
59+
window, provide values for the following fields:
60+
61+
.. list-table::
62+
:widths: 40 60
63+
:header-rows: 1
64+
65+
* - Field
66+
- Value
67+
68+
* - Deployment ID
69+
- Unique identifier that references this deployment region
70+
in configurations.
71+
72+
* - Ingestion Endpoint
73+
- |onprem| instance to which the
74+
:opsmgr:`Backup Agent </reference/glossary/#std-term-backup-agent>`
75+
writes snapshot or oplog data.
76+
77+
* - Restore Endpoint
78+
- |onprem| instance that serves restore requests.
79+
80+
* - Queryable Proxy Server Endpoint
81+
- |onprem| instance that serves
82+
:opsmgr:`Queryable Backup </reference/glossary/#std-term-queryable-backup>`
83+
requests.
84+
85+
* - Deployment Description
86+
- String that describes the purpose of the deployment region.
87+
88+
.. step:: Click :guilabel:`Confirm`.

source/core/backup-overview.txt

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@ Backup Process
1010
:depth: 1
1111
:class: singlecol
1212

13-
Backups depend upon which
14-
:manual:`version of MongoDB your database is compatible </reference/command/setFeatureCompatibilityVersion>`.
15-
This Feature Compatibility Version ranges from the current version to
16-
one version earlier. For MongoDB 4.2, the FCV can be ``4.0`` or
17-
``4.2``.
13+
Backups depend upon which :manual:`version of MongoDB your database is
14+
compatible </reference/command/setFeatureCompatibilityVersion>`. This
15+
Feature Compatibility Version ranges from the current version to one
16+
version earlier. For MongoDB 4.2, the FCV can be ``4.0`` or ``4.2``.
1817

1918
.. tabs::
2019

@@ -72,6 +71,14 @@ The following table lists the states of a backup job:
7271
- No
7372
- No
7473

74+
* - ``Misconfigured``
75+
- Yes
76+
- No
77+
78+
.. note::
79+
80+
The ``Misconfigured`` state applies only to :ref:`regional-backup`.
81+
7582
.. tab:: FCV 4.0 or earlier
7683
:tabid: fcv40
7784

@@ -145,3 +152,17 @@ Once created, a backup job goes through the following process flow:
145152
**Subsequent Backups**
146153

147154
.. include:: /includes/backup/legacy-process-subsequent-backup.rst
155+
156+
.. _regional-backup:
157+
158+
Regional Backup
159+
---------------
160+
161+
You can assign backup jobs to :ref:`deployment-regions-interface` to
162+
promote data isolation. When you assign a backup job to a deployment
163+
region, |onprem| writes all snapshots, oplogs, and sync data that the
164+
job generates to the relevant storage configured for that
165+
region. Regional backup is available for replica sets and sharded
166+
clusters. To enable regional backup for a sharded cluster, you must
167+
assign deployment regions and initiate backup jobs for each shard
168+
separately.

source/core/backup-preparations.txt

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,43 @@ data loss or orphaned data.
537537
Snapshots when Agent Can't Contact a ``mongod``
538538
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
539539

540-
For :manual:`sharded clusters </reference/glossary/#std-term-sharded-cluster>`, if the {+bagent+} can't
541-
reach a :manual:`mongod </reference/program/mongod/#mongodb-binary-bin.mongod>` process, whether a shard or config server, then
542-
the agent can't insert a synchronization :manual:`oplog </reference/glossary/#std-term-oplog>` token. In these
543-
cases, |mms| doesn't create the snapshot and displays a warning message.
540+
For :manual:`sharded clusters
541+
</reference/glossary/#std-term-sharded-cluster>`, if the {+bagent+}
542+
can't reach a :manual:`mongod
543+
</reference/program/mongod/#mongodb-binary-bin.mongod>` process,
544+
whether a shard or config server, then the agent can't insert a
545+
synchronization :manual:`oplog </reference/glossary/#std-term-oplog>`
546+
token. In these cases, |mms| doesn't create the snapshot and displays
547+
a warning message.
548+
549+
.. _regional-backup-considerations:
550+
551+
Regional Backup Considerations
552+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
553+
554+
To enable :ref:`regional-backup` you must associate at least one
555+
of the following with the :ref:`deployment region
556+
<deployment-regions-interface>` that a replica set or shard targets:
557+
558+
- :ref:`manage-snapshot-blockstore`
559+
560+
- :ref:`manage-s3-snapshot-store`
561+
562+
- :ref:`manage-snapshot-filestore`
563+
564+
Additionally, you must associate one of each of the following items
565+
with a deployment region:
566+
567+
- :ref:`oplog-stores-page`
568+
- :opsmgr:`sync store </reference/glossary/#std-term-sync-store>`
569+
(unless you set ``mms.backup.noSyncState`` to ``true``)
570+
- :opsmgr:`backup daemons
571+
</reference/glossary/#std-term-Backup-Daemon>`
572+
573+
If you add a shard to a sharded cluster after you enable regional
574+
backup for that sharded cluster, you must assign a deployment region
575+
to the new shard to continue the backup jobs for the existing
576+
shards. Until you assign a deployment region to the new shard, the
577+
entire sharded cluster backup job has a ``Misconfigured`` state and
578+
doesn't generate new snapshots. A sharded cluster with a
579+
``Misconfigured`` state continues to generate oplog entries.

source/includes/steps-admin-add-blockstore.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,11 @@ content: |
9393
For proper syntax, see :manual:`Connection String URI
9494
Format </reference/connection-string>` in the MongoDB manual.
9595
96+
* - Deployment Id
97+
- Optional
98+
- Unique identifier of the :ref:`Deployment Region <deployment-regions-interface>`
99+
in which to host the database.
100+
96101
* - Encrypted Credentials
97102
- Optional
98103
- Select if the Username and Password for the database were

source/includes/steps-admin-add-oplogstore.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ content: |
9494
:manual:`Connection String URI
9595
Format </reference/connection-string>` in the MongoDB manual.
9696
97+
* - Deployment Id
98+
- Optional
99+
- Unique identifier of the :ref:`Deployment Region <deployment-regions-interface>`
100+
in which to host the oplog store.
101+
97102
* - Encrypted Credentials
98103
- Optional
99104
- Select if the credentials for the database were encrypted

source/includes/steps-admin-add-s3-blockstore.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,11 @@ content: |
168168
For proper syntax, see :manual:`Connection String URI
169169
Format </reference/connection-string>` in the MongoDB manual.
170170
171+
* - Deployment Id
172+
- Optional
173+
- Unique identifier of the :ref:`Deployment Region <deployment-regions-interface>`
174+
in which to host the bucket.
175+
171176
* - Encrypted Credentials
172177
- Optional
173178
- Select if the credentials for the database were encrypted

source/includes/steps-admin-add-s3-oplogstore.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,11 @@ content: |
183183
For proper syntax, see :manual:`Connection String URI
184184
Format </reference/connection-string>` in the MongoDB manual.
185185
186+
* - Deployment Id
187+
- Optional
188+
- Unique identifier of the :ref:`Deployment Region <deployment-regions-interface>`
189+
in which to host the bucket.
190+
186191
* - Encrypted Credentials
187192
- Optional
188193
- Select if the credentials for the database were encrypted

source/includes/steps-create-backup-wt.yaml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,23 @@ content: |
2626
2727
.. include:: /includes/list-table-edit-backup-host-credentials-ui.rst
2828
---
29-
title: "Click :guilabel:`Start`."
29+
title: "(Conditional) Assign Deployment Regions for Regional Backup."
3030
stepnum: 4
31+
ref: select-deployment-regions
32+
content: |
33+
34+
If you want to enable :ref:`regional-backup` for your replica set
35+
or sharded cluster, assign :ref:`deployment regions
36+
<deployment-regions-interface>`. For a sharded cluster, you must assign
37+
a deployment region to each shard.
38+
---
39+
title: "Click :guilabel:`Start`."
40+
stepnum: 5
3141
ref: start-the-backup
42+
content: |
43+
44+
If you enabled regional backup for your sharded cluster, click
45+
:guilabel:`Start` for each shard separately to initiate distinct backup
46+
jobs for each. If you initiate a single backup job at the level of the
47+
sharded cluster, |onprem| can't guarantee regional data isolation.
3248
...

0 commit comments

Comments
 (0)