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.
Note:
- All CLI command arguments are case-sensitive.
- The backup and restore operations are not available on the Spectrum Connect GUI.
-
Attention:
- Before using the restore option, the IBM® VASA Provider service must be stopped as explained in Checking and controlling the Spectrum Connect Linux service. Start the service again after the configuration has been loaded.
- restore should be used only with a freshly installed Spectrum Connect that has not yet been configured.
| 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:
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:
|
| -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. |