Skip to content

sunshineo/s3-bucket-copier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

s3-bucket-copier

Using this http://stackoverflow.com/a/23577621/1406024 But in a docker so it's easier

Usage

docker run \
  -e "AWS_ACCESS_KEY_ID=**DefineMe**" \
  -e "AWS_SECRET_ACCESS_KEY=**DefineMe**" \
  -e "AWS_DEFAULT_REGION=us-west-2" \
  -e "S3_SOURCE_BUCKET_NAME=my-bucket" \
  -e "S3_TARGET_BUCKET_NAME=my-bucket-backup" \
  -e "TARGET_FILE_ACL=private" \
  sunshineo/s3-bucket-copier

TARGET_FILE_ACL Pick one from http://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html

  • private
  • public-read
  • public-read-write
  • authenticated-read
  • bucket-owner-read
  • bucket-owner-full-control
  • log-delivery-write

About

Simply copy all content from one bucket to another.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages