When data is accidentally deleted or you need to quickly deploy a new environment with existing data, you can clone a Tair (Redis OSS-Compatible) instance from a backup set. The cloned instance contains data identical to the backup set you select.
Prerequisites
Before you begin, make sure you have:
A backup set available under the source instance's Backup and Recovery page
A new instance configuration planned where the total memory capacity exceeds the size of the backup set. Otherwise, data restoration may fail.
Billing
Cloning an instance creates a new billable instance. For pricing details, see Billable items.
Clone an instance from a backup set
Do not change the configurations of the source instance during cloning. Any configuration change to the source instance while cloning is in progress causes the clone to fail.
Log on to the console and go to the Instances page. In the top navigation bar, select the region where the source instance resides. Find the instance and click its instance ID.
In the left navigation pane, click Backup and Recovery.
Find the backup set and click Restore in the Actions column.
For a cluster instance deployed in classic mode, select the backup sets of all shards before clicking Restore. For example, for a cluster instance with two shards, select both r-bp1vhgd6dzgu89****-db-0 and r-bp1vhgd6dzgu89****-db-1, then click Restore in the upper-left corner.
In the confirmation message, click OK.
On the Clone Instance page, configure the parameters for the new instance. The new instance can have a different number of shards or a different architecture from the source instance. The parameters shown in the console take precedence.
Read the terms of service and click Buy Now.
After payment, the new instance is available in the console within 1 to 5 minutes.
What's next
After the cloned instance is ready, complete the following steps to make it operational:
Configure a whitelist — Add the IP addresses that need access to the instance. See Configure whitelists.
Set a password — If you did not set a password when creating the instance, set one now. See Change or reset the password.
Verify data and update your application — On the instance details page, copy the endpoint of the new instance. Connect to it and verify that the data matches your expectations. Once verified, update your application to use the new endpoint to restore your service.
If you no longer need the source instance, release it to avoid unnecessary charges. See Refund policy.
API reference
| Operation | Description |
|---|---|
| CreateInstance | Creates an instance and restores data from a specified backup set to the instance. |