Created
October 27, 2016 19:18
-
-
Save anonymous/6f360b0d5205de1334116de30b207774 to your computer and use it in GitHub Desktop.
the description for this gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
aws_upload () { | |
AWS_ACCESS_KEY_ID=[my access key] \ | |
AWS_SECRET_ACCESS_KEY=[secret access key] \ | |
AWS_DEFAULT_REGION=[bucket region] \ | |
aws s3 cp "$backup_enc" "s3://my.backup.bucket/$s3_new_backup_name" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment