Warm tip: This article is reproduced from serverfault.com, please click

What happens to Marklogic database backup if one cluster node is lost?

发布于 2020-12-03 04:17:41

According to ML 9 doco, a database is backed up onto all nodes in the cluster, but the backup process appears to backup the forests that are only local to each node. So for a database with 6 forests across 3 nodes, I may have 2 forests backup files on each node.

If I have a 3 node cluster and lose one node ( so that one node is now 100% unrecoverable ), are all my backups now effectively useless as they will be missing the back up files for 2 forests?

Or is ML smart enough to re-create the missing data from the dead node, via parity?

Thanks.

Questioner
steve
Viewed
0
Michael Gardner 2020-12-04 11:37:40

The answer is it depends.

Typically backups are made to some sort of network storage, so loosing a node doesn't affect the backups. If for some reason the backups are stored locally to the system, then it would depend on if you have HA enabled, and whether you are backing up thee replica forests along with the primary forests.

If HA is enabled, you could lose a node and keep running, giving you time to rebuild the lost node. Alternatively, if you are backing up both the primary and replica forests in your cluster, you would have a complete data set in your backups even if you lose a node.