Home >

LunaCM Command Reference Guide > LunaCM Commands > partition > partition archive restore

partition archive restore

Restore partition objects from a backup. Use this command to restore objects from the specified backup partition, in a backup HSM, in a specified slot, to the current user partition.

Syntax

partition archive restore -slot <slot> -password <password> -partition <backup partition>

Parameter Shortcut Description
-commandtimeout -ct The command timeout for network communication. The default timeout is 10 seconds. The maximum timeout is 3600. This option can be used to adjust the timeout value to account for network latency. (optional)
-debug -de Turn on additional error information. (optional)
-hostname -ho Host name of remote workstation running remote backup server. (required when -slot remote is used - this is used for a non-RBS, TCP/IP-only connection, no NTLS)
-partition -par Partition on the backup device. (maximum length of 64 characters) .
-password -pas User password for the specified partition.
-port -po Port number for remote backup server on remote workstation. (required when -slot remote is used - this is used for a non-RBS, TCP/IP-only connection, no NTLS)
-slot -s

Target slot containing the backup device. It can be specified by any of the following:

<slot number>, if the backup slot is visible in the current system as an NTLS/RBS slot.

remote -hostname <host name> -port <port number> if the backup device is in a remote work station.

direct to specify a USB attached backup device. If you know the slot number that contains the USB attached Backup HSM, you can specify that slot number explicitly (for example, -slot 5)

etoken to specify a SFF backup (eToken 7300) inserted into a SafeNet PED connected to the local HSM or connected by USB to a host computer running PedServer.

Example

lunacm:> partition archive restore -slot 6 -password <somepassword> -partition mybackupPar  

        Logging in to partition mybackupPar on slot 6 as the user.

        Verifying that all objects can be restored...

        1 object will be restored.

        Restoring objects...
        Cloned object 50 from partition mybackupPar (new handle 39).

        Restore Complete.

        1 objects have been restored from partition mybackupPar on slot 6. 

Command Result : No Error

Example: Restore One or All Objects from an SFF eToken

Example: Restore All objects from an SFF eToken  

Example: Restore Objects from an SFF eToken, where some already exist on target

Note:  Objects that also exist on the target HSM fail to be restored from the SFF eToken.