How Do I Change the Storage Path of a Migrated Object?
Choose a method based on how many objects there are to migrate:
- Few objects
Use the OBS Browser+ tool provided by Huawei Cloud OBS to move the data.
- Download OBS Browser+. For details, see Downloading OBS Browser+.
- Log in to OBS Browser+, click the bucket from which you want to move the target objects (directories or files), and right-click the file or folder and choose Copy from the shortcut menu.
- Select a path to save the target objects. Right-click the path and choose Paste from the shortcut menu.
- Many objects
Use the obsutil tool to change the object path.
- Download obsutil and initialize it. For details, see Download and Installation and Performing Initial Configuration.
- Use commands to move the objects.
- Run obsutil mv obs://src_bucket/key obs://dsc_bucket/dsc_path to move a single object.
- Run obsutil mv obs://src_bucket/prefix obs://dsc_bucket/dsc_path -f -r to move objects in batches.
For batch operations, prefix indicates the name prefix of the objects. The tool moves all the migrated objects matching that name prefix.
For more information about the obsutil commands, see Moving an Object.
Product Consulting FAQs
- When Do I Need to Perform Pre-migration Evaluation Before Creating Migration Tasks?
- How Do I Migrate OBS Bucket Data from One Region to Another?
- How Do I Migrate the OBS Bucket Data from One Account to Another?
- How Do I Migrate Data from Multiple Source Buckets to a Single OBS Bucket on Huawei Cloud?
- How Do I Migrate Data in the Root Directory?
- How Does Migration Affect My Source Data? What Are the Impacts on Migration If the Source Data Changes?
- How Do I Change the Storage Path of a Migrated Object?
- How Does OMS Ensure Data Consistency If Data Is Continuously Written to OBS?
- How Do I Obtain Required Permissions for the Source and Destination Platform Accounts?
- How Do I Review the Objects Migrated in a Migration Task?
- How Do I Review the Objects Migrated in a Migration Task Group?
- How Do I Review Objects Migrated in a Synchronization Task?
- What Is the Storage Class of Archive Data Migrated to the Archive Destination Bucket?
- What Are the Application Scenarios of Migration Tasks and Migration Task Groups?
- If I Delete an Object from the Source Bucket, Will the Corresponding Object in the Destination Bucket Be Deleted?
- How Does OMS Ensure Data Consistency Between the Source and Destination Buckets?
- Why Is the Total Number or Size of Objects in the Destination Bucket Inconsistent with Those in the Source Bucket After the Migration?
- How Does Migration Affect Data in the Destination Bucket?
- Why Are the Migration Progress and the Transmitted Data Volume 0 After the Migration Is Complete?
- How Do I Choose Storage Classes?
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.
Chatbotmore