Restoring a VM from a Snapshot
- Use your hypervisor tools to restore the VM from the snapshot.
- For Linux, log into the VM as
root
. For Windows, log in as a System Administrator and open a Command Prompt or start Windows PowerShell. -
Enter the
hcl status
command and determine if the grace period has expired. - If required, re-authenticate the VM with Cryptographic Security Platform Vault for VM Encryption as described in Re-Authenticating a Standard VM or Re-Authenticating a VM with an Encrypted Root Device or Boot Disk.
-
After the VM has been authenticated, re-synchronize the device using the
hcl devicesync reason
command, wherereason
is a user-defined reason for the re-sync. This text string is logged in the Cryptographic Security Platform Vault for VM Encryption audit log and added to the alert message sent during sync processing.# hcl devicesync "restored hq-4-linux from snapshot"
-
Make sure the device list in configuration file on the VM is accurate using the
hcl updateconfig
command. This updates the list in real time without requiring a VM reboot.# hcl updateconfig