Back up now
POST/v1/backups
Takes a backup outside the schedule. Name plan_id to run a plan, for every resource it protects or for those in resource_ids. Name resource_kind, resource_id and vault_id to back up one server or volume into a vault. The backup is kept until keep_until, or until deleted with until_deleted where the vault offers it, within the vault's terms.
Any member of the project the token is scoped to.
Request
Responses
- 202
- 400
- 401
- 403
- 404
- 409
- 413
- 415
- 422
- 429
- 503
- default
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 may not take backups in this project. Or the plan's policy keeps its backups where no vault is offered. Or the vault takes no manual backups.
quota_exceeded: The project is over its backup quota.
Not Found.
not_found: The plan does not exist or is not visible to this token. Or the server or volume does not exist in the token's project.
Conflict.
conflict: The plan is deleted or names no usable policy. Or the resource is in several plans using this vault and plan_id must say which. Or its own-key plan keeps it elsewhere. Or the token is scoped to no project. Or a disk of the resource cannot be read.
placement_unsatisfiable: The plan's policy cannot be served right now. blockers says what is wrong.
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.
validation_failed: A field is not acceptable, and fields names each one: a malformed or unknown id, fields that do not go together, a resource the plan does not protect, an unusable vault or policy, a consistency other than the plan's, or keep_until or until_deleted outside the vault's terms.
Too Many Requests.
rate_limited: The vault's daily allowance of manual backups is used up, for the plan or for this project outside its plans.
Service Unavailable.
discovery_unavailable: A backup of one resource was asked for, and the service cannot inspect the resource or prove which project owns it.
An error, as an RFC 7807 problem document.