tencent cloud


Offline Migration

Last updated: 2022-07-27 15:05:02

    This document describes how to migrate your instance and data in an offline manner.


    Supported by TencentCloud Service Migration (CSM), the service migration feature lets you migrate operating systems, applications, and application data from a source server to a Cloud Virtual Machine (CVM) instance or Cloud Block Storage (CBS) instance. It helps meet enterprise needs for cloudification, cross-cloud migration, cross-account or cross-region migration, and hybrid cloud deployment.

    Service Migration provides offline migration and online migration. Offline migration includes:

    • Migrate to CVM allows you to migrate a system disk image (or both system disk image and data disk image if necessary) to a specific CVM instance.
    • Migrate to CBS allows you to migrate a data disk image to a specific cloud disk.


    Activate Tencent Cloud Cloud Object Storage (COS) and make sure COS is available in your region.
    For regions supported by COS, see Regions and Access Endpoints.


    • Supported image formats: QCOW2, VHD, VMDK, and RAW. We recommend using the compressed image format to shorten the transmission and migration time.
    • The image to upload is stored in the COS bucket in the same region as of the destination CVM.
    • If you need to import both the system disk images and data disk images, the target instances must be mounted with a corresponding amount of data disks.
    • The capacity of the target disk should be greater than (as recommended) or equal to that of the source disk.
    • Snapshot files (such as *-00000*.vmdk) are not supported.
    • Create an image of the source server.
    • Upload the created image file to COS.
      • For large image files, it is recommended to upload by using the COSCMD tool to prevent upload interruption. For more information, see COSCMD.
      • If images exported from other cloud platforms are compressed packages (such as .tar.gz files), you can upload them directly to COS.
    • Obtain the COS address of the uploaded image.
      Go to the COS console, locate the image file you just uploaded and copy the temporary URL on the image file details page.
    • Prepare the destination CVM or cloud disk.


    1. Log in to the CVM console and click Service Migration in the left sidebar.
    2. Click Migrate to CVM on the “Offline migration” page.
    3. In the “Migrate to CVM” pop-up window, complete the preparation, and click Next.
    4. Select the region and enter the task name, COS link and the CVM instance to migrate to.
    5. Click Complete.
      During the migration, you can quit or close the Service Migration page. You can also return to this page anytime to check the task progress.


    For more information, see Service Migration.

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support