python-openstackclient/doc/source/command-objects/volume-backup.rst

3.5 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

os 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

os volume backup list
    [--long]
    [--name <name>]
    [--status <status>]
    [--volume <volume>]
    [--marker <marker>]
    [--limit <limit>]




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

volume backup restore

Restore volume backup

volume backup restore

os 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

os 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

os volume backup show
    <backup>




Backup to display (name or ID)