Standbys
Volume copies kept current in the recovery region. Operator only.
standby create
Register a standby for a resource (operator).
A standby is a copy of one resource's disks, as images in a pool, kept
current by replaying each new backup into it. Use a --pool reserved for
standbys: every replay overwrites the images in it.
openstack backup standby create --target-project <project> \
[--target-domain <domain>] --resource <resource> --pool <pool> \
[--image-prefix <prefix>] [--site <site>] [--group <group>]
| Argument | Description |
|---|---|
--target-project <project> | Project the standby belongs to, which can read and promote it. Required. |
--target-domain <domain> | Domain of the target project, if the service cannot look it up. |
--resource <resource> | Protected resource the standby shadows. Required. |
--pool <pool> | Pool the standby's images are kept in. Required. |
--image-prefix <prefix> | Prefix for the image names. |
--site <site> | Site the standby lives at, by name or id, default this cloud's. |
--group <group> | Protection group, by name or id, a failover finds it through. |
standby delete
Deregister one or more standbys (operator).
Replays stop and the record is forgotten. The images stay in the pool.
openstack backup standby delete <standby> [<standby> ...]
| Argument | Description |
|---|---|
<standby> | Standby id. Takes one or more. |
standby list
List this project's standbys.
openstack backup standby list [--project <project>]
| Argument | Description |
|---|---|
--project <project> | Filter by project (operator) |
standby promote
Turn a standby into bootable volumes.
The volumes are cloned from the standby's applied snapshot and hold exactly the backup it last finished, even while an update runs or after one failed. A standby with no applied snapshot yet is refused. One volume is created per disk in the standby's project, boot disk first, and no server is booted.
openstack backup standby promote <standby> [--name-prefix <prefix>] \
[--volume-type <type>] [--availability-zone <zone>]
| Argument | Description |
|---|---|
<standby> | Standby id. |
--name-prefix <prefix> | Prefix for the new volume names, default the standby's image prefix. |
--volume-type <type> | Volume type here, default the block storage service's. |
--availability-zone <zone> | Availability zone here, default the block storage service's. |
standby show
Show a standby.
openstack backup standby show <standby>
| Argument | Description |
|---|---|
<standby> | Standby id. |