Change --mode description
When backup cinder or nova using freezer-agent(do not use 'path-to-backup' option), if you do not use the --mode option(Default value 'fs' will be set), the command-line report a critial error. So, it is better to add nova and cinder to mode cfg description. You can also see: https://review.openstack.org/#/c/379281/7 Change-Id: I56981278986d4a032044421e356518b814f01a78
This commit is contained in:
parent
4b958c28f3
commit
c66dd8f3e7
|
@ -347,7 +347,7 @@ data in the future.
|
|||
|
||||
Execute a cinder backup::
|
||||
|
||||
$ freezer-agent --cinder-vol-id 3ad7a62f-217a-48cd-a861-43ec0a04a78b
|
||||
$ freezer-agent --mode cinder --cinder-vol-id 3ad7a62f-217a-48cd-a861-43ec0a04a78b
|
||||
|
||||
Execute a MySQL backup with Cinder::
|
||||
|
||||
|
@ -365,7 +365,7 @@ of that instance will be sufficient to restore your data in future.
|
|||
|
||||
Execute a nova backup::
|
||||
|
||||
$ freezer-agent --nova-inst-id 3ad7a62f-217a-48cd-a861-43ec0a04a78b
|
||||
$ freezer-agent --mode nova --nova-inst-id 3ad7a62f-217a-48cd-a861-43ec0a04a78b
|
||||
|
||||
Execute a MySQL backup with Nova::
|
||||
|
||||
|
|
|
@ -110,7 +110,8 @@ _COMMON = [
|
|||
default=DEFAULT_PARAMS['mode'],
|
||||
help="Set the technology to back from. Options are, fs "
|
||||
"(filesystem),mongo (MongoDB), mysql (MySQL), sqlserver "
|
||||
"(SQL Server) Default set to fs"),
|
||||
"(SQL Server), cinder(OpenStack Volume), nova "
|
||||
"(OpenStack Instance). Default set to fs"),
|
||||
cfg.StrOpt('engine',
|
||||
short='e',
|
||||
dest='engine_name',
|
||||
|
|
Loading…
Reference in New Issue