You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/backup-restore/planning.adoc
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -183,16 +183,17 @@ Backing up a database in a clustered environment is not essentially different fr
183
183
Use `SHOW DATABASE <database>` to learn which servers are hosting the database you want to back up.
184
184
See xref:clustering/monitoring/show-databases-monitoring.adoc#show-databases-monitoring-listing-single[Listing a single database] for more information.
185
185
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.
188
188
The recommended way to restore a database in a cluster is to xref::database-administration/standard-databases/seed-from-uri.adoc[seed from URI].
189
189
190
190
[IMPORTANT]
191
191
====
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.
194
194
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.
0 commit comments