Skip to content

Instantly share code, notes, and snippets.

@JCotton1123
Last active January 18, 2016 18:28
Show Gist options
  • Save JCotton1123/d4880a33a8c89a3edaab to your computer and use it in GitHub Desktop.
Save JCotton1123/d4880a33a8c89a3edaab to your computer and use it in GitHub Desktop.
s3s3mirror setup
# Ideally, run this from a EC2 instance within the same
# region as your source and destination buckets
apt-get update -y
apt-get install -y git openjdk-7-jdk
git clone https://github.com/cobbzilla/s3s3mirror.git
cd s3s3mirror
export AWS_ACCESS_KEY_ID=
export AWS_SECRET_ACCESS_KEY=
./s3s3mirror.sh <SOURCE_BUCKET> <DEST_BUCKET>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment