Skip to content

Commit c5e7569

Browse files
authored
(DOCSP-23752) Update mentions of Head Database to reflect their deprecation in favor of Backup Cursors (#4815) (#5225)
* (DOCSP-23752) * (DOCSP-23752) First set of glossary changes. * (DOCSP-23752) Typo fix. * (DOCSP-23752) Update information about resync. * (DOCSP-23752) * (DOCSP-23752) * (DOCSP-23752) Rebasing. * (DOCSP-23752) * (DOCSP-23752) * (DOCSP-23752) * (DOCSP-23752) * (DOCSP-23752) * (DOCSP-23752) * (DOCSP-23752) Tech review * Empty Commit. * (DOCSP-23752) * (DOCSP-23752) Tech review. * (DOCSP-23752) Second round of technical review. * (DOCSP-23752) Tech review. * (DOCSP-23752) * (DOCSP-23752) * (DOCSP-23752) * (DOCSP-23752) Use include. * (DOCSP-23752) * (DOCSP-23752) * (DOCSP-23752) * (DOCSP-23752) * (DOCSP-23752) * (DOCSP-23752) * empty commit
1 parent acd7357 commit c5e7569

25 files changed

+136
-30
lines changed

source/admin/backup/job-timeline-page.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ page. The :guilabel:`Job Timeline` page displays critical timestamps
1818
(:term:`head <head database>`, last snapshot, next snapshot) and
1919
offers a way to assign a :term:`daemon <Backup Daemon>` to a given job.
2020

21+
.. include:: /includes/head-database-backup-deprecated.rst
22+
2123
Click the :guilabel:`Auto refresh` checkbox to update the list
2224
automatically every 10 seconds. Click the :guilabel:`Refresh` button
2325
to refresh data manually.

source/admin/backup/jobs-page.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ From the :guilabel:`Jobs` page, you can do the following:
7070
:term:`head <head database>`, and click the
7171
:guilabel:`Move Head` button.
7272

73+
.. include:: /includes/head-database-backup-deprecated.rst
74+
7375
* - Filter the page to display the jobs assigned to a particular
7476
Daemon or blockstore.
7577

source/core/backup-preparations.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,8 @@ Encryption
391391
|fcv-link| 3.4 and 4.0 with the
392392
:ref:`WiredTiger <encrypted-storage-engine>` storage engine.
393393

394+
.. include:: /includes/head-database-backup-deprecated.rst
395+
394396
.. seealso::
395397

396398
:doc:`/tutorial/encrypt-snapshots`.

source/core/deployments.txt

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,13 @@ deployments.
1818
Considerations
1919
--------------
2020

21-
For best performance on any of these installs, configure each backup
22-
host with two disk partitions: one for the snapshot store or File
23-
System Store and one for the head databases.
21+
On FCV 4.0 and earlier, for best performance on any of these installs,
22+
configure each backup host with two disk partitions: one for the snapshot
23+
store or File System Store and one for the head databases.
24+
25+
On |fcv-link| ``4.2`` and later, backups no longer require
26+
:term:`head databases <head database>`. For more information, see
27+
:ref:`backup-daemon`.
2428

2529
.. _on-prem-minimal-deployment-diagram:
2630

@@ -38,11 +42,17 @@ a single host, as described in
3842
If you would like to test backup services, use the |application| to
3943
configure them. When
4044
:doc:`configuring </reference/config/ui-settings>` |onprem|,
41-
you can specify the backup settings. The Backup Daemon service
42-
creates the :term:`head databases <head database>` dynamically in
43-
that directory. The Backup Daemon service then manages these head
45+
you can specify the backup settings.
46+
47+
For FCV 4.0 and earlier, the Backup Daemon service creates the
48+
:term:`head databases <head database>` dynamically in that
49+
directory. The Backup Daemon service then manages these head
4450
databases.
4551

52+
For |fcv-link| ``4.2`` and later, the :term:`application database` stores
53+
snapshots of deployment state in
54+
:term:`backup cursors <backup cursor>`.
55+
4656
Production Installs
4757
-------------------
4858

source/includes/admonitions/warning-follow-requirements.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@
1010
the MongoDB manual. MongoDB instances in |onprem| include:
1111

1212
- The |onprem| Application Database,
13-
- Each |onprem| Backup Daemon :term:`head database`, and
1413
- Each blockstore.
14+
- Each |onprem| Backup Daemon :term:`head database`. This only
15+
applies to FCV 4.0 and earlier. FCV 4.2 and later do not use
16+
:term:`head databases <head database>` for backups.

source/includes/api/list-tables/backup-config/request-body-onprem.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
existing backups in a project, enabling encryption requires an
2626
:term:`initial sync` to recreate the backups’ head databases.
2727

28+
.. include:: /includes/head-database-deprecated-encrypt.rst
29+
2830
* - excludedNamespaces
2931
- array of strings
3032
- Conditional

source/includes/api/list-tables/backup-config/response-body-onprem.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
backups in a project, enabling encryption requires an
2727
:term:`initial sync` to recreate the backups’ head databases.
2828

29+
.. include:: /includes/head-database-deprecated-encrypt.rst
30+
2931
* - excludedNamespaces
3032
- array of strings
3133
- List of database names and collection names to omit from

source/includes/extracts-fact-encrypted-backup.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ content: |
4545
For details on setting up backup encryption, see
4646
:doc:`/tutorial/encrypt-snapshots`.
4747
48+
.. include:: /includes/head-database-backup-deprecated.rst
49+
4850
edition: onprem
4951
---
5052
ref: fact-encrypted-backups

source/includes/extracts-faq.yaml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,12 @@ content: |
110110
- increase the size of the file system that holds the
111111
:setting:`Head directory`.
112112
113-
- move the :setting:`Head database` data to a new volume with more
114-
space, and create a symlink or configure the file system mount
115-
points so that the daemon can access the data using the original
116-
path.
113+
- On FCV 4.0 and earlier, move the :setting:`Head database` data to a
114+
new volume with more space, and create a symlink or configure the
115+
file system mount points so that the daemon can access the data
116+
using the original path.
117+
118+
FCV 4.2 and later do not use :term:`head databases <head database>`.
117119
---
118120
ref: faq-backup-jobs-fail-to-bind
119121
edition: cloud
@@ -134,10 +136,12 @@ content: |
134136
- increase the size of the file system that holds the
135137
:setting:`Head directory`.
136138
137-
- move the :setting:`Head database` data to a new volume with more
138-
space, and create a symlink or configure the file system mount
139-
points so that the daemon can access the data using the original
140-
path.
139+
- For FCV 4.0 and earlier, move the :setting:`Head database` data to
140+
a new volume with more space, and create a symlink or configure the
141+
file system mount points so that the daemon can access the data
142+
using the original path.
143+
144+
FCV 4.2 and later do not use :term:`head databases <head database>`.
141145
---
142146
ref: faq-applyops-errors
143147
edition: cloud

source/includes/glossary-terms.yaml

Lines changed: 38 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,29 @@ definition: |
118118
:ref:`blockstores-page`. The blockstore is one type of
119119
:term:`Backup Database`.
120120
121+
---
122+
term: backup cursor
123+
ref: glossary-backup-cursor
124+
edition: onprem
125+
definition: |
126+
127+
A :manual:`tailable cursor <tailable-cursors>` pointing to a list of
128+
backup files. Starting with FCV 4.2, |onprem| uses
129+
:term:`backup cursors <backup cursor>` instead of
130+
:term:`head databases <head database>`.
131+
121132
---
122133
term: Backup Daemon
123134
ref: glossary-backup-daemon
124135
edition: onprem
125136
definition: |
126137
127138
The |onprem| component that creates and manages backups by
128-
maintaining :term:`head databases <head database>` and
129-
:term:`snapshots <snapshot>`.
139+
maintaining :term:`head databases <head database>` and
140+
:term:`snapshots <snapshot>` for FCV 4.0 and
141+
earlier. Starting with FCV 4.2, |onprem| uses
142+
:term:`backup cursors <backup cursor>` instead of
143+
:term:`head databases <head database>`.
130144
131145
.. seealso:: :ref:`backup-daemon`
132146
@@ -136,11 +150,19 @@ ref: glossary-backup-job
136150
edition: onprem
137151
definition: |
138152
139-
The :term:`Backup Daemon` runs this process to apply the most recent
140-
changes to its backup of a :term:`replica set`. The daemon stores
141-
backups locally as :term:`head databases <head database>`. A sharded
142-
cluster will have a different head database for each shard. You can
143-
re-assign backup jobs among Backup Daemons.
153+
The |onprem| process that backs up MongoDB deployments.
154+
155+
For FCV 4.0 and earlier, the :term:`backup daemon` stores backups
156+
locally as :term:`head databases <head database>`. A sharded cluster
157+
will have a different head database for each shard.
158+
159+
For FCV 4.2 and later, the WiredTiger storage engine takes snapshots
160+
of your deployment using :term:`backup cursors <backup cursor>` to
161+
allow point-in-time copying of the WiredTiger files. Applications
162+
can continue read and write operations on the database while
163+
WiredTiger takes the snapshot.
164+
165+
You can re-assign backup jobs among Backup Daemons.
144166
145167
.. seealso:: :ref:`jobs-page`
146168
@@ -316,6 +338,10 @@ definition: |
316338
:term:`snapshots <snapshot>`. The Daemon stores the head databases
317339
in the :term:`head directory`.
318340
341+
Starting with FCV 4.2, |onprem| uses
342+
:term:`backup cursors <backup cursor>` instead of
343+
:term:`head databases <head database>`.
344+
319345
---
320346
term: head directory
321347
ref: glossary-head-directory
@@ -464,8 +490,11 @@ definition: |
464490
oplog slice and sends it to |mms|, which stores it in the
465491
:term:`Oplog Store Database`.
466492
467-
The :term:`Backup Daemon` retrieves the slice and applies it to the
468-
associated :term:`head database`.
493+
For FCV 4.0 and earlier, the :term:`Backup Daemon` retrieves the
494+
slice and applies it to the associated :term:`head database`.
495+
496+
For FCV 4.2 and later, |onprem| retrieves the slice and stores it
497+
in the :term:`Oplog Store Database`.
469498
470499
.. seealso:: :ref:`oplog-stores-page`
471500

0 commit comments

Comments
 (0)