Adding support for restoring from S3 Intelligent-Tiering Archive Access tier

Hi,
I've got an object in AWS s3 that is using Intelligent-Tiering and has been moved to Archive Access tier. So it's storage class is Intelligent-Tiering and Access tier is Deep Archive Access.

Now, when I try to copy this object to another bucket (I'm using rclone 1.67.0), I get:

Failed to copy: multi-thread copy: failed to open source: Object in GLACIER, restore first: bucket="<redacted bucket>", key="<redacted key>"

When I try to use rclone backed restore I get for the object:

"Status": "Not GLACIER or DEEP_ARCHIVE storage class"

So, it seems rclone doesn't support restoring from Inteligent Tiering Deep Archive. Am I right that it's a missing feature? I guess it should be quite easy to add, as the same AWS API is used as for restoring from Glacier/Deep Archive (you just cannot specify lifetime as it's automatically managed).

Thank you!
Paweł

You are on an old version. Update to the latest.

Tried, the same with latest master.

I actually got it working with quite a simple change, draft PR here: s3: allow restoring from intelligent-tiering storage class by ppalucha · Pull Request #8030 · rclone/rclone · GitHub

It was already done here -> s3: Add support for Glacier Deep Archive and Intelligent-Tiering by Deewiant · Pull Request #3089 · rclone/rclone (github.com)

Nope, this one is for creating new object with a specified tier. Mine is for restoring objects using backend restore command.

1 Like

Ah, awesome, I see the confusion.

Thank you for the correction.

If anybody is wondering, the PR has been merged so this should work now.

1 Like