Skip to content
BACKUP / RESTORE

Separate VM from a template ​

Turn a snapshot into a template and create a new VM to validate recovery separately.

Recommended method for preserving the original VM

Of the methods presented, this is the safest for preserving the original VM: recovery takes place in another instance, without reverting its volume or replacing its ROOT disk. You can inspect the recovered system and data before deciding how to use them.

1. Locate the snapshot and create the template ​

  1. Open Storage → Volume Snapshots, or use View Volume Snapshots from volume details.
  2. Select a snapshot of the VM's system disk. Check the source volume, date and zone.
  3. Verify that snapshot creation completed successfully.
  4. In snapshot details, click Create Template, using the icon indicated in the screenshot.
Select Create Template on the snapshot.
Select Create Template on the snapshot.

The template uses the contents of this volume. Additional VM data disks are not automatically included; plan their recovery separately if the application requires them.

2. Complete Create Template ​

In the Create Template dialog, configure:

FieldGuidance
NameA recognizable recovery name, such as vm-demo-backup.
DescriptionIdentify the source VM and the snapshot used.
ZoneSelect the zone for the template from the available options.
DomainWhere applicable, use the domain for your environment.
OS typeSelect the operating system present in the snapshot. Ubuntu 26.04 LTS is only the screenshot example.
ArchUse the recovered system's architecture; the example uses x86_64.
PublicKeep disabled to keep the template and recovered data private.
Complete the template fields and keep Public disabled.
Complete the template fields and keep Public disabled.

Dynamically scalable, HVM, Password enabled and Featured are disabled in the example. Configure them according to the system and environment. Enable Password enabled only if the template's operating system supports CloudStack password reset; selecting it does not automatically prepare the system. See the template creation reference.

Review the fields and click OK. Wait for template creation to finish.

3. Select the ready template ​

Open Templates and find the new template. Check its name, operating system, architecture and zone. Wait for Ready before creating the instance.

The screenshot shows vm-demo-backup as Ready, with the Create Instance button available.

With the template Ready, click Create Instance.
With the template Ready, click Create Instance.

4. Create a separate instance ​

  1. Click Create Instance on the template.
  2. In the wizard, verify that the newly created template is selected.
  3. Choose the zone and CPU, memory and storage resources appropriate for the recovered system.
  4. Give the new VM a distinct name, such as demo-vm-restore.
  5. Select a network suitable for recovery validation and review the remaining wizard fields.
  6. Confirm creation and wait for completion.

Validate the copy on a controlled network

The restored disk may contain static IPs, hostnames, credentials and services configured for production. Before the new VM starts, select an isolated or restricted network to avoid conflicts and prevent the copy from running jobs or writing to production services during validation.

5. Start and check the new VM ​

If the new instance did not start automatically, power it on. Open its console and verify:

  • Operating system startup and required services.
  • Expected files and settings from the snapshot's point in time.
  • Any additional volumes the application needs recovered.
  • Network configuration and the new instance's identity.

The result is a separate VM whose system disk contains the snapshot data. The original VM and its disks are preserved. Plan any production traffic, DNS or service cutover after validating recovery.