cluster restore run

Run a cluster restore operation on demand. This command does not restore the SMK used to encrypt the contents of the cluster. Refer to Backing Up/Restoring the Cluster SMK for this procedure.

NOTE   Thales requires minimum Luna Appliance Software 7.8.5 with the lnh_cluster-1.0.4 package, Luna HSM Firmware 7.8.4, and Luna HSM Client 10.7.2 to use clusters in production environments.

Backup and restore operations can only be done on the primary member of the cluster. Stop the cluster service on all non-primary members of the cluster before you begin the restore operation:

lunash:> service stop cluster

NOTE    Objects on the target cluster are overwritten by restored objects with the same UUID. Keyring configurations (roles, passwords, lock status) are also restored to their backup state.

REST API: PUT /api/cluster/restore

User Privileges

Users with the following privileges can perform this command:

>Admin

Syntax

cluster restore run -filename <filename> -restorepassword <password> -type keyring

Argument(s) Shortcut Description
-filename <filename> -f Specifies the backup filename to restore from.
-restorepassword <password> -r Specifies the password that was set on the backup file.
-type <string> -t Restores keyring data from a backup file. You must specify keyring as the data type.

Example

lunash:>cluster restore run -filename myBackup.tar.gz -type keyring -restorePassword myBUpassword

Successfully started job with ID 6

Command Result : 0 (Success)