booler
booler

Reputation: 93

S3 Replication - destination files deleted replication behaviour

With S3 replication, if a previously replicated file is deleted in the destination bucket, is the default behaviour that the file will be re-copied? I assume this is the case and if so, is there any way to change this behaviour so files are only ever replicated once?

Upvotes: 3

Views: 936

Answers (1)

Jatin Mehrotra
Jatin Mehrotra

Reputation: 11513

if a previously replicated file is deleted in the destination bucket, is the default behaviour that the file will be re-copied

NO, it wont be recopied because according to docs "By default, replication only supports copying new Amazon S3 objects after it is enabled."

So literally s3 sees it as an existing object which is already replicated to destination no matter whether it is deleted in destination or not, it won't replicate AGAIN!

Upvotes: 3

Related Questions