CLI – Backing up or restoring a Spectrum Control Base configuration
At any point, you can back up the current Spectrum Control Base configuration and save it to a file, or load a previously saved configuration to restore a configuration.
The configuration includes storage credentials, storage systems, vCenter credentials, and storage resource attachments.
Use the sc_configuration CLI command to save the existing configuration, or load a saved configuration to replace the existing one. Use the required argument after the command, as specified in the following table.
Note:
|
Attention:
|
| Argument | Use after sc_configuration to: |
|---|---|
| backup -f <file name> -k
<32characters> or backup --file <file name> --key <32 characters> |
Save the current IBM Storage Provider
configuration to the specified file using an AES-256 encryption key that comprises 32
characters. For
example:
Important: You will need to provide this key in any restore operation (see
below).
|
| restore -f <file name> -k <32
characters> or restore --file <file name> --key <32 characters> |
Load a configuration from a specified file by providing the file name and the
encryption key that was used in the creation of the file. Attention: See the notes above
this table.
For
example:
|
| restore -f ./vasa115exported.db | Restore an existing Spectrum Control Base configuration that was made with IBM Storage Provider for VMware VASA version 1.1.5 (applicable
only to XIV® systems). For this restore operation, you do not
need to provide an encryption
key:
|
| -h
or --help |
Display help information that is relevant to
sc_configuration. You can also display help for the backup or restore argument if it is typed on the command line as well. |