Protection groups
A protection group names servers that recover together at a disaster recovery site, with a boot order and a health check each. Its policy's recovery section is the promise: where, at which recovery tier, how far behind and how fast. Every member must be under a plan with that policy. The recovering region registers a recovery of the group from the document its home writes to their shared repository.
📄️ List protection groups
Any member of the project the token is scoped to.
📄️ Create a protection group
Groups servers that recover together under the policy whose recovery section is their promise. Each member has a boot order and an optional health check, and must be under a plan with that policy. A new group is `primary` and `active`. With `recovery_of`, an operator registers another region's group as `standby`, binding each member to `target_project_id` and following later document versions.
📄️ Delete a protection group
Deletes the group, not its servers. Refused with `group_busy` while a run acts on it. Its runs and journals go too, while the run resources stay until they are deleted. Deleting a recovery, operator only, deletes the bindings it created. A recovery still holding servers, volumes, ports or floating addresses its runs built is refused with `group_holds_resources` unless `keep_resources=true`.
📄️ Show a protection group
One protection group. A recovery also carries the recovery bindings that import its members' backups, when the token may read bindings.
📄️ Change a protection group
Renames a group or changes its policy, members or network maps, checked as on create. Refused with `group_busy` while a run acts on the group, except a change of a recovery's `test_every` alone. Only an operator changes a recovery, whose members follow its home's document. A group created here also takes `accept_gaps` and, from an operator, `mapping_profile_id` for its failback.