Kevin_Zheng 446e6f2fa8 change os in command example to openstack(3)
In the current doc, the command examples are like
"os server create" but the acutal command should
be started with "openstack" instead of "os", it
is misleading to first time users.

Change-Id: Ie67c0152d8ff8b7c456f91dc8b9a9164437ee9d1
2016-12-20 09:26:15 +08:00

3.6 KiB

volume backup

Block Storage v1, v2

volume backup create

Create new volume backup

volume backup create

os volume backup create
    [--container <container>]
    [--name <name>]
    [--description <description>]
    [--snapshot <snapshot>]
    [--force]
    [--incremental]
    <volume>

--container <container>

Optional backup container name

--name <name>

Name of the backup

--description <description>

Description of the backup

--snapshot <snapshot>

Snapshot to backup (name or ID)

Volume version 2 only

--force

Allow to back up an in-use volume

Volume version 2 only

--incremental

Perform an incremental backup

Volume version 2 only

Volume to backup (name or ID)

volume backup delete

Delete volume backup(s)

volume backup delete

openstack volume backup delete
    [--force]
    <backup> [<backup> ...]

--force

Allow delete in state other than error or available

Volume version 2 only

Backup(s) to delete (name or ID)

volume backup list

List volume backups

volume backup list

openstack volume backup list
    [--long]
    [--name <name>]
    [--status <status>]
    [--volume <volume>]
    [--marker <marker>]
    [--limit <limit>]
    [--all-projects]




List additional fields in output

--name <name>

Filters results by the backup name

--status <status>

Filters results by the backup status ('creating', 'available', 'deleting', 'error', 'restoring' or 'error_restoring')

--volume <volume>

Filters results by the volume which they backup (name or ID)"

--marker <marker>

The last backup of the previous page (name or ID)

Volume version 2 only

--limit <limit>

Maximum number of backups to display

Volume version 2 only

--all-projects

Include all projects (admin only)

volume backup restore

Restore volume backup

volume backup restore

openstack volume backup restore
    <backup>
    <volume>




Backup to restore (name or ID)

<volume>

Volume to restore to (name or ID)

volume backup set

Set volume backup properties

volume backup set

openstack volume backup set
    [--name <name>]
    [--description <description>]
    [--state <state>]
    <backup>

--name <name>

New backup name

--description <description>

New backup description

--state <state>

New backup state ("available" or "error") (admin only) (This option simply changes the state of the backup in the database with no regard to actual status, exercise caution when using)

Backup to modify (name or ID)

volume backup show

Display volume backup details

volume backup show

openstack volume backup show
    <backup>




Backup to display (name or ID)