-
Notifications
You must be signed in to change notification settings - Fork 79
Clarify backup/restore strategy regarding system db #2521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Clarify backup/restore strategy regarding system db #2521
Conversation
a2314dc
to
c670af6
Compare
a8d7711
to
e1e30f3
Compare
This PR includes documentation updates Updated pages: |
See xref:clustering/monitoring/show-databases-monitoring.adoc#show-databases-monitoring-listing-single[Listing a single database] for more information. | ||
|
||
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. | ||
This method relies on the seed already existing on one of the servers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like it's not totally clear what 'this method' refers to, and I'm a little confused by the 'existing on one of the servers' now I look at it.
Perhaps something like:
Restoring from the command line involves putting a copy of the database on disk on each server that will need it.
That can be awkward to achieve.
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. | ||
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. | ||
|
||
Because this metadata is excluded from backups, restoring to a new cluster environment requires manual reconfiguration of servers modes and database allocations. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems a bit negative about the topology not being backed up. I think it's actually a positive. Perhaps something more along the lines of:
Backing up a database only includes the database contents, and the RBAC associated with the database if you include the metadata.
This means you specify the desired topology when you restore the backup, allowing you to restore with a different topology than was present when backed up.
The database will be allocated to servers that are present at restore time to fulfil that topology.
I wouldn't mention that the topology is stored in system
, that's effectively an implementation detail.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point! Be positive 🙂 You're right, I'll rewrite it.
No description provided.