Page cover
For the complete documentation index, see llms.txt. This page is also available as Markdown.

snapshot-restore

Restore a flexi image snapshot to a VM or storage instance. This command allows you to revert a VM or storage instance to the state captured in a flexi image snapshot.

Usage

cldkctl flexi-image snapshot-restore [flags]

Aliases

snapshot-restore, snapshot-restore

Steps

Follow the steps below to run and view the result of this command:

  1. Refer to the Image List section to obtain the image ID.

  2. Refer to the Image Detail section to obtain the instance ID.

  3. Run the following command in your terminal:

cldkctl flexi-image snapshot-restore --image [image-id] --instance [instance-id] 
  1. Replace [image-id] with the image ID and [instance-id] with the instance ID.

  2. When prompted, type y to confirm the snapshot restore.

  3. Once completed successfully, the terminal displays the success message.

Flags

This command supports global flags. Refer to the Global Flags section for details

Flag
Description

-h, --help --image string --instance string

Help for the snapshot-restore command. Image ID of the snapshot to restore. Instance ID of the VM or storage to restore.

Last updated