Last update:2025-08-06 11:04:57
In object storage, converting storage types refers to transferring data from one storage type to another based on usage requirements. This process helps optimize storage costs and improve resource utilization. By automatically transferring less frequently accessed data to lower-cost storage types, such as Infrequent Access Storage or Archive Storage (to convert the storage type for Archive Storage, files must first be restored), users can significantly reduce storage expenses while maintaining data availability. You can convert the storage type of files through Lifecycle Settings, console operations, or APIs.
You can convert the storage type of files using lifecycle rules, the console, or the API.
Set lifecycle rules in the console to automate storage type conversion,For configuration details, please refer to Lifecycle Settings。

If your application has customized requirements, you can set lifecycle rules via the API. For more information, refer to PutBucketLifeCycle.
Currently, lifecycle rules support converting files from Standard Storage to Infrequent Access Storage or Archive Storage, but do not support reverse conversion. For reverse conversion, please manually set the file storage type via the console or the API.
You can use the converttype API to convert files to the specified storage type. For more information on how to call the API, refer to Convert Storage Classes.
Archive Storage files cannot be directly accessed or converted to other storage types. To access or convert these files, you must first restore them. You can restore Archive Storage files via the console or the API.
Please note the following: