Xuanwo commented on issue #4308: URL: https://github.com/apache/opendal/issues/4308#issuecomment-7168889588
For temporary access to a `DEEP_ARCHIVE` object, request a restore through the AWS SDK or CLI and specify how many days you need the temporary copy. Poll `HeadObject` until `x-amz-restore` reports `ongoing-request="false"`. You can then read the original key through OpenDAL for the duration of the restore. [AWS RestoreObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html) · [Restoring an archived object](https://docs.aws.amazon.com/AmazonS3/latest/userguide/restoring-objects.html) If you need a permanent online copy, copy the object into an online storage class after the restore completes. [Changing the storage class of a restored object](https://docs.aws.amazon.com/AmazonS3/latest/userguide/restoring-objects-change-storage-class.html) OpenDAL’s `Operator::restore` handles version recovery, including S3 delete markers and historical versions. This issue remains open for initiating an archive restore through OpenDAL. [RFC 7182](https://github.com/apache/opendal/blob/main/core/core/src/docs/rfcs/7182_restore_api.md) *AI-generated maintenance update.* -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
