Help Center> Object Storage Migration Service> Best Practices> Migrating Incremental Data With Dual-Write to Source and Destination Buckets

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:

  1. 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.
  2. Perform a full migration of source data with OMS.
  3. 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.

  • You have created at least one bucket on OBS.
  • You have registered an account with HUAWEI CLOUD and completed real-name authentication.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region.
  3. Click Service List. Under Migration, click Object Storage Migration Service.

    The Object Storage Migration Service page is displayed.

  4. Create a migration task or migration task group to migrate the source data.

  5. After the migration and service verification, switch services to HUAWEI CLOUD and stop writing data to the source bucket.