Glacier » History » Version 3
Peter Amstutz, 08/03/2020 09:00 PM
| 1 | 1 | Peter Amstutz | h1. Glacier |
|---|---|---|---|
| 2 | |||
| 3 | 2 | Peter Amstutz | Amazon also calls them "storage classes" and they appear to function somewhat similarly. |
| 4 | |||
| 5 | 1 | Peter Amstutz | https://docs.aws.amazon.com/AmazonS3/latest/API/Welcome.html |
| 6 | |||
| 7 | https://docs.aws.amazon.com/sdk-for-go/api/service/s3/ |
||
| 8 | 3 | Peter Amstutz | |
| 9 | Can do PutObject directly to Glacier or you can use CopyObject to change the storage class of an existing object from "standard" to "glacier". (The docs are unclear but I guess you copy the object to itself?) |
||
| 10 | |||
| 11 | https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-howtoset |
||
| 12 | |||
| 13 | Objects in Glacier do appear in index listing. |
||
| 14 | |||
| 15 | Returns a 403 error if you try GetObject on an archived object. |
||
| 16 | |||
| 17 | Use RestoreObject to make it available for GetObject on a temporary basis (you specify number of days in the request). |
||
| 18 | |||
| 19 | Unclear from documentation if you can use CopyObject to change the storage class back to "standard" after being restored. |
||
| 20 | |||
| 21 | https://docs.aws.amazon.com/AmazonS3/latest/dev/restoring-objects.html |
||
| 22 | |||
| 23 | Use S3 Batch operation to operate on many objects at once. |