aws

Amazon EC2

Amazon RDS

Amazon S3

AWS Price calculator

To backup a folder to the Amazon S3 bucket, run

aws s3 cp --recursive /path/to/folder/ s3://BUCKET_NAME/NEW_FOLDER_NAME/ 

Example

aws s3 cp command

To sync (download) a s3 bucket to your local computer, run

aws s3 sync --no-sign-request --region us-west-2 s3://BUCKET_NAME/ ./localpath/ 

To list all s3 buckets, run

aws s3 list

Example

root@server2 [~]# aws s3 ls
2016-04-30 09:15:38 bkjoe
2016-11-30 07:38:38 server2bc
root@server2 [~]# aws s3 ls s3://server2bc/
                           PRE 2017-12-22/
                           PRE monthly/
                           PRE weekly/
root@server2 [~]# 
Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *