CLI – Backing up or restoring Spectrum Connect configuration

At any point, you can back up the current Spectrum Connect 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.

Table 1. Arguments for sc_configuration
Argument Use after sc_configuration to:
backup -f <file name> -k <8 characters>

or

backup --file <file name> --key <8 characters>

Save the current IBM Storage Provider configuration to the specified file using an AES-256 encryption key that comprises 8 characters.
For example:
sc_configuration backup -f confbackup -k abcdefghijklmnop
Important: You will need to provide this key in any restore operation (see below).
restore -f <file name> -k <8 characters>

or

restore --file <file name> --key <8 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:
sc_configuration restore -f confgbackup -k abcdefghijklmnop
restore -f ./vasa115exported.db Restore an existing Spectrum Connect 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:
sc_configuration restore -f ./vasa115exported.db
-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.