Preparations
Before using OMS to migrate data between OBS buckets, make preparations by referring to this section.
Registering a HUAWEI ID
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 (UCloud)
- If you use a root account for migration, log in to the UCloud console, click the username in the right corner of the top navigation bar, and choose UAccount > API Keys to view or create an access key.
- If you want to use a sub-account for migration, perform the following steps to create a sub-account, generate an AK/SK pair for the sub-account, and assign the UFileReadOnlyAccess permission to the sub-account.
- Log in to the UCloud console using a root account.
- On the top navigation bar, click the username and choose IAM > User Management.
- Click Invite Sub Account.
- Specify Access Mode, Email and Username, and click OK.
- If you select API for Access Mode, an AK/SK pair will be automatically generated.
- The sub-account can access the console using the email address. The username is the unique identifier of the sub-account under the root account.
- Assign permissions to the sun-account.
Locate the sub-account and click Add Policy in the Operation column. In the displayed Add Policy dialog box, select an application project, select UFileReadOnlyAccess, and click Confirm.
- (Optional) Create an access key for the sub-account.
Click Username to go to the user details page. In the API Keys area, click Create Key to generate an AK/SK pair.
- 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. US3 provides the us3cli tool to restore archive files in batches. For details, see Restoring Archive Data on UCloud US3.
Perform the migration after all archive data is restored. Any data not restored will fail to be migrated.
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