I am running the following command to restore the data from Amazon S3 to the web server.
s3cmd restore --recursive s3://my-bucket/Weekly-Sunday/dbexports/
and getting this error:
Restore is not allowed, as object's storage class is not GLACIER
On the other hand when I tried --dry-run it didn't show problems.
I am using amazon s3, but not GLACIER and this command to sync:
s3cmd sync LOCAL_DIR s3://my-bucket/Weekly-Sunday/dbexports/
to move data to Amazon s3.