Recovery bindings and mapping profiles
Recovering another region's resources here. Operator only.
mapping profile create
Create a mapping profile (operator).
A named, reusable translation from another cloud's flavors, networks,
volume types, availability zones, security groups and key pairs to this
cloud's. With no --origin-cloud it applies to backups from any cloud.
A restore or a binding dry run asks for it by name.
openstack backup mapping profile create <name> [--origin-cloud <cloud>] \
[--flavor-map <from=to>] [--network-map <from=to>] \
[--subnet-map <from=to>] [--volume-type-map <from=to>] \
[--az-map <from=to>] [--security-group-map <from=to>] \
[--keypair-map <from=to>] [--floating-pool <pool>] \
[--flavor-fallback-by-spec] [--recreate-security-groups] \
[--import-keypair]
| Argument | Description |
|---|---|
<name> | Profile name. |
--origin-cloud <cloud> | Cloud whose backups this translates, as its backup records name it. |
--flavor-map <from=to> | Source to target (repeatable) |
--network-map <from=to> | Source to target (repeatable) |
--subnet-map <from=to> | Source to target (repeatable) |
--volume-type-map <from=to> | Source to target (repeatable) |
--az-map <from=to> | Source to target (repeatable) |
--security-group-map <from=to> | Source to target (repeatable) |
--keypair-map <from=to> | Source to target (repeatable) |
--floating-pool <pool> | Pool floating IPs are allocated from here. |
--flavor-fallback-by-spec | Pick the nearest flavor by spec when no name matches. |
--recreate-security-groups | Recreate a source security group here when none maps to it. |
--import-keypair | Import the source's key pair here when none maps to it. |
mapping profile delete
Delete one or more mapping profiles, by name or id (operator).
openstack backup mapping profile delete <profile> [<profile> ...]
| Argument | Description |
|---|---|
<profile> | Profile name or id. Takes one or more. |
mapping profile list
List mapping profiles (operator).
openstack backup mapping profile list
mapping profile show
Show a mapping profile (operator).
openstack backup mapping profile show <profile>
| Argument | Description |
|---|---|
<profile> | Profile name or id. |
recovery binding create
Claim a resource another cloud backed up for a project here (operator).
Every catalogue pass imports the resource's backups into the target
project, and they restore like any other backup. With --standby-pool
the binding is warm: a standby is kept current by replaying each new
backup into it. --dry-run creates nothing and resolves an imported
backup against this cloud, naming what cannot be mapped.
openstack backup recovery binding create --repository <repository> \
--origin-cloud <cloud> [--source-project <project>] \
--resource <resource> --target-project <project> \
[--target-domain <domain>] [--standby-site <site>] \
[--standby-pool <pool>] [--standby-prefix <prefix>] [--dry-run] \
[--backup <backup>] [--mapping-profile <profile>] \
[--mapping-profile-file <file>] [--confirm-unresolved <element>]
| Argument | Description |
|---|---|
--repository <repository> | Repository the backups are read from, by name or id. Required. |
--origin-cloud <cloud> | Cloud that wrote the backups, as its backup records name it. Required. |
--source-project <project> | Project the resource belonged to there, for the record. |
--resource <resource> | Id of the backed-up resource in the origin cloud. Required. |
--target-project <project> | Project here the backups are imported into. Required. |
--target-domain <domain> | Domain of the target project, if the service cannot look it up. |
--standby-site <site> | Site the standby lives at, by name or id, default this cloud's. |
--standby-pool <pool> | Pool a standby is kept current in, which makes the binding warm. |
--standby-prefix <prefix> | Prefix for the standby's image names. |
--dry-run | Resolve what a recovery would build and create nothing. |
--backup <backup> | With --dry-run: imported backup to resolve, default the newest. |
--mapping-profile <profile> | With --dry-run: stored mapping profile, by name. |
--mapping-profile-file <file> | With --dry-run: inline mapping profile as YAML or JSON. |
--confirm-unresolved <element> | With --dry-run: unresolved element to accept (repeatable) |
recovery binding delete
End one or more recovery bindings (operator).
No further backups are imported and the standby's replays stop. Backups already imported and any standby the binding registered stay.
openstack backup recovery binding delete <binding> [<binding> ...]
| Argument | Description |
|---|---|
<binding> | Binding id. Takes one or more. |
recovery binding list
List recovery bindings (operator).
openstack backup recovery binding list [--repository <repository>] \
[--origin-cloud <cloud>] [--target-project <project>]
| Argument | Description |
|---|---|
--repository <repository> | Only bindings reading this repository, by name or id. |
--origin-cloud <cloud> | Only bindings for backups this cloud wrote. |
--target-project <project> | Only bindings importing into this project. |
recovery binding show
Show a recovery binding (operator).
openstack backup recovery binding show <binding>
| Argument | Description |
|---|---|
<binding> | Binding id. |