Posted 23 days 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 .

Once an application no longer requires constant development, it needs periodic maintenance for stable and secure operation. makandra offers monthly maintenance contracts that let you focus on your business while we make sure the lights stay on.

Owner of this card:

Avatar
Henning Koch
Last edit:
16 days 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