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 point into it. --pool must be set aside
for standbys, because every replay overwrites what it holds.
openstack backup standby create --project <project> [--domain <domain>] \
--resource <resource> --pool <pool> [--image-prefix <prefix>] \
[--site <site>] [--group <group>]
| Argument | Description |
|---|---|
--project <project> | Project the standby belongs to, which can read and promote it. Required. |
--domain <domain> | Domain of that project; needed only when the service cannot look the project 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, so one pool can hold many standbys. |
--site <site> | Site the standby lives at, by name or id; defaults to this cloud's own. |
--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 are left in the pool, because they may be what you are about to fail over onto.
openstack backup standby delete <standby> [<standby> ...]
| Argument | Description |
|---|---|
<standby> | Takes one or more. |
standby list
List this project's standbys.
openstack backup standby list [--project <project>]
| Argument | Description |
|---|---|
--project <project> | List this project's standbys (operator) |
standby promote
Turn a standby into volumes you can boot.
The volumes are cloned from the standby's applied snapshot, so they 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. It creates one volume per disk in the standby's project, boot disk first, and nothing else: booting them is yours to do.
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 volumes' names; defaults to the standby's image prefix. |
--volume-type <type> | Volume type here; defaults to the block storage service's. |
--availability-zone <zone> | Availability zone here; defaults to the block storage service's. |
standby show
Show a standby.
openstack backup standby show <standby>
| Argument | Description |
|---|---|
<standby> | Standby id. |