Resources, usage and keys
Protectable resources, usage, coverage, retention, keys, sites and project purge.
coverage show
Show what this cloud is not protecting (operator).
Reports resources under no plan, paused plans and for how long, plans on a deprecated policy, plans whose policy names storage it cannot use, backups missed inside the reporting window, backups the copy tier has not reached, backups no lock holds, and policies below the operator's own floor. Each finding names the plans it is about.
openstack backup coverage show [--project <project>]
| Argument | Description |
|---|---|
--project <project> | One project instead of every project in the cloud. |
key export
Export a dedup domain's key for another cloud (operator).
The envelope holds no plaintext key. Send the passphrase by a separate channel from the envelope. Every export is audited.
openstack backup key export --repository <repository> --domain <domain> \
[--passphrase-file <path>] [--passphrase <passphrase>] [--file <path>]
| Argument | Description |
|---|---|
--repository <repository> | Repository name or id. Required. |
--domain <domain> | Dedup domain to export. Required. |
--passphrase-file <path> | File holding the passphrase, or - for stdin. |
--passphrase <passphrase> | Passphrase inline, instead of --passphrase-file. |
--file <path> | Write the envelope here instead of showing it. |
key import
Import a dedup domain's key exported from another cloud (operator).
openstack backup key import --repository <repository> --domain <domain> \
--file <path> [--passphrase-file <path>] [--passphrase <passphrase>]
| Argument | Description |
|---|---|
--repository <repository> | Repository name or id. Required. |
--domain <domain> | Dedup domain the key belongs to. Required. |
--file <path> | The exported envelope, as JSON. Required. |
--passphrase-file <path> | File holding the passphrase, or - for stdin. |
--passphrase <passphrase> | Passphrase inline, instead of --passphrase-file. |
key list
Show which dedup domains this cloud can decrypt (operator).
A fingerprint is a MAC of the key and reveals nothing about it. Compare the fingerprints on both clouds before a cross-cloud restore.
openstack backup key list --repository <repository> [--domain <domain>]
| Argument | Description |
|---|---|
--repository <repository> | Repository name or id. Required. |
--domain <domain> | Show only this dedup domain. |
mover list
List data movers (operator).
openstack backup mover list [--limit <limit>]
| Argument | Description |
|---|---|
--limit <limit> | Maximum movers returned. |
project purge
Delete every plan of a project with its backups (operator).
purged_by is when the last of its objects leaves storage.
openstack backup project purge <project>
| Argument | Description |
|---|---|
<project> | Project id. |
resource list
List what can be protected, and what cannot.
A resource with protectable false carries an exception with the
reason it cannot be protected.
openstack backup resource list [--kind <kind>] [--protectable] \
[--limit <limit>] [--project <project>]
| Argument | Description |
|---|---|
--kind <kind> | Volume, instance or bucket. |
--protectable | Only resources that can be protected. |
--limit <limit> | Maximum resources returned. |
--project <project> | Filter by project (operator) |
retention simulate
Show what a policy edit would keep, expire, and fail to shorten.
With a candidate ladder it answers what that change would do, and without one what the next expiry pass does under the policy as it stands. The answer names what a lock still holds, which no ladder can shorten. An operator token also gets the bytes the deletion would free, and a project token gets the verdicts only.
openstack backup retention simulate --policy <policy> [--plan <plan>] \
[--keep-all <duration>] [--keep-daily <count>] [--keep-weekly <count>] \
[--keep-monthly <count>] [--keep-yearly <count>] \
[--calendar <key=value>]
| Argument | Description |
|---|---|
--policy <policy> | Policy to simulate, by name or id. Required. |
--plan <plan> | Narrow the answer to one plan under the policy, by name or id. |
--keep-all <duration> | Candidate floor every backup lives for, e.g. 48h. |
--keep-daily <count> | Candidate number of daily backups to keep. |
--keep-weekly <count> | Candidate number of weekly backups to keep. |
--keep-monthly <count> | Candidate number of monthly backups to keep. |
--keep-yearly <count> | Candidate number of yearly backups to keep. |
--calendar <key=value> | Period grid, repeatable: week=sunday, month=first|last, year=january. |
site list
List the sites a policy recovers at and a repository is reachable from.
Every option that takes a site takes its name or its id. local marks
this cloud's own site.
openstack backup site list [--limit <limit>]
| Argument | Description |
|---|---|
--limit <limit> | Maximum sites returned. |
usage show
Show what this project is storing.
Anything the service cannot measure yet is reported as unavailable, with a reason, not as zero.
openstack backup usage show [--project <project>] [--view <view>]
| Argument | Description |
|---|---|
--project <project> | Project to report on (operator) |
--view <view> | Tenant: render as a tenant sees it, without repository-wide figures. One of tenant. |
version show
Show this client's version, and the cloud's if reachable.
openstack backup version show