Updated on 2024-04-01 GMT+08:00

Restoring an Object from Archive Storage

You must restore an object in the Archive storage class before you can download it or access it with a URL.

Constraints

  • If an Archive object is being restored, its restore task cannot be suspended or deleted.
  • An object being restored cannot be restored again.
  • After an object is restored, an object copy in the Standard storage class will be generated. This way, there is an Archive object and a Standard object copy in the bucket at the same time. During the restore validity period, you will be charged for the space taken up by both the object and its copy. The copy will be automatically deleted once the restore expires.

Procedure

  1. In the navigation pane of OBS Console, choose Object Storage.
  2. In the bucket list, click the bucket you want to operate to go to the Objects page.
  3. Select the file you want to restore, and click Restore on the right. The following dialog box shown in Figure 1 is displayed.

    You can select multiple files and choose More > Restore above the file list to batch restore them.

    Objects that are being restored cannot be added for batch restore.

    Figure 1 Restoring an object

  4. Configure the validity period and speed of the restore. The following table describes the parameters.

    Table 1 Parameters for restoring objects

    Parameter

    Description

    Validity Period

    How long the object will remain in the Restored state. It starts once the object is restored. The value is an integer ranging from 1 to 30 (days). The default value is 30.

    For example, if you set Validity Period to 20 when restoring an object, 20 days after the object is successfully restored, its status will change from Restored to Unrestored.

    Speed

    How fast an object will be restored.

    • Expedited: Archive objects can be restored within 1 to 5 minutes.
    • Standard: Archive objects can be restored within 3 to 5 hours.

  5. Click OK.

    The Restoration Status column in the object list displays the restore statuses of objects.

    You can click to manually refresh the restore status.

    The system checks the file restore status at UTC 00:00 every day. The system starts counting down the expiration time from the time when the latest check is complete.

Related Operations

Within the validity period of a restored object, you can restore the object again. The validity period is then extended because it will start again when the latest restore is complete.

If a restored object is restored again, its expiration time should be later than the time set for the previous restore. Assume that an object is restored on January 1 and will expire 30 days later (on January 30). If the object is restored again on January 10 and is made to be expired earlier than January 30 (less than 20 days later), this restore action is considered invalid.