Huanxuan Ao f5aef9ac36 Add '--force' option to 'backup delete' command in volumev2
Add '--force' option to 'backup delete' command in
volumev2 (v2 only) to allow delete in state other
than error or available.

Change-Id: I661ea0d465db227e374cbacdde0206fa1a6dd3d5
Closes-Bug: #1597188
2016-07-06 20:51:01 +08:00

1.7 KiB

backup

Block Storage v1, v2

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
    [--force]
    <backup> [<backup> ...]

--force

Allow delete in state other than error or available

Volume version 2 only

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)