Clone backup data from Redis Open-Source Edition 2.8 or 4.0 instances to a 5.0 instance for compatibility verification before upgrading.
Procedure
Log on to the console and go to the Instances page. In the top navigation bar, select the region in which the instance is deployed. Then, find the instance and click its ID.
In the left-side navigation pane, click Backup and Restoration.
-
Clone the instance based on its architecture.
Standard architecture
Find the backup set that you want to use. In most cases, the latest backup set is used. Then, click Restore.
Cluster architecture
For a cluster instance, select the backup sets of all shards. For example, if the cluster has four shards, select the following backup sets:
-
r-bp1vhgd6dzgu89****-db-0
-
r-bp1vhgd6dzgu89****-db-1
-
r-bp1vhgd6dzgu89****-db-2
-
r-bp1vhgd6dzgu89****-db-3
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 take precedence.
-
Set the Version parameter to Redis 5.0. With the same specifications and architecture, a Redis Open-Source Edition 5.0 instance costs the same as the original instance.
NoteYou can also select a Tair (Enterprise Edition) memory-optimized instance, which delivers three times the performance of a Redis Open-Source Edition instance with the same specifications.
-
The new Instance Type must be equal to or greater than the original instance specifications.
Use the default values for other parameters.
-
-
Read the Terms of Service and click Buy Now.
After payment, wait 1 to 5 minutes. You can then view the new instance created from the original Redis Open-Source Edition instance in the console.
What to do next
-
After the instance is cloned, you can migrate your workloads to the new instance for compatibility verification. Add the IP address of your client to a whitelist of the new instance and update the endpoint in your code. For more information, see Configure whitelists and View endpoints.
-
After compatibility verification is complete, you can release the new instance and upgrade the major version of the original Redis Open-Source Edition instance from 2.8 to 5.0. After the upgrade, the instance ID, connection address, data, and whitelist settings remain unchanged. For more information, see Upgrade the major version.