s3cmd icon indicating copy to clipboard operation
s3cmd copied to clipboard

Unable to restore items from INTELLIGENT_TIERING class to standard

Open marcgug opened this issue 2 years ago • 0 comments

Using a restore command on an object that is in the INTELLIGENT_TIERING class always fails with this error:

ERROR: S3 error: 400 (InvalidArgument): INTELLIGENT_TIERING objects are not subject to restore expiry. Do not specify Days when restoring this object

I've tried specifying --restore-days=0 and that just produces the error ERROR: Parameter problem: You must restore a file for 1 or more days

For example here is the command I am using:

s3cmd restore s3://bucketName/folder/file.png

What matters is that the object is in the INTELLIGENT_TIERING storage class.

marcgug avatar May 03 '24 16:05 marcgug