Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Show all

Migrating Archived Data in UCloud US3

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

UCloud US3 allows you to restore an archive object on the console or restore multiple archive objects at a time using the us3cli tool.

Console

  1. Log in to the UCloud US3 console.
  2. On the Bucket page, locate the bucket, and click File Manage in the Operation column.
  3. Locate the file to be restored, click in the Operation column, and select Restore.

  4. Click OK. The file enters the restoration process. After its storage class changes to Standard, the file is restored.

    CAUTION:

    Restoring a file will incur data retrieval fees.

US3CLI

US3CLI is compatible with Windows, Linux, and macOS. Download and install the required version.

NOTE:

This section uses Windows as an example.

  1. Download US3CLI.

    us3cli-windows.exe

  2. Open the CLI as an administrator and switch to the directory where the us3cli-windows.exe file is stored.
  3. Run the following command to generate a configuration file.

    us3cli-windows.exe config
    CAUTION:
    1. Open the CLI as an administrator.
    2. After downloading us3cli-windows.exe, do not directly click the file to run it. Use the CLI to open and run this tool.
    3. If you cannot download the tool by clicking the proceeding link, copy the link to the address box of your browser and press Enter.

  4. Configure the generated file in interactive mode.

    #./us3cli config
    Enter the configuration item name: config1
    Create the configuration item: [config1]
    Enable encryption (y or n)? n
    Enter the API/Token public key [Current:]: xxxxxxxxxxxxxxxxxx
    Enter the API/Token private key [Current:]: xxxxxxxxxxxxxxxxxx
    Region list:
    No.     RegionName      Region       
    0       Beijing        cn-bj        
    1       Shanghai 2        cn-sh2       
    2       Guangzhou        cn-gd        
    3       Hong Kong        hk           
    4       Los Angeles        us-ca        
    5       Singapore        sg           
    6       Jakarta        idn-jakarta  
    7       Taipei        tw-tp        
    8       Lagos        afr-nigeria  
    9       Sao Paulo        bra-saopaulo 
    10      Dubai        uae-dubai    
    11      Frankfurt        ge-fra       
    12      Ho Chi Minh City        vn-sng       
    13       Washington        us-ws        
    14      Mumbai        ind-mumbai   
    15      Seoul        kr-seoul     
    Enter a region No.: 0
    Intranet and extranet list:
    No.     Network 
    0       extranet    
    1       intranet    
    Select or enter the intranet or extranet No.: 0
    The selected endpoint is [cn-bj.ufileos.com],[Current:]. Press Enter to use the default endpoint or customize one.
    Final configurations:
    ConfigName: config1 
    AccessKey: xxxxxxxxxxxxxxxxxxxxxx 
    SecretKey: xxxxxxxxxxxxxxxxxxxxxx 
    Endpoint: cn-bj.ufileos.com Check the endpoint and press Enter.
    Enable HTTPS (y or n)? n
    Enable proxy (y or n):n
    Configuration file [ config1 ] has been modified.
    Whether to use the configuration as the default configuration (the current default configuration is < config >)(y or n)?
    CAUTION:
    1. When a profile is created for the first time, this configuration is automatically used as the default configuration.
    2. Only the public and private keys are encrypted. The current configuration file can be encrypted only when it is created for the first time.
    3. When entering the proxy address, you only need to specify ip:port. The client will add https:// to the address if HTTPS is enabled or add http:// if HTTPS is not enabled.

  5. Run the following restore commands to restore files in the bucket. For details, see the restore section in the US3CLI document.

    • Command for restoring a single file
      ./us3cli restore us3://bucket/test.txtCopyErrorSuccess
    • Command for restoring all files in a directory
      ./us3cli restore -r us3://bucket/test
    • Command for restoring 10 files at a time
      ./us3cli restore us3://bucket/test --parallel 10
      NOTE:
      • Replace bucket with your bucket name.
      • Replace test with the names of files or folders to be restored.
      • --parallel specifies the number of files to be restored concurrently. The default value is 10. You can modify it as needed.

    For details, see the restore section in the US3CLI document.

  6. Migrate restored data by referring to Migrating Data from UCloud US3 to Huawei Cloud OBS.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback