All Products
Search
Document Center

Object Storage Service:How to keep an OSS object permanently restored?

Last Updated:Aug 27, 2026

An Archive, Cold Archive, or Deep Cold Archive object stays readable only while its restored state lasts. Keep such objects readable at all times either by converting the storage class of individual objects or by enabling real-time access of Archive objects for a bucket.

An archived object becomes unreadable after its restored state expires

Problem

An Archive, Cold Archive, or Deep Cold Archive object that you restored earlier can no longer be read.

Cause

The restored state of the object has expired. When the restored state expires, the object returns to the frozen state and is no longer readable.

Solution

Remove the dependency on the restored state. Converting the storage class of an object to Standard or Infrequent Access takes the object out of the archive storage classes. Enabling real-time access of Archive objects keeps the Archive objects in a bucket permanently restored.

The following table compares the scope of each solution and the storage classes that each solution supports.

SolutionObjects affectedSupported storage classes
Convert the storage class of specific objectsOnly the objects that you specifyArchive, Cold Archive, and Deep Cold Archive
Enable real-time access of Archive objects for a bucketAll Archive objects in the bucketArchive

Real-time access of Archive objects also affects data retrieval fees.

Convert the storage class of specific objects

Convert the storage class when only specific objects must stay readable, or when the objects are Cold Archive or Deep Cold Archive objects. The conversion does not affect the other archived objects in the bucket, which remain frozen.

  1. Restore the objects that must stay readable.

  2. After the objects are restored, convert their storage class to Standard or Infrequent Access based on how frequently you access them. For instructions, see Manually convert the storage class of an object using the CopyObject operation.

Verify that the storage class of each object is Standard or Infrequent Access. The objects are no longer Archive, Cold Archive, or Deep Cold Archive objects, so they stay readable and do not return to the frozen state.

Enable real-time access of Archive objects for a bucket

Enable real-time access of Archive objects for a bucket when all Archive objects in that bucket must stay readable. The Archive objects in the bucket then remain permanently restored. This solution does not apply to Cold Archive or Deep Cold Archive objects. For details about the feature and how to enable it, see Real-time access of Archive objects.

After you enable the feature, verify that the Archive objects in the bucket are readable.

Important

Real-time access of Archive objects incurs higher data retrieval fees than restoring an Archive object and then reading it. For pricing information, see OSS Pricing.