OmniCube CLI Reference 2 - CLI Commands
| | | (name or ID) | |
| --backup | | The backup being copied, | |
| | | unspecified means most recent | |
| --source | | The backup's source | |
| | | datacenter, unspecified means | |
| | | any | |
| --destination | | [Required] The destination | |
| | | datacenter (name or ID) | |
| --sessionfile | | File where session info is | VI_SESSIONFILE |
| | | stored | |
| --server | | The address of vCenter server | VI_SERVER |
| --credstore | | Credential store from which to | VI_CREDSTORE |
| | | pull user credentials | |
| --output | text | The command output format | SVTCLI_OUT |
| | | which can be 'text' or 'xml' | |
| --timeout | 120 | The timeout (in seconds) for | SVTCLI_TIMEOUT |
| | | the command | |
| --force | | override the "Are you sure? " | SVTCLI_FORCE |
| | | prompt for set commands | |
| --help|? | | Displays built-in help | SVTCLI_HELP |
| --wait | y | Whether or not to block | SVTCLI_WAIT |
| | | waiting for command to finish | |
'--------------------+--------------+------------------------------------+--------------------'
Common Command Options
You can use common options for any CLI command. See the following:
• vCenter Identification and Authentication Options on page 12.
• Command Operation Control Options on page 13.
For common command options, you can use environment variables to set the values. Environment variables are
useful when you are issuing many commands to the same Federation. See Using Environment Variables on page
9.
vCenter Identification and Authentication Options
OmniCube operates as an extension to vCenter Server and uses the vCenter Server access control system to
determine which users can access resources and perform tasks.
To use OmniCube CLI commands, as svtcli user or root user, you must identify the vCenter Server where the
Federation resides and provide valid authentication credentials. Table-2 describes the vCenter Server
identification and authentication options.
Note: You can also use a single sign-on account, in which case you do not need to start a session.
See vCenter Server Address and Credentials on page 6 for more information.
12