Read more

Make a local copy of an S3 bucket

Henning Koch
June 25, 2018Software engineer at makandra GmbH

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

Illustration online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
Read more Show archive.org snapshot

Configure access keys:

s3cmd --configure

Make a local directory for the backup:

mkdir s3backup
cd s3backup

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

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

Start copying files:

s3cmd sync s3://your-bucket-name-here .
Posted by Henning Koch to makandra dev (2018-06-25 10:13)