Full-machine restore of VMware virtual machines on the cloud

更新时间:
复制 MD 格式

If a service on a VMware virtual machine is interrupted, you can restore the virtual machine locally to ensure service availability. However, if your on-premises infrastructure fails due to events such as an ESXi host breakdown or a data center outage, you can use the Cloud Backup console to restore the backed-up virtual machine as an Alibaba Cloud ECS instance. This ensures business continuity. During the restore process, the system automatically creates a temporary intermediate instance to recover the data. After the restore is complete, the intermediate instance is automatically released, and you can immediately use the destination ECS instance.

Prerequisites

Procedure

Important
  • You can restore only one VMware virtual machine at a time.

  • The intermediate ECS instance, destination ECS instance, disks, and images that are generated during the restore are billed based on the ECS billing rules. For more information about pricing, see ECS Billing.

Step 1: Restore to ECS

  1. Log on to the Cloud Backup console. In the navigation pane on the left, choose Backup > VMware Backup and Disaster Recovery. In the top navigation bar, select the region where your resources are located.

  2. On the Backup Jobs tab, find the backup job for the target virtual machine and click Restore to ECS in the Actions column.

  3. In the Create ECS Image dialog box, configure the virtual machine to restore and the intermediate instance.

    1. On the VMs to Restore tab, select the virtual machine that you want to restore and click Next.

    2. On the Configure Intermediate Instance tab, configure the parameters for the intermediate instance as described in the following table.

      Parameter

      Description

      Hostname

      The hostname of the target ECS instance.

      For Windows: 2–15 characters. Use uppercase or lowercase letters, digits, or hyphens (-). Do not start or end with a hyphen. Do not use only digits.

      For Linux and other systems: 2–64 characters. You can use periods (.) to separate the name into multiple segments. Each segment can contain uppercase or lowercase letters, digits, or hyphens (-). Do not start or end with a period or hyphen.

      Instance Name

      The name of the intermediate ECS instance. After restore completes, this becomes the name of the target ECS instance. Maximum length: 128 characters.

      VPC

      Select a VPC from the VPC list to use during restore.

      vSwitch

      Select a vSwitch from the vSwitch list to use during restore. The zone of the vSwitch determines which ECS instance types are available.

      Instance Family

      The type of the intermediate ECS instance. Options include General-purpose, Compute-optimized, Memory-optimized, High frequency, or Other. Your selection updates the available instance specifications below.

      Instance Type

      The specifications of the intermediate ECS instance. For details, see Overview of ECS instances.

      Note

      If the source instance uses UEFI boot, choose an ECS instance of Generation 7 or later. Otherwise, the instance might fail to start.

      Disk Type

      The storage class of the intermediate ECS instance. Options include Ultra Disk and Standard SSD.

      Note

      All disks from the VM will use the same disk type. Only disks larger than 40 GB support AutoPL.

      Security Group

      Select a security group from the Security Group list to use during restore.

      IP Address Type

      The method for assigning a private IP address to the target ECS instance. Choose DHCP for automatic assignment, or choose Manual and enter an IP address.

      Operating System Type

      The system automatically detects and displays the operating system type of the source virtual machine. No manual configuration is needed.

      Start System After Restore

      Whether to automatically start the target ECS instance after restore completes. Enabled by default.

      Assign Public IP

      Whether to assign a public IP address to the target ECS instance. Disabled by default.

  4. Click OK.

    On the Restore Jobs tab, change the job type to Cloud Restore Jobs to monitor the progress of the restore job. The restore process includes the following stages:

    • Pending: The system is preparing the restore environment.

    • Running: The data is being transferred from the backup vault to the intermediate instance. The page displays the progress and restore speed.

    • Completed: The restore job is successful and the intermediate instance is automatically released. The Destination column displays the name and instance ID of the destination ECS instance.

    Note

    The time required to complete the restore job depends on factors such as the backup data size and network conditions.

Step 2: (Optional) Handle a failed restore

If the restore job fails, its status changes to Failed and the related image information is displayed. In this case, the system has created an ECS image but failed to create an ECS instance. You can use the image to manually create an ECS instance:

  1. Go to the Images page of the ECS console. On the Custom Images tab, find the image whose name contains the restore job ID. The image is named in the format of restore-{VM name}-hbr-{restore job ID}.

  2. In the Actions column of the image, click Create Instance.

  3. On the Custom Launch tab, the system automatically specifies the region and image. Configure the other configuration items as prompted and click Confirm Order.

Note

A restore job may fail because of environment incompatibility between the source virtual machine and the destination ECS instance. For example, the operating system version is not supported, or the configurations of the source virtual machine do not meet ECS requirements.

Step 3: Post-restore validation and resource cleanup

The destination ECS instance that is created from the restore job is billed on a pay-as-you-go basis. We recommend that you validate your workload and release unnecessary resources in a timely manner to avoid incurring unwanted fees.

  • Validate the workload: Use a remote connection tool, such as Remote Desktop Protocol (RDP) for Windows or Secure Shell (SSH) for Linux, to log on to the destination ECS instance and verify the integrity of the system and business data.

  • Release resources: If the restore job is performed only for validation or testing, release the instance in the ECS console to avoid unnecessary charges.

  • Delete images (for failed restore jobs only): If you manually created an ECS instance in Step 2, you can delete the unnecessary images on the Custom Images tab of the ECS console. When you delete an image, we recommend that you also delete its associated snapshots.