Zum Hauptinhalt springen

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​

A successful response.