COS supports direct upload to COS ARCHIVE storage using the console, APIs, SDK, or COSCMD. Alternatively, you can use the lifecycle feature of COS to transition your objects to the ARCHIVE or DEEP ARCHIVE storage class. For more information about ARCHIVE, see Storage Class Overview.
Uploading via the console
In the COS console, click Upload Files and then select the object to upload. In the Set Properties step, set Storage Class to ARCHIVE or DEEP ARCHIVE. For more information, see Uploading Objects.
Uploading via APIs
You can set x-cos-storage-class
to ARCHIVE
or DEEP_ARCHIVE
in the PUT Object
, POST Object
, or Initiate Multipart Upload
API to implement direct upload to COS ARCHIVE storage.
Note:The
Append Object
API does not support direct upload to COS ARCHIVE storage.
Uploading via SDKs
Currently, all COS SDKs support direct upload to COS ARCHIVE storage. You can set StorageClass
to ARCHIVE
or DEEP_ARCHIVE
during the upload.
Uploading via COSCMD
You can add the header field x-cos-storage-class
and set it to ARCHIVE
or DEEP_ARCHIVE
during the upload.
Unlike STANDARD/STANDARD_IA, objects in ARCHIVE or DEEP ARCHIVE can only be downloaded after being restored. The following three restoration modes are provided:
Note:Objects in DEEP ARCHIVE cannot be restored using the expedited mode. The object can be restored within 12-24 hours using standard mode, and 24-48 hours using bulk mode.
Note that the console, APIs, SDKs, and COSCMD all support the restoration and download for archived objects.
Was this page helpful?