Importing Backup Files from Redis
Scenario
Use the DCS console to migrate Redis data from self-hosted Redis to DCS for Redis.
Simply back up your Redis data, create a migration task on the DCS console, and then import the backup to a DCS Redis instance.
Prerequisites
A master/standby or cluster DCS Redis instance has been created as the target for the migration. The source instance has data and has been backed up.
Step 1: Obtain the Source Instance Name and Password
Obtain the name and password of the source Redis instance.
Step 2: Prepare the Target DCS Redis Instance
- If a DCS Redis instance is not available, create one first. For details, see Creating a DCS Redis Instance.
- If a DCS Redis instance is available, you do not need to create a new one. However, you must clear the instance data before the migration. For details, see Clearing DCS Instance Data.
You can use a DCS Redis 3.0, 4.0, or 5.0 instance as the target instance.
Step 3: Create a Migration Task
- Log in to the DCS console.
- In the navigation pane, choose Data Migration.
- Click Create Backup Import Task.
- Enter the task name and description.
- Set Data Source to Redis.
- For Source Redis Instance, select the instance prepared in Step 1: Obtain the Source Instance Name and Password.
- Select the backup task whose data is to be migrated.
- Select the target instance created in Step 2: Prepare the Target DCS Redis Instance.
- Enter the password of the target instance. Click Test Connection to verify the password.
- Click Next.
- Confirm the migration task details and click Submit.
Go back to the data migration task list. After the migration is successful, the task status changes to Successful.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot