python-openstackclient/doc/source/command-objects/backup.rst
Kevin_Zheng 9663424c74 change os in command example to openstack
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: Ic7686257725e1aa8e4e0d65a712eff1c079927a8
2016-12-20 09:03:29 +08:00

2.2 KiB

backup

Block Storage v1, v2

backup create

Create new backup (Deprecated, please use volume backup create instead)

backup create

openstack 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)

backup delete

Delete backup(s) (Deprecated, please use volume backup delete instead)

backup delete

openstack 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 (Deprecated, please use volume backup list instead)

backup list

openstack backup list




List additional fields in output

backup restore

Restore backup (Deprecated, please use volume backup restore instead)

backup restore

openstack backup restore
    <backup>
    <volume>




Backup to restore (name or ID)

<volume>

Volume to restore to (name or ID)

backup show

Display backup details (Deprecated, please use volume backup show instead)

backup show

openstack backup show
    <backup>




Backup to display (name or ID)