Migration of objects to different bucket in diff account

0

Hi,

As I want to transfer the objects from BUcket A in Account A to Bucket B in Account B. I want to get the same Last Modified dates same can I get that?

gefragt vor einem Jahr230 Aufrufe
1 Antwort
0

Hello There

You cannot modify metadata like the Last-Modified date. See https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingMetadata.html#SysMetadata

You can copy the Last-Modified date to user-defined metadata on each object if you need to retain a record. Check this previous thread.

https://repost.aws/questions/QUIzqoKL9OQZiETz6ZHHSHiQ/is-there-a-way-to-not-change-an-s-3-objects-last-modified-date-when-copying-it-to-a-new-bucket

profile pictureAWS
EXPERTE
Matt-B
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen