volume backup

Block Storage v1, v2

volume backup create

Create new volume backup

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>

Volume to backup (name or ID)

volume backup delete

Delete volume backup(s)

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

Allow delete in state other than error or available

Volume version 2 only

<backup>

Backup(s) to delete (name or ID)

volume backup list

List volume backups

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

List additional fields in output

--all-projects

Include all projects (admin only)

volume backup restore

Restore volume backup

openstack volume backup restore
    <backup>
    <volume>
<backup>

Backup to restore (name or ID)

<volume>

Volume to restore to (name or ID)

volume backup set

Set volume backup properties

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>

Backup to modify (name or ID)

volume backup show

Display volume backup details

openstack volume backup show
    <backup>
<backup>

Backup to display (name or ID)