tencent cloud

Feedback

Retrying Task (Redis)

Last updated: 2024-07-08 20:31:48

    Overview

    After a sync task is started, if it is interrupted due to an exception, you can manually retry it.
    For Redis migration links, the task retry mechanism is to execute the data migration task again after the task interruption, with the previously migrated data cleared or overwritten.
    This document describes manual retry operations. You can also set automatic retry when configuring the task as instructed in Migration from Redis to TencentDB for Redis. The manual and automatic retry mechanisms are the same.

    Note

    Only the tasks in the Task error (error) status can be retried.

    Directions

    Note
    As the retry operation will clear or overwrite the data in the target database, you need to configure the target database read/write policies for DTS.
    For tasks created after the retry feature was released in June 2023, such policies can be set in the task configuration stage
    For tasks created before the retry feature was released in June 2023, such policies need to be set on the Task Details page.

    Configuring target database read/write policies for new tasks

    Below are brief instructions. For detailed directions, see Migration from Redis to TencentDB for Redis.
    1. Log in to the DTS console, select Data Migration on the left sidebar, click Create Migration Task, and purchase a task.
    2. In the task list, select the purchased task and click Configure in the Operation column.
    3. In the Set source and target databases step, set the automatic retry time.
    
    4. In the Set migration options and select migration objects step, set the target database read/write policy.
    Target Database Write Mode
    Clear target instance: This option indicates that when you sync the data from the source database to the target database, the existing data in the target database will be cleared to allow for the synced data to be written.
    Overwrite: This option indicates that when you sync the data from the source database to the target database, keys in the target database will be overwritten by those in the source database.
    Enable Target Database Read/Write: To use the task retry feature, you must enable this option to allow DTS to write data to the target database.
    
    5. Verify the task and start it.

    Configuring target database read/write policies for existing tasks

    1. Log in to the DTS console, select Data Migration on the left sidebar, select a target task, and click the task ID.
    2. On the Task Details page, modify the Target Database Write Mode and Target Database Read/Write parameters.
    

    Retrying the task

    1. Select Data Migration on the left sidebar and select a target migration task.
    2. In the Operation column, click More > Retry.
    
    
    
    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