Clone Instances

Last updated: 2021-03-23 11:00:45

    This document describes how to clone a TencentDB for MySQL instance and quickly restore data to the newly purchased clone in the console.

    Overview

    You can clone a TencentDB for MySQL instance, and restore the clone to any point in time within the log backup retention period or from the backup set of a specific physical backup. The clone is a new instance created from the backup data according to the restoration point in time you have specified. After the clone has been verified, you can migrate its data back to the original instance with DTS or you can start using the clone.

    Clone mode

    • Clone an instance and restore the clone to any point in time within the log backup retention period you set.
    • Clone an instance and restore the clone from the backup set of a specific physical backup within the data backup retention period you set.

    Billing of the clone

    • The clone adopts the pay-as-you-go billing mode. For more information about this billing mode and fee calculation, please see Billing Overview.
    • The clone will not be billed until the clone process is completed.

    Prerequisites

    • Supported instance architectures: two-node or three-node MySQL
    • The original instance must be in the Running status.
    • If the clone mode is set to By backup set, the original instance must have created at least one physical backup. You can log in to the console, select Database Backup on the left sidebar, and view backup status on the Backup List tab.
    • The balance of your account must be positive.

    Notes

    • The hard disk space of the clone must be larger than the amount of the data to be cloned from, or else the clone task may fail.
    • The availability zone, database version, replication mode, and default database parameters of the clone must be the same as those of the original instance.
    • The clone will not be displayed in the instance list in the console until the clone process is completed.

    Directions

    1. Log in to the TencentDB for MySQL console. In the instance list, click an instance ID/name or Manage in the Operation column to access the instance management page.
    2. Select Backup and Restore > Data Backup List, click Clone on the upper left corner, or locate the desired backup and click Clone in the Operation column.
    3. On the displayed purchase page, specify the restoration mode and other configurations, and click Buy Now.
    • By time point: you can restore the clone to a point in time within the log backup retention period you set.
    • By backup set: you can restore the clone from the backup set of a specific physical backup within the data backup retention period you set.

      Note:

      You can log in to the console, select Database Backup on the left sidebar, and view backup retention period on the Backup List tab.

    1. After purchase, you can view the clone details on the Backup and Restore > Cloned Instance List tab.
    2. After the clone process is completed, you can view the clone in the instance list.

    References

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help