You are here: Reference Manual > Client-side Commands (lunacm) > lunacm partition Commands > lunacm partition restoreSIM2 Command

lunacm partition restoreSIM2 Command

NAME

partition restoreSIM2  - insert backed-up user objects

SYNOPSIS

lunacm:> partition restoreSIM2 [-auth <authorization password>] -filename <input file>

DESCRIPTION

Restores/inserts HSM information from backup file. All objects in the file are restored to the HSM.

OPTIONS

 Command            (short)  Description
---------------------------------------------------------
-auth           -a       Authorization password (optional)
-filename       -fi      Input file name

auth  [required if the file is locked] The password that was used to protect the generated file, and now unlocks that file for restoring onto the partition.

filename  [mandatory] The name of the backup file on your computer, from which the restore operation is performed.

SAMPLE OUTPUT

lunacm:> partition restore -filename somepartfile -auth $omePa55word

 Restored Objects:

    Object Handle: 14 (0xe)
    Object Class: CKO_SECRET_KEY
    Key Type: CKK_DES3
    Label: Generated DES3 Key

    Object Handle: 20 (0x14)
    Object Class: CKO_SECRET_KEY
    Key Type: CKK_DES3
    Label: Generated DES3 Key

    Object Handle: 30 (0x1e)
    Object Class: CKO_SECRET_KEY
    Key Type: CKK_DES2
    Label: Generated DES2 Key

    Object Handle: 31 (0x1f)
    Object Class: CKO_SECRET_KEY
    Key Type: CKK_AES
    Label: Generated AES Key

    Object Handle: 32 (0x20)
    Object Class: CKO_PRIVATE_KEY
    Key Type: CKK_RSA
    Label: Generated RSA Private Key

    Object Handle: 33 (0x21)
    Object Class: CKO_PRIVATE_KEY
    Key Type: CKK_ECDSA
    Label: Generated ECDSA Private Key

Command Result : No Error

lunacm:>