Huanxuan Ao 6364df4cbd Add "--snapshot" option to "backup create" command in volumev2
Add "--snapshot" option to "backup create" command to support
backing up a snapshot.

Change-Id: Ibecbf1902599875f422d372d529835f73211d3ec
Closes-Bug: #1597184
2016-07-01 10:06:10 +08:00

1.6 KiB

backup

Block Storage v1

backup create

Create new backup

backup create

os backup create
    [--container <container>]
    [--name <name>]
    [--description <description>]
    [--force]
    <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)

--force

Allow to back up an in-use volume

Volume to backup (name or ID)

backup delete

Delete backup(s)

backup delete

os backup delete
    <backup> [<backup> ...]




Backup(s) to delete (name or ID)

backup list

List backups

backup list

os backup list




List additional fields in output

backup restore

Restore backup

backup restore

os backup restore
    <backup>
    <volume>




Backup to restore (name or ID)

<volume>

Volume to restore to (name or ID)

backup show

Display backup details

backup show

os backup show
    <backup>




Backup to display (name or ID)