- Export out all your S3 data
- Source: http://docs.aws.amazon.com/cli/latest/reference/s3/sync.html
# sync from bucket to local
aws s3 sync <bucket> <target_folder> <options>
aws s3 sync s3://mybucket . --acl public-read
# sync from local to bucket
aws s3 sync <target_folder> <bucket>
aws s3 cp s3://stapi-us/production/ s3://stapi-us/development/ --recursive --acl public-read-write
- You need this for the receipe above
brew install python # installs python and pip
pip install awscli # installs aws
aws configure
# Now you can use aws cli
# If you encounter any error, see this: https://github.com/dotcloud/dotcloud-cli/issues/23