tencent cloud

Feedback

Direct Upload to ARCHIVE

Last updated: 2024-01-06 15:06:14

    Overview

    COS supports direct upload to the ARCHIVE storage class by using the console, APIs, SDKs, 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, see Storage Class Overview.

    Supported Methods

    Uploading via the console In the COS console, click Upload Files and select the object to be uploaded. In the Set Properties step, set Storage Class to ARCHIVE or DEEP ARCHIVE. For more information, see Uploading Object.
    
    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 ARCHIVE.
    Note:
    The Append Object API does not support direct upload to ARCHIVE.
    Uploading via SDKs Currently, all COS SDKs support direct upload to ARCHIVE. You can set the StorageClass parameter 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.

    Restoring and downloading archived data

    Unlike STANDARD/STANDARD_IA, objects in ARCHIVE or DEEP ARCHIVE can only be downloaded after being restored. The following three restoration modes are provided:
    Expedited: Restores an object within 1–5 minutes (fastest).
    Standard: Restores an object within 3–5 hours.
    Bulk: Restores multiple objects within 5–12 hours (most cost-effective).
    Note:
    Objects in DEEP ARCHIVE cannot be restored in the expedited mode. An object can be restored within 12–24 hours in standard mode or 24–48 hours in bulk mode.
    Note that the console, APIs, SDKs, and COSCMD all support the restoration and download of archived objects.

    Restrictions

    Objects in ARCHIVE or DEEP ARCHIVE need to be restored before being downloaded.
    To copy an object in ARCHIVE or DEEP ARCHIVE, you need to restore it first.
    Objects in ARCHIVE and DEEP ARCHIVE do not support cross-region replication.
    Objects in ARCHIVE and DEEP ARCHIVE cannot be changed to a more frequently accessed storage class, such as STANDARD and STANDARD_IA.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support