Updated on 2024-04-19 GMT+08:00

Preparing for Migration

Before using OMS to migrate data between OBS buckets, make preparations by referring to this section.

Registering a HUAWEI ID

Register a HUAWEI ID and enable Huawei Cloud services.

Real-name authentication is required for migrations to regions within the Chinese mainland.

Creating Access Keys for the Source and Destination Accounts and Obtaining the Required Permissions

  • Source (Tencent Cloud): Check whether you have created an access key for and assigned the ReadOnlyAccess permission to your Tencent Cloud account. If you have not, perform the following procedures:
    1. Log in to the Tencent Cloud management console.
    2. In the left navigation pane, choose User > User List.
    3. Click a user to go to the user details page.
    4. Click the API Key tab and click Create Key to generate a SecretId and SecretKey.
    5. Assign required permissions to the user.

      On the user list page, click Grant Permission in the Operation column of the sub-user, select ReadOnlyAccess, and click OK.

  • Destination (Huawei Cloud): Create an AK/SK pair for the destination account and obtain the required permissions. For more information, see Creating an Access Key (AK/SK) and Destination Permissions.

Creating a Destination OBS Bucket

Create an OBS bucket for storing the migrated data. For details, see Creating a Bucket.

Restoring Archive Data in the Source Bucket

You need to restore data of the Archive storage class before you migrate it. Otherwise, the migration will take a long time.

You can use the Tencent Cloud console or the coscmd tool to restore archive objects in batched. For details, see Restoring Archive Data on Tencent Cloud COS.

Perform the migration after all archive data is restored. Any data not restored will fail to be migrated.