Posted about 1 year 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 .
Growing Rails Applications in Practice
Check out our new e-book:
Learn to structure large Ruby on Rails codebases with the tools you already know and love.

Owner of this card:

Avatar
Henning Koch
Last edit:
about 1 year 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