Downloading an entire S3 bucket

0 votes

Is there an option to download the entire s3 in aws management console?

Is there an easy way to grab everything in one of my buckets? I tried making the root folder public, using wget to grab it all and then making it private again but I don't know if there's an easier way.

Apr 29, 2019 in AWS by datageek
• 3,090 points
8,023 views

1 answer to this question.

0 votes

On AWS CLI you can use

Command:

aws s3 sync s3://mybucket .

Output:

download: s3://mybucket/test.txt to test.txt
download: s3://mybucket/test2.txt to test2.txt

This will download all of your files. It will not delete any existing files in your current directory, and it won't change or delete any files on S3.

You can also do S3 bucket to S3 bucket, or local to S3 bucket sync.

answered Apr 29, 2019 by Archana
• 5,640 points

Related Questions In AWS

+3 votes
2 answers

How to download an entire bucket from S3 to local folder?

You can simply download your S3 bucket ...READ MORE

answered Dec 11, 2018 in AWS by Priyaj
• 58,090 points
11,044 views
0 votes
1 answer

Download an entire S3 bucket

You can use s3cmd to download your bucket. s3cmd --configure s3cmd ...READ MORE

answered Mar 12, 2019 in AWS by Reena
517 views
0 votes
1 answer

How do I create folder under an Amazon S3 bucket through PHP API?

Of Course, it is possible to create ...READ MORE

answered Apr 24, 2018 in AWS by anonymous
10,958 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
2 answers

Copying folders inside Amazon S3 bucket

Here is the example to copy folder ...READ MORE

answered Nov 29, 2018 in AWS by Archana
• 5,640 points
8,103 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP