Skip to content

Commit cb49d5d

Browse files
Update the note
1 parent e1e30f3 commit cb49d5d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

modules/ROOT/pages/backup-restore/planning.adoc

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -183,16 +183,17 @@ Backing up a database in a clustered environment is not essentially different fr
183183
Use `SHOW DATABASE <database>` to learn which servers are hosting the database you want to back up.
184184
See xref:clustering/monitoring/show-databases-monitoring.adoc#show-databases-monitoring-listing-single[Listing a single database] for more information.
185185

186-
However, _restoring_ a database in a cluster is different since it is not known in advance how a database is going to be allocated to the servers in a cluster.
187-
This method relies on the seed already existing on one of the servers.
186+
Restoring from the command line involves putting a copy of the database on disk on each server that will need it.
187+
That can be awkward to achieve.
188188
The recommended way to restore a database in a cluster is to xref::database-administration/standard-databases/seed-from-uri.adoc[seed from URI].
189189

190190
[IMPORTANT]
191191
====
192-
When backing up a clustered database, be aware that the xref:clustering/introduction.adoc#clustering-introduction-operational[cluster topology] metadata is not included in the backup.
193-
The cluster topology is stored in the `system` database and describes how the copies of a database should be spread across the servers in a cluster.
192+
By default, a database backup includes only the database contents.
193+
If you choose to include metadata, the backup also stores the role-based access control (RBAC) settings associated with the database.
194194
195-
Because this metadata is excluded from backups, restoring to a new cluster environment requires manual reconfiguration of servers modes and database allocations.
195+
When restoring, you have the flexibility to define the target topology (how many primaries and secondaries are desired for the database), which may differ from the topology at backup time.
196+
The database will then be allocated across the available servers according to that topology.
196197
====
197198

198199
[[backup-planning-databases]]

0 commit comments

Comments
 (0)