tencent cloud

Feedback

Cloning Data

Last updated: 2023-04-19 14:31:45

    Overview

    TencentDB for Redis Memory Edition master and replica instances allow you to clone a complete instance from a backup file in both single-AZ and multi-AZ deployments. The clone instance has the same data as the backup file. You can use the clone feature to analyze historical data. You can also roll back an instance by swapping the IPs of the clone and original instances.

    Version description

    Currently, all Redis versions except 2.8 support instance cloning.

    Prerequisites

    You have backed up the data and generated a backup file. For more information, see Backing up Data.
    The instance is in Running status with no ongoing tasks.

    Directions

    1. Log in to the TencentDB for Redis console.
    2. Above the instance list on the right, select the region.
    3. In the instance list, click the instance ID to enter the Instance Details page.
    4. On the Instance Details page, select the Backup and Restoration tab.
    5. In Backup List, select the time point to roll back the clone instance to based on the backup time. Then, click Clone Instance in the Operation column.
    
    6. On the Clone TencentDB for Redis Instance page, configure the clone instance as needed based on the parameter descriptions below:
    Parameter
    Required
    Description
    Billing Mode
    Yes
    The billing mode of the clone instance is independent of the source instance, so you can flexibly select Monthly Subscription or Pay as You Go. For billing details, see Billing Overview.
    Region
    Yes
    The region of the clone instance is the same as that of the source instance and cannot be modified.
    Instance Edition
    Yes
    The edition and architecture of the clone instance are the same as those of the source instance and cannot be modified.
    Clone Backup
    Yes
    Confirm the source instance ID and name.
    Confirm the backup time. The clone instance will restore data based on the backup file at this time point.
    Specs Preview
    Yes
    The specifications of the clone instance are the same as those of the source instance. You can preview the maximum number of connections and network throughput that the clone instance can support.
    Network
    Yes
    Currently, only VPC is supported.
    AZ
    Yes
    You cannot select Multi-AZ Deployment for the clone instance. Its deployment mode (single-AZ or multi-AZ) depends on the source instance.
    If the source instance is deployed in a single AZ, specify the AZ where the master node is located for the clone instance.
    If the source instance is deployed in multiple AZs, after selecting the master AZ, you need to specify an AZ for a replica in the drop-down list of replica x, where x is the replica number, such as replica 1 and replica 2.
    IPv4 Network
    Yes
    Select the VPC and subnet. We recommend that you select the same VPC in the same region as the CVM instance to be connected to.
    VPCs are region-specific (e.g., Guangzhou), while subnets are AZ-specific (e.g., Guangzhou Zone 1). One VPC can be divided into one or multiple subnets, which are interconnected over the private network by default. Different VPCs are isolated over the private network by default, no matter whether they are in the same or different regions.
    You can switch the VPC after the instance is purchased. You can also click Create VPCs and Create Subnets to create a network environment as needed. For more information, see Creating VPC.
    Port
    Yes
    Customize the port number, which is 6379 by default and ranges from 1024 to 65535. You can modify it after the purchase.
    Parameter Template
    Yes
    Select a parameter template for the clone instance.
    The system automatically matches the appropriate default template based on the selected compatible version and architecture to configure parameters for the instance in batches.
    If you want to create your own template, click Create Parameter Template.
    Project
    Yes
    Assign the clone instance to a project in the drop-down list for easy management.
    The default project is Default Project.
    You can also click Create Project to enter the Project Management page and customize the project name to manage your Tencent Cloud resources.
    Tag
    No
    Add tags to the clone instance for easy classification and management. Click Add to select tag keys and values.
    Security Group
    Yes
    Set security group rules to control the inbound traffic to the clone instance. You can either select a security group from the Existing Security Groups drop-down list or click Custom Security Groups to create one and set inbound rules. For more information, see Configuring Security Group.
    Instance Name
    Yes
    Set the name for the clone instance, which can contain up to 60 letters, digits, hyphens, and underscores.
    Set Password
    Yes
    Select the password authentication method, which can be Password Authentication (default value) or Passwordless Authentication.
    Password
    No
    If you select Password Authentication for Set Password, you need to set an access password for the clone instance according to the following requirements:
    It can contain [8,30] characters.
    It must contain at least two of the following four types: lowercase letters, uppercase letters, digits, and symbols (()`~!@#$%^&*-+=_|{}[]:;<>,.?/).
    It cannot start with a slash (/).
    Confirm Password
    No
    Enter the access password for the clone instance again.
    Quantity
    Yes
    You can purchase up to 100 monthly subscribed instances or up to 30 pay-as-you-go instances at a time. You can purchase up to 100 instances in each region.
    Validity Period
    No
    If you select the Monthly Subscription billing mode, you need to select the purchase period as needed. The longer the purchase period, the higher the discount.
    Auto-Renewal
    No
    If you select the Monthly Subscription billing mode, you can select whether to enable the Auto-Renewal feature. If it is enabled, after the instance expires, fees will be automatically deducted monthly from your Tencent Cloud account.
    Terms of Service
    Yes
    Click TencentDB Terms of Service to learn about the terms of service related to the use of TencentDB, service fees, usage rules, and intellectual property rights.
    Click Service Level Agreement to learn about the agreement that needs to be followed when you use TencentDB for Redis.
    Select I have read and agreed to TencentDB Terms of Service and Service Level Agreement.
    7. Click Buy Now. After the purchase is completed, you will be redirected to the instance list. After the instance becomes Running in the status, you can use it normally. You can exchange the IPs of the new clone instance and the source instance by modifying the IP to achieve the purpose of data rollback.
    Note
    After the instance is cloned, the source instance can be retained or terminated as instructed in Returning and Isolating Instance based on your needs.
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support