amazon-s3

How to make a sync backup (aws)?


Currently I have two buckets in the same region. (50TB)

I am trying to backup all the contents from one to the other through the sync command. But the sync command copies it doesn't really backup

However after the sync finished I realized that the versionIDs in the objects in the new bucket are not the same as in the old... I use the version ID for some features in my applications. So sync is not really an option for me.

Is there an alternative to sync that can backup an entire bucket with its metadata etc... intact ? namely the version Id ?


Solution

  • Since you've posted your question AWS has launched Same-Region Replication (SRR), in 2019. This would allow you to replicate objects and changes in metadata across two buckets in the same region.

    S3 Batch Replication can be used to replicate objects that were added prior to Same-Region Replication being configured.