Posted 5 months ago. Visible to the public.

Make a local copy of an S3 bucket

To make a local copy of an S3 bucket, I use the s3cmd command line tool.

Configure access keys:

Copy
s3cmd --configure

Make a local directory for the backup:

Copy
mkdir s3backup cd s3backup

Get a preview of what we're going to copy:

Copy
s3cmd sync --dry-run s3://your-bucket-name-here .

Start copying files:

Copy
s3cmd sync s3://your-bucket-name-here .

makandra has been working exclusively with Ruby on Rails since 2007. Our laser focus on a single technology has made us a leader in this space.

Owner of this card:

Avatar
Henning Koch
Last edit:
5 months ago
by Henning Koch
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Henning Koch to makandra dev
This website uses cookies to improve usability and analyze traffic.
Accept or learn more