Last active
October 25, 2016 23:45
-
-
Save mbacou/b102c714d8b72755f6f180334e00e52f to your computer and use it in GitHub Desktop.
Server backup to S3
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
aws configure | |
# Enter backup user credentials | |
# See https://console.aws.amazon.com/iam/home?region=us-east-1#users/backup | |
# Default region name [None]: enter us-east-1 | |
# Default output format [None]: enter json | |
# Upload | |
aws s3 cp candace-D-drive-backup.data.bak s3://Candace_Backup/WindowsImageBackup/Candace/ | |
# Download | |
aws s3 cp s3://Candace_Backup/WindowsImageBackup/Candace/candace-D-drive-backup.data.bak ./ | |
# Delete | |
aws s3 rm s3://Candace_Backup/WindowsImageBackup/Candace/candace-D-drive-backup.data.bak |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment