snapshot-restore
Last updated

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.
cldkctl flexi-image snapshot-restore [flags]snapshot-restore, snapshot-restoreFollow the steps below to run and view the result of this command:
Refer to the Image List section to obtain the image ID.
Refer to the Image Detail section to obtain the instance ID.
Run the following command in your terminal:
cldkctl flexi-image snapshot-restore --image [image-id] --instance [instance-id] Replace [image-id] with the image ID and [instance-id] with the instance ID.
When prompted, type y to confirm the snapshot restore.
Once completed successfully, the terminal displays the success message.

This command supports global flags. Refer to the Global Flags section for details
-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