Home >

Lunacm Command Reference Guide > LunaCM Commands > partition > partition clone

partition clone

Clone User partition objects from the HSM into another HSM installed in the same computer.

Syntax

partition clone -objects <handles> [-force] -password <password> -slot <slot number>

Parameter Shortcut Description
-force -fo Force the action without prompting.
-objects -o

Specifies the object handles to extract. You can specify the object handles to clone using any of the following methods:

a single object handle

zero, to indicate that all objects are to be extracted

a list of handles, separated by commas. For example: -objects 3,4,6

-password -p The target slot password. This option does not apply to PED-authenticated HSMs/tokens.
-slot -s The target slot.

Example

lunacm:> partition clone -objects 0 -slot 2
 
Verifying that the specified objects can be cloned.
 
All objects will be cloned.
 
Logging in to target slot 2.
 
Type 'proceed' to continue, or 'quit' to quit now -> proceed
 
The cloned objects have been written to the token in slot 2.
 
Command Result : No Error