简体   繁体   中英

How to download archive from Glacier Deep Archive locally using boto3?

I uploaded zip file on Glacier Deep Archive. Now I want to download the same file locally with boto3 library. What is the way to do it? I tried to find any example, but failed. I have vault_name and archive_id saved. It is less than 1GB in weight. How long does it take to download such a file?

Before you can actually download the object, in boto3 you have to execute restore_object operation. Once the object is restored, you can then download it from S3. From docs :

Objects in the GLACIER and DEEP_ARCHIVE storage classes are archived . To access an archived object, you must first initiate a restore request . This restores a temporary copy of the archived object.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM