Skip to content

Instantly share code, notes, and snippets.

@dehli
Last active November 28, 2017 15:46
Show Gist options
  • Save dehli/200485537e24cc98c809015fae9d36ae to your computer and use it in GitHub Desktop.
Save dehli/200485537e24cc98c809015fae9d36ae to your computer and use it in GitHub Desktop.
S3 Backup
  1. Turn on versioning for the source bucket.
  2. Turn on cross-region replication and point it to a newly created backup.
  3. Copy existing s3 contents using the following command:
aws s3 sync s3://source s3://source-backup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment