Resync a protection group
POST/v1/protection-groups/:id/resync
Stands this region's copy of the workload down after the other region took over without a release, when the workload here is running and the other region recorded an epoch at or above this one. Operator only, with confirm_discard_local_writes. Pauses plans, stops servers, backs up each diverged member, then turns standby. Returns 202 with the run. Refused with no_newer_recovery_elsewhere.
Operator only: needs a system-scoped token.
Request
Responses
- 200
- 202
- 400
- 401
- 403
- 404
- 409
- 413
- 415
- 422
- 503
- default
OK.
With dry_run=true, the plan the run would follow. Nothing was started.
Accepted
Bad Request.
invalid_request: The body is not a single JSON object, names a field this operation does not take, or gives a value of the wrong type.
Unauthorized.
unauthenticated: The token is missing, expired or not valid.
Forbidden.
forbidden: The token is not an operator token.
Not Found.
not_found: No group with this id exists.
Conflict.
group_busy: A run is acting on the group.
workload_not_running_here: Nothing runs here to stand down. The group's workload here is standby or released.
no_newer_recovery_elsewhere: The other region has recorded no recovery of the group at the epoch held here or above.
Request Entity Too Large.
body_too_large: The body is larger than the service accepts.
Unsupported Media Type.
unsupported_media_type: The body is not sent as application/json.
Unprocessable Entity.
resync_unconfirmed: confirm_discard_local_writes is missing or false.
member_not_under_group_policy: A member's server is protected by no plan under the group's policy, and what diverged on it cannot be backed up. An operator may skip that backup by name.
image_not_found_by_global_id: For a hot group, no image here carries a member's disk's mirror global id.
Service Unavailable.
dr_not_enabled: Disaster recovery is not enabled here, or this cloud cannot stop, lock or start servers, which the detail names.
An error, as an RFC 7807 problem document.