Home >

LunaSH Command Reference Guide > LunaSH Commands > sysconf > sysconf config export

sysconf config export

Exports a configuration backup file from the file system to the internal HSM, or to an external backup token.This command overwrites the existing configuration file with the same name.

-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".

Syntax

sysconf config export -file <filename> [-devicetype <devicetype>] [-serialnumber <serialnum>] [-force]

DESCRIPTION

Parameter Shortcut      Description         
-devicetype    -d <devicetype>    Device Type (hsm, token)   
-file    -fi <filename>    File Name to delete   
-force     -fo Force Action (no prompting for confirmation)   
-serialnumber    -s <serialnum>    Token Serial Number   

Example

[myluna] lunash:>sysconf config export -file myluna_Config20101021_2015.tar.gz
-devicetype hsm 
WARNING !!  This command exports the configuration backup file: factoryInit_local_host_Config.tar.gz to the hsm. 
It will overwrite the existing configuration file with the same name on the hsm.
If you are sure that you wish to proceed, then type 'proceed', otherwise type 'quit'..
> proceed

Proceeding...
Command Result : 0 (Success)