Skip to content

Commit f8dd1ba

Browse files
DOCSP-46048 First-Round Edits: Backups Page (#66)
* DOCSP-46048 First-Round Edits: Backups Page * Apply suggestions from code review Co-authored-by: Sarah Simpers <[email protected]> --------- Co-authored-by: Sarah Simpers <[email protected]>
1 parent 4c03617 commit f8dd1ba

File tree

2 files changed

+50
-46
lines changed

2 files changed

+50
-46
lines changed

source/backups.txt

Lines changed: 47 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,12 @@ recommend that you identify replica set size or shard size limits to
128128
ensure that your size is compatible with RTO requirements. Ensure that
129129
snapshot schedule and retention policies meet any RPO requirements.
130130

131-
In production and in addition to |service| cloud backups, we recommend that you start
132-
with a default of continuous cloud backups with a restore window of seven days.
133-
Adjust this time range with a longer setting based on the criticality of the workload.
134-
This allows you to replay the oplog to restore a {+cluster+} from a particular
135-
point in time.
131+
In production, in addition to |service| cloud backups, we recommend that
132+
you start with a default of continuous cloud backups with a restore
133+
window of seven days. Adjust this time range with a longer setting based
134+
on the criticality of the workload. This allows you to replay the oplog
135+
to restore a {+cluster+} from a particular point in time and satisfy
136+
your RTO.
136137

137138
Recommendations for Backup Snapshots
138139
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -180,33 +181,31 @@ the following:
180181
| **Monthly**: Last day of month, retain for 3 months = 3 snapshots
181182
- 14
182183

183-
We recommend Queryable Backup Snapshot options when defining automation
184-
templates. Queryable Backups allow you to access your backup data
185-
instantly and run queries directly against the backup data, including on
186-
data as it existed at the time of the backup. Queryable backups also
187-
maintain the same security and access controls as your live {+clusters+},
188-
ensuring that sensitive data is protected. In some cases, we recommend
189-
adjusting backup snapshot frequencies and retentions to save money if
190-
queryable backup strategies suffice.
184+
.. _atlas-backup-distribution:
191185

192186
Recommendations for Backup Distribution
193187
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
194188

195189
|service| provides options for backup locations. To further enhance
196-
resilience, for staging and production environments only, we recommend
197-
distributing backups in local region and to external disaster recovery
198-
region, ensuring data recovery even during regional outages. For an
199-
|service| {+cluster+} in three regions, multi-region Snapshot
200-
Distribution copies backups to two secondary regions, enabling restores
201-
in 15 minutes or less by using backup copies. By selecting only
202-
hourly and daily snapshots along with the oplog for regional copies, you
203-
can optimize costs while ensuring rapid recovery during regional
204-
outages. Once restored, you can point your application to the new
190+
resilience, we recommend distributing backups to a local region and to an
191+
external disaster recovery region, ensuring data recovery even during
192+
regional outages. For an |service| {+cluster+} in three regions,
193+
multi-region Snapshot Distribution copies backups to two secondary
194+
regions, enabling restores by using backup copies. By selecting only
195+
hourly (that provide more frequent restore points) and daily snapshots
196+
(that provide regular backups without excessive storage cost) along
197+
with the oplog (for maintaining real-time replication of data) for
198+
regional copies, you can optimize costs while ensuring rapid recovery
199+
during regional outages. This allows you to restore quickly with
200+
minimal downtime from another region using recent snapshots and an
201+
oplog. Once restored, you can point your application to the new
205202
{+cluster+} to regain full functionality with complete read and write
206-
capabilities. We recommend developing automated deployment templates
207-
that strike a balance between availability and cost. However, your
208-
critical workloads might require multiple copies of snapshots in various
209-
locations.
203+
capabilities.
204+
205+
When configuring your snapshot frequency, retention,
206+
and distribution, we recommend striking a balance between availability and
207+
cost. However, your critical workloads might require multiple copies of
208+
snapshots in various locations.
210209

211210
Recommendations for Backup Compliance Policy
212211
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -224,26 +223,30 @@ data loss during failures. |service| can quickly recover to the exact
224223
timestamp before a failure event, giving you at least a one minute
225224
:abbr:`RPO (Recovery Point Objective)` and an :abbr:`RTO (Recovery Time
226225
Objective)` of less than 15 minutes when utilizing optimized restores,
227-
even in the event of the outage of the primary region. Recovery times
228-
can vary due to cloud provider disk warming and which point in time you
229-
are restoring to. If you can be flexible in your requirements for
230-
recovery, we recommend designing templates that identify the sweet spot
231-
between reasonable recovery options and cost.
226+
even in the event of the outage of the primary region. This is because
227+
the snapshot can be restored first and then the oplog played back to get
228+
to your exact RPO objective. Recovery times can vary due to cloud
229+
provider disk warming and which point in time you are restoring to. If
230+
you can be flexible in your requirements for recovery, we recommend
231+
designing templates that identify the best compromise between reasonable
232+
recovery options and cost.
232233

233234
Recommendations for Backup Costs
234235
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
235236

236-
To optimize |service| backup costs, you must adjust the backup frequency
237+
To optimize |service| backup costs, you must adjust the backup frequency
237238
and retention policies to align with data criticality, reducing
238-
unnecessary storage expenses. For example, you should disable backups in lower
239-
environments, and ensure that in upper environments with high availability requirements
240-
you are distributing backups to each region where you are deployed.
241-
You can also use incremental backups and
242-
built-in compression to minimize the amount of stored data. By selecting
243-
regions strategically for backup, you can avoid cross-region data
244-
transfer fees and choose the right cluster size based on workload to
245-
prevent overspending. By implementing these strategies, you can
246-
effectively manage costs while maintaining secure and reliable backups.
239+
unnecessary storage expenses. For example, you should disable backups in
240+
lower environments, and ensure that in upper environments with high
241+
availability requirements you are distributing backups to each region
242+
where your |service| {+clusters+} are deployed. |service| provides incremental backups through
243+
snapshots that capture only incremental changes and built-in compression
244+
to minimize the amount of stored data. By :ref:`selecting regions
245+
<atlas-backup-distribution>` strategically for backup, you can avoid
246+
cross-region data transfer fees and choose the right {+cluster+} size
247+
based on workload to prevent overspending. By implementing these
248+
strategies, you can effectively manage costs while maintaining secure
249+
and reliable backups.
247250

248251
Examples
249252
--------
@@ -273,8 +276,9 @@ backup is enabled for the {+cluster+}.
273276

274277
Run the following command to create a compliance policy for
275278
scheduled backup snapshots that enforces the number of times
276-
(``2``) snapshots must be taken every month and the duration
277-
(``2`` months) for retaining the snapshots.
279+
snapshots must be taken, which is set to every ``6`` hours, and
280+
the duration for retaining the snapshots, which is set to ``1``
281+
month.
278282

279283
.. include:: /includes/examples/cli-example-backup-compliance-policy-schedule.rst
280284

source/includes/examples/cli-example-backup-compliance-policy-schedule.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
atlas backups compliancePolicy policies scheduled create \
55
--projectId 67212db237c5766221eb6ad9 \
6-
--frequencyInterval 2 \
7-
--frequencyType monthly \
8-
--retentionValue 2 \
6+
--frequencyInterval 6 \
7+
--frequencyType hourly \
8+
--retentionValue 1 \
99
--retentionUnit months

0 commit comments

Comments
 (0)