Use the restore command to restore the settings that are already saved in the file for the current server.
restore command syntax
OneCli.exe config restore --file <filename> [<options>]
Parameter | Required/Optional | Notes |
---|---|---|
--file | Optional |
|
--passphrase | Optional | The passphrase to recover SED AK.
|
--incbackupctl | Optional | Include VPD settings when restoring from the external file
specified by --file. |
--kcs | Optional | Force to use IPMI over KCS local interface. |
|
Optional | Refer to Table 2. |
Users can use the saved file got in the save command. If users create the file and specify with the --file option, follow the file format. For more information, refer to save command.
There may be a long list of settings in the outputs of restore command. Therefore, OneCLI puts the results including all saved settings in a file and shows the summary in the command shell.
Example of the restore command
OneCli.exe config restore --file saved.txt --bmc userid:password@host