summaryrefslogtreecommitdiff
path: root/doc/source/cli/command-objects/server-backup.rst
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2017-04-20 11:20:59 +0100
committerStephen Finucane <stephenfin@redhat.com>2017-10-26 09:34:04 +0000
commit21212cabd52c85fdd572fc0c230868106a7f8eda (patch)
tree39d765f0a277118dddc3621cee2fb5b98acf1557 /doc/source/cli/command-objects/server-backup.rst
parent8efed05e823eb76f309c0fee821fdc67a9886a3a (diff)
downloadpython-openstackclient-21212cabd52c85fdd572fc0c230868106a7f8eda.tar.gz
Convert 'server' commands to use autoprogram
Convert the remaining server commands. Change-Id: Ief84abb899be9fd60ce4d546abefc226e0ae4f81
Diffstat (limited to 'doc/source/cli/command-objects/server-backup.rst')
-rw-r--r--doc/source/cli/command-objects/server-backup.rst39
1 files changed, 3 insertions, 36 deletions
diff --git a/doc/source/cli/command-objects/server-backup.rst b/doc/source/cli/command-objects/server-backup.rst
index 9ddb2cdf..f2a2e2c9 100644
--- a/doc/source/cli/command-objects/server-backup.rst
+++ b/doc/source/cli/command-objects/server-backup.rst
@@ -3,42 +3,9 @@ server backup
=============
A server backup is a disk image created in the Image store from a running server
-instance. The backup command manages the number of archival copies to retain.
+instance. The backup command manages the number of archival copies to retain.
Compute v2
-server backup create
---------------------
-
-Create a server backup image
-
-.. program:: server create
-.. code:: bash
-
- openstack server backup create
- [--name <image-name>]
- [--type <backup-type>]
- [--rotate <count>]
- [--wait]
- <server>
-
-.. option:: --name <image-name>
-
- Name of the backup image (default: server name)
-
-.. option:: --type <backup-type>
-
- Used to populate the ``backup_type`` property of the backup
- image (default: empty)
-
-.. option:: --rotate <count>
-
- Number of backup images to keep (default: 1)
-
-.. option:: --wait
-
- Wait for operation to complete
-
-.. describe:: <server>
-
- Server to back up (name or ID)
+.. autoprogram-cliff:: openstack.compute.v2
+ :command: server backup create