Skip to content

Instantly share code, notes, and snippets.

@phirschybar
Created June 14, 2015 12:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phirschybar/bd4ab7edb01f59391018 to your computer and use it in GitHub Desktop.
Save phirschybar/bd4ab7edb01f59391018 to your computer and use it in GitHub Desktop.
Install S3S3Mirror on Ubuntu

Package s3s3Mirror

sudo apt-get update

sudo apt-get install maven

sudo apt-get install default-jdk

sudo apt-get install screen

nano ~/.s3cfg

paste this in (with your credentials):

[default]
access_key = ABCD1234
secret_key = 1234ABCD

cmd-x to save this

wget https://github.com/cobbzilla/s3s3mirror/archive/master.zip

unzip master.zip

cd s3s3mirror-master/

mvn package

./s3s3mirror.sh --verbose --dry-run old-bucket new-bucket review output

./s3s3mirror.sh --verbose old-bucket new-bucket

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment