Cancel Backup Run
PUT/backup/v1alpha1/projects/:projectId/jobs/:name/cancel
Stops an unfinished backup run where the storage driver can stop, ending it failed with the message "Backup cancelled.". Works for a run not started yet, a Postgres backup still waiting to start, a VM instance or disk run (its data transfers are cancelled) and a MariaDB run. Refused with FailedPrecondition for a Postgres backup already running, a VM run that has not started moving data yet (retry in a few seconds), and a finished run. Deleting a run is not offered: the driver would carry on and leave an archive nothing refers to.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 500
- 503
A successful response.
Bad Request - Invalid input, or the operation is not possible in the current state
Unauthorized - Invalid or expired credentials. When the ingress gateway rejects the bearer token, the body is the gateway's own and not an ErrorResponse; when the API rejects the request (code 10001), the body is an ErrorResponse.
Forbidden - Missing or invalid credentials, or insufficient permissions
Not Found - Resource does not exist
Conflict - Resource already exists, or was modified concurrently
Internal Server Error
Service Unavailable - Platform is temporarily unavailable