Home >

Administration Guide > Backup and Restore > Backup & Restore in General

Backup and Restore in General

Backup of Luna G5 HSMs uses the cloning feature and the hsm clone or partition clone commands. Cloning takes place from hardware to hardware (from one Luna G5 HSM connected to your computer to another Luna G5 HSM connected to the same computer) in secure fashion.

When backing up the contents of an HSM or a partition on an HSM, the source and target HSMs must share the same cloning domain (red PED Key for PED Authenticated HSMs), if cloning is to take place. The domain is set at initialization time, and cannot be altered without initializing the HSM again. During the transfer, all data is encrypted with the domain secret.

HSM or Partition

Roughly equivalent backup and restore options exist for the main SO space of the HSM, and for the User Partition. These are handled separately.

For the HSM level, if you clone to a second HSM you wipe that target (initialize it) and fill it with the SO objects from the source HSM. In most cases there would not be any SO-only objects - you would be cloning the structure (authentication, etc.) Similarly, if you restore to an HSM, you initialize it in the process. This means that you cannot incrementally or selectively restore HSM SO-owned objects via cloning, so you cannot keep any changes that you made in the original HSM after the backup (clone) was made.

Normally, this is not an issue, because there is usually little need to backup SO-owned objects at the HSM level. The SO level is usually only administrative on the HSM.

The more usual requirement is to backup the working contents of a User Partition, which is the level where the real work of your Client applications takes place, and the working keys and certificates and other objects are stored.

For partitions, the cloning can include all partition objects or a subset that you indicate by a (comma-separated) list of object handles.

Your backup and restore operations are "lunacm partition clone", in either direction (to the target HSM's partition for the backup operation, or from it for the restore operation).

Other Info

The authentication for the Backup Tokens can match that of the HSM or Partition, or it can be different. This is a decision that should be referred to your organization's security policies. However, the HSM and the backup token must share the same domain.