ℹ️ Document Conversion Notice: This page was converted from the original file for easier reading. Diagrams/images may appear only in the original PDF below.
Document preview
File info: application/pdf · 212 pages · 1.22MB

Huawei Cloud Object Storage Service: Tool Guide (obsutil)

Introduction to obsutil

Huawei Cloud's Object Storage Service (OBS) provides a robust and scalable solution for storing and managing data. The obsutil command-line tool is designed to simplify and enhance your interaction with OBS, enabling efficient management of buckets and objects directly from your terminal.

This guide serves as a comprehensive resource for understanding and utilizing obsutil. It covers essential aspects such as installation across different operating systems (Windows, Linux, macOS), initial configuration, and a detailed walkthrough of various commands. You will learn how to perform fundamental operations like creating and deleting buckets, uploading, downloading, and managing objects, as well as more advanced tasks including synchronous operations, handling multipart uploads, and configuring authorization codes for shared access.

Discover best practices for optimizing your OBS workflow with obsutil, including tips for efficient command usage, scheduled tasks, and performance tuning. The document also provides guidance on fault locating and understanding return codes, ensuring a smooth and productive experience with Huawei Cloud's Object Storage Service.

For detailed information, explore the following sections:

Download and Installation

obsutil is compatible with Windows, Linux, and macOS. This section details how to download and install the tool for each operating system, ensuring you can quickly begin managing your OBS resources.

Getting Started

To effectively use obsutil, you need to prepare your environment by registering a cloud service account, enabling OBS, and obtaining your access keys (AK and SK). This section guides you through the necessary steps, including optional IAM user creation for enhanced security.

Bucket Commands

Learn to manage your OBS buckets efficiently. This section covers commands for creating buckets with different storage classes, deleting buckets, listing existing buckets, and querying or setting bucket properties.

Object Commands

Master the management of objects within your OBS buckets. This part of the guide explains how to create folders, upload and download files and folders, query and set object properties, list objects, copy, move, and delete objects, as well as handle incremental uploads and downloads, and restore objects from archive storage.

Auxiliary Commands

Explore additional functionalities that enhance obsutil's utility. This includes commands for updating configuration files, deleting part records, viewing help information, checking versions, archiving log files, and listing failure result files.

Common Examples

Practical examples are provided to illustrate the usage of obsutil for common scenarios such as uploading, downloading, copying, and listing objects, including multipart upload tasks.

Fault Locating

Understand how to identify and resolve issues that may arise during obsutil operations. This section covers an overview of fault locating, analyzing log files, interpreting result lists, and understanding return codes.

Best Practices

Optimize your use of obsutil by following recommended practices. Learn how to leverage the help command, configure scheduled tasks, set up built-in commands, manage access keys, fine-tune performance, and utilize obsutil for resumable data transfer and directory sharing.

For more information on Huawei Cloud services, visit Huawei Cloud.

Copyright © Huawei Technologies Co., Ltd. 2021. All rights reserved.

Original Document

If the viewer doesn’t load, open the PDF directly.

References