Home > Software engineering >  How to perform Amazon S3 bucket copy in C# SDK
How to perform Amazon S3 bucket copy in C# SDK

Time:01-19

I need to copy the [EDIT: entire] contents of a bucket into another bucket. The answers to enter image description here

URL - https://docs.aws.amazon.com/code-library/latest/ug/s3_example_s3_CopyObject_section.html

The code lib should be the first place to reference when you want to learn how to use the AWS SDK.

CodePudding user response:

S3 Batch Operations, AWS Datasync, or S3 Replication could be options as well. These tools require more initial setup, but the actual data transfer will happen in a single request. If there are a lot of objects to copy or this process is run frequently, it may be easier to automate using one of these options.

See https://aws.amazon.com/blogs/storage/considering-four-different-replication-options-for-data-in-amazon-s3/ for a comparison of a few options.

  • Related