You must restore an Archive object or a Cold Archive object before you can read the object. This topic describes how to restore an Archive object or a Cold Archive object.

Background information

For more information about how to restore objects, see Restore objects.

Procedure

  1. Log on to the OSS console.
  2. In the left-side navigation pane, click Buckets. On the Buckets page, click the name of the bucket that you want to manage.
  3. In the left-side navigation pane, choose Files > Files.
  4. Find the object that you want to restore and choose more > Restore in the Actions column.
    • Archive objects
      • The restoration takes about one minute. Then, the object is in the restored state.
      • By default, the object remains in the restored state for one day. You can use ossutil or SDKs to extend this period to up to seven days. When the period expires, the object returns to the frozen state.
    • Cold Archive objects

      If you want to restore a Cold Archive object, you must specify the period in which the object can remain in the restored state in Replica Validity Period. Unit: days. You can also specify the priority of restoration in Restore Mode.

      Note The maximum replica validity period of Cold Archive objects in the China (Shenzhen) region is seven days. The maximum replica validity period of Cold Archive objects outside the China (Shenzhen) region is 365 days.

      The time required to restore an object varies with the size of the object.