summaryrefslogtreecommitdiff
path: root/doc/source/command-objects/backup.rst
diff options
context:
space:
mode:
authorHuanxuan Ao <huanxuan.ao@easystack.cn>2016-08-09 10:12:04 +0800
committerHuanxuan Ao <huanxuan.ao@easystack.cn>2016-08-11 09:32:10 +0800
commit39c5eb9e3fe89bf177e513e447f22b62f5e4785c (patch)
tree46dae19c7d0728186443876767bf3b9bbc84b500 /doc/source/command-objects/backup.rst
parent80fd9b2bd442ec6fdc81885bcb8b8e6adc7336d7 (diff)
downloadpython-openstackclient-39c5eb9e3fe89bf177e513e447f22b62f5e4785c.tar.gz
Rename backup commands in volume v1 and v2
Backup commands are used only in volume service now, but "backup" is too generic, users may not know the commands are used for volume from the commands name. By seeing the command name, users can only see the "backup" but do not know which object the backup commands work for. It may confuse users. I think rename "backup" to "volume backup" can depict resource relation and will be helpful for users to know the commands clearly. So add new commands ``volume backup create/delete/ list/show/restore`` to replace the old commands ``backup create/delete/list/show/restore``. And also deprecate old commands. Change-Id: I4f844d9bc48573eb4d17288ce6b8a90cea00d16a Implements: bp backup-snapshot-renamed-for-volume-resource Co-Authored-By: Sheel Rana <ranasheel2000@gmail.com>
Diffstat (limited to 'doc/source/command-objects/backup.rst')
-rw-r--r--doc/source/command-objects/backup.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/source/command-objects/backup.rst b/doc/source/command-objects/backup.rst
index 4abc155f..ac887086 100644
--- a/doc/source/command-objects/backup.rst
+++ b/doc/source/command-objects/backup.rst
@@ -8,6 +8,7 @@ backup create
-------------
Create new backup
+(Deprecated, please use ``volume backup create`` instead)
.. program:: backup create
.. code:: bash
@@ -60,6 +61,7 @@ backup delete
-------------
Delete backup(s)
+(Deprecated, please use ``volume backup delete`` instead)
.. program:: backup delete
.. code:: bash
@@ -83,6 +85,7 @@ backup list
-----------
List backups
+(Deprecated, please use ``volume backup list`` instead)
.. program:: backup list
.. code:: bash
@@ -98,6 +101,7 @@ backup restore
--------------
Restore backup
+(Deprecated, please use ``volume backup restore`` instead)
.. program:: backup restore
.. code:: bash
@@ -119,6 +123,7 @@ backup show
-----------
Display backup details
+(Deprecated, please use ``volume backup show`` instead)
.. program:: backup show
.. code:: bash