All Products
Search
Document Center

:Restore data from a backup set to a new instance

Last Updated:Nov 04, 2024

In scenarios in which data is accidentally deleted or quick business deployment is required, you can clone a Tair instance from a specified backup set. The data on the new instance is the same as the data in the backup set.

Precautions

  • When you clone an instance, you can create a new instance whose number of shards or architecture is different from the source instance. However, you must make sure that the total memory capacity of the new instance is greater than the size of the backup set. Otherwise, data restoration may fail.

  • During the cloning process, do not change the configurations of the source instance. Otherwise, the cloning fails.

Billing

When you restore data from a backup set to a new instance, a new Tair instance is created, and you are charged related fees. For more information, see Billable items.

Procedure

  1. Log on to the Tair console and go to the Instances page. In the top navigation bar, select the region in which the instance that you want to manage resides. Then, find the instance and click the instance ID.

  2. In the left-side navigation pane, click Backup and Restoration.

  3. Find the backup set that you want to use and click Restore in the Action column.

    Important

    If the instance uses the cluster architecture, select the backup sets of all shards of the instance. For example, if you have a cluster instance that has two shards, you must select the r-bp1vhgd6dzgu89****-db-0 and r-bp1vhgd6dzgu89****-db-1 backup sets, and then click Restore in the upper-left corner.

  4. In the message that appears, read the prompt and click OK.

  5. On the Clone Instance page, configure the required parameters. The parameters displayed in the console prevail.

  6. Read and select the Tair terms of service.

  7. Click Buy Now.

    After you complete the payment, wait for 1 minute to 5 minutes. Then, you can view the created instance in the Tair console.

What to do next

After you create a new instance, you may need to perform the following operations:

  • Configure a whitelist for the instance. For more information, see Configure whitelists.

  • If you did not configure a password when you created the instance, specify an account password for the instance. For more information, see Change or reset the password. If you have already configured a password, skip this step.

  • On the instance details page in the Tair console, obtain the endpoint of the new instance and connect to the instance for data verification. If the instance passes the verification, you can use the endpoint of the instance on your application to restore your business.

Note

If you no longer use the source instance, you can release the instance to conserve resources. For more information, see Refund policy.

Related API operations

API operation

Description

CreateTairInstance

Creates an instance and restores data from a specified backup set to the instance.