In scenarios where data is accidentally deleted or rapid business deployment is required, you can clone a Tair (Redis OSS-compatible) instance from a specified backup set at any time. The data in the new instance will be identical to that in the specified 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
Restoring data from a backup set to a new instance creates a new instance and incurs associated costs. For more information, see Billable items.
Procedure
Log on to the 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.
In the navigation pane on the left, click Backup and Recovery.
Find the backup set that you want to use and click Restore in the Actions column.
NoteIf the instance is a cluster instance deployed in classic mode, select the backup sets of all shards of the instance. For example, if you have a cluster instance with 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.
In the message that appears, read the prompt and click OK.
On the Clone Instance page, configure the required parameters. The parameters displayed in the console prevail.
Read the terms of service and click Buy Now.
After completing the payment, wait for 1 to 5 minutes. Then, you can view the created instance in the console.
What to do next
After creating 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 creating 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 of the console, obtain the endpoint of the new instance and connect to it for data verification. If the instance passes verification, you can use the instance endpoint in your application to restore your business.
If you no longer need the source instance, you can release it to conserve resources. For more information, see Refund policy.
Related API operations
API operation | Description |
Creates an instance and restores data from a specified backup set to the instance. |