How to restore folders (or entire buckets) to Amazon S3 from Glacier?

后端 未结 10 825
天命终不由人
天命终不由人 2020-12-23 12:47

I changed the lifecycle for a bunch of my buckets on Amazon S3 so their storage class was set to Glacier. I did this using the online AWS Console. I now need those files a

10条回答
  •  醉话见心
    2020-12-23 13:08

    If you use s3cmd you can use it to restore recursively pretty easily:

    s3cmd restore --recursive s3://mybucketname/ 
    

    I've also used it to restore just folders as well:

    s3cmd restore --recursive s3://mybucketname/folder/
    

提交回复
热议问题