Manually set S3 replication status

0

Some of my S3 objects have a replication status of FAILED or in other cases I had objects in the S3 bucket before replication was enabled which now have no replication status None. I have since resolved the issue with the failed objects and copied all of them to the replicate manually (As re-uploading was not an option).

To aid monitoring of replication I would like to set the replication status of these objects to COMPLETED. Is there anyway to do this?

Connor
已提問 4 年前檢視次數 832 次
1 個回答
0
已接受的答案

Thanks for your question. You highlighted two different cases, the first was FAILED objects and the second was the existing set of objects before replication was enabled.

For FAILED objects, your option for re-replicating and moving them to a COMPLETED state is to copy those objects within the source bucket. You can copy the object back to the same key, creating a new version and re-replicating the object. A lifecycle policy could then be used to expire previous/noncurrent versions of objects if desired. When copying the objects manually, there is no way to change the replication status of the object, it is only updated via replication.

For existing objects, you can activate replication of those objects using the guidance on this page: https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-what-is-isnot-replicated.html

AWS
awsrwx
已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南