Restoring Archive or Deep Archive Objects
Scenarios
You must restore an object in the Archive or Deep Archive storage class before you can download it or access it with a URL.
To learn the costs involved in data restore, see Product Pricing Details.
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.
Prerequisites
You have the obs:object:RestoreObject permission. For details, see Granting Permissions to an IAM User Under the Current Account.
Important Notes
- If an Archive or a Deep Archive object is being restored, its restore speed cannot be changed and also the restore task cannot be suspended or deleted.
- After an object is restored, an object copy in the Standard storage class will be generated. This way, there is an Archive or a Deep Archive object and a Standard object copy in the bucket at the same time. After an Archive or Deep Archive object is restored, the object status displays Restored, and the generated object copy in Standard storage class is not displayed in the bucket.
- During the restore validity period, you will be billed for the space taken up by both the object and its copy. The copy will be automatically deleted once the restore expires.
- If versioning is enabled and there are different versions of an object in different storage classes, the current version of the object will be restored. To restore a specific object version, you can specify versionId.
- If you restore an object that is being restored, error 409 will be reported. Wait for the current restore to finish before attempting to restore again.
- If the RestoreObject API is called for the first time, 202 will be returned, indicating that the server has received the request. If the RestoreObject API is called again after a successful object restore, 200 OK will be returned.
Object Restore Option and Time Required
OBS provides the following restore options.
Storage Class |
Restore Option |
Time Required |
---|---|---|
Archive |
Expedited |
1 to 5 minutes |
Archive |
Standard |
3 to 5 hours |
Deep Archive |
Expedited |
3 to 5 hours |
Deep Archive |
Standard |
5 to 12 hours |
To restore a large number of objects from the Deep Archive storage class, you are advised to use the standard restore. The restore time spent depends on the object size.
Ways to Restore Objects
You can use OBS Console, APIs, SDKs, OBS Browser+, or obsutil to restore Archive or Deep Archive objects.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot