Migrating Incremental Data With Dual-Write to Source and Destination Buckets
Scenarios
This section describes how to migrate incremental data using dual-write to source and destination buckets. This practice ensures zero service interruption.
The migration process is as follows:
- Before migration, configure your services to write data to both the source and destination buckets. This is to ensure that incremental data is written to both buckets.
- Perform a full migration of source data with OMS.
- After the full migration and service verification, switch services to HUAWEI CLOUD and stop writing data to the source bucket.
OMS makes API calls to the object storage services on source platforms during migration. These API calls may generate fees on the source platforms and you will be responsible for those fees based on those source platform billing structures.
Prerequisites
- You have obtained the AK/SK pairs and required permissions for the source and destination platform accounts.
- The source platform account needs the following permissions:
- Listing all buckets
- Obtaining bucket location
- Listing objects
- Obtaining object metadata
- Obtaining object content
For details about how to obtain these permissions, see Source Permissions.
- The destination platform account needs the following permissions:
- Listing all buckets
- Obtaining bucket location
- Listing objects
- Obtaining object metadata
- Obtaining object content
- Listing uploaded parts
- Restoring archive objects
For details about how to obtain these permissions, see Destination Permissions.
- The source platform account needs the following permissions:
- You have created at least one bucket on OBS.
- You have registered an account with HUAWEI CLOUD and completed real-name authentication.
Procedure
- Log in to the management console.
- Click
in the upper left corner and select the desired region. - Click Service List. Under Migration, click Object Storage Migration Service.
The Object Storage Migration Service page is displayed.
- Create a migration task or migration task group to migrate the source data.
- If there is more than 3 TB of data or more than 5 million objects to migrate, create a migration task group. For details, see Creating a Migration Task Group.
- If there is not a lot of source data, create a migration task. For details, see Creating a Migration Task.
- After the migration and service verification, switch services to HUAWEI CLOUD and stop writing data to the source bucket.
Last Article: Overview
Next Article: Migrating Incremental Data With Multiple Incremental Synchronizations
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.