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.
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