Backups
A backup is one resource's data at one instant: a server's disks, a volume, or a bucket's objects. A repository holds the data, and a vault offers it to projects. A plan applies a policy's schedule and retention to the project's resources. A manual backup can be taken at any time, of a plan's resources or of one server or volume straight into a vault.
📄️ List backups
Backups in state `deleted` are left out unless `state` asks for them.
📄️ Back up now
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.
📄️ Delete a backup
Deletes a backup. When the repository keeps deleted backups for a while, or the backup is locked, it is hidden at once and purged no earlier than `purge_after`, and an operator can bring it back until then. A lock delays only the erasure, not the delete. Otherwise it is erased now, by the job in `job_id`. Refused with conflict under a legal hold.
📄️ Show a backup
Any reader of the project the token is scoped to.
📄️ Show a backup's metrics
Sizes, ratios and how long each phase took. A figure that cannot be measured is left out and explained under `unavailable`. Figures that depend on other projects' data are shown to operators only.
📄️ Read a backup's record from storage
The backup's self-describing record, read from the repository, not from this cloud's database. It answers for a backup this cloud has never seen.
📄️ Bring back a deleted backup
Undeletes the backup before it is erased.
📄️ Verify a backup now
Re-reads and checks all of the backup's data instead of waiting for the regular verification. The backup's state changes only when the check finishes. The answer is the job doing it.