sysconf config import
Import a configuration backup file from the internal HSM or from an external backup HSM and saves it as a file. This command overwrites the existing configuration file with the same name.
This command does not restore the configuration from the imported file. You can use the sysconf config restore command after running this command to restore the configurations.
-serialnumber is required if -devicetype is "token" and optional if -devicetype is "hsm".
SO login is required before running this command if -devicetype is "hsm" or "token".
User Privileges
Users with the following privileges can perform this command:
>Admin
Syntax
sysconf config import -file <filename> [-devicetype <devicetype>] [-serialnumber <serialnum>] [-force]
Argument(s) | Shortcut | Description |
---|---|---|
-devicetype <devicetype> | -d | Device Type (hsm, token) |
-file <filename> | -fi | File Name to delete |
-force | -fo | Force the action without prompting. |
-serialnumber <serialnum> | -s | Token Serial Number |
Example
lunash:>sysconf config import -file local_host_Config_20170301_1212.tar.gz -devicetype hsm -serialnumber 66331
WARNING !! This command imports the configuration backup file: local_host_Config_20170301_1212.tar.gz from the hsm.
It will overwrite the existing configuration file with the same name.
If you are sure that you wish to proceed, then type 'proceed', otherwise type 'quit'.
> proceed
Proceeding...
Command Result : 0 (Success)