- 最新
- 最多得票
- 最多評論
- Download and install AWS CLI
- Create a bucket, say 'my-laptop-backup'
- Create an IAM User that has permissions to objects in that bucket
- Create access keys for the IAM user and install them on your laptop via 'aws configure'
- Twice a month run this command:
aws s3 sync . s3://my-laptop-backup --delete
I'm afraid I'm stuck. I followed all the steps as best I could, but was only 30% confident that I was doing them right. All of the help files are beyond my understanding.
Some of the errors I got along the way.
This one when I tried to configure the access keys... aws: error: argument command: Invalid choice, valid choices are:
accessanalyzer | account
acm | acm-pca
alexaforbusiness | amp
and then this one when I tried to run your backup command.
warning: Skipping file /Users/toddmccarty/.Trash. File/Directory is not readable. fatal error: Unable to locate credentials
I think it would take a professional to set this up on my machine. I thank you for your time, but the $9.99 p/month from Apple is sounding much better now, haha.
I wish Amazon had a simple cloud backup product. It's surprising that they don't get into the mass market like Apple and Google. Are you positive one doesn't exist?
T
When you install the access keys, run 'aws configure'. It will prompt you for the values. Once that is setup correctly, you can run something like 'aws s3 ls' to list your buckets.
I have not checked, but I suspect there are many third party vendors that offer backup solutions and use S3 as the offsite storage. But then you are back to paying for and installing additional software.
Thanks again for trying to help. I wonder if instead of trying to automate it, I could just do a direct upload of my entire hard drive to my Amazon S3 bucket? I might give that a try in the meantime. If it works, I could just set myself a reminder twice a month to do it.
T
相關內容
- 已提問 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
Thank you for the helpful response.
Would I run that command you gave me in "terminal"?
And, if possible, could you provide a link to a help file on how to install my IAM access keys on my laptop via 'aws configure'?
thanks again, T
Yes, the commands are run in the terminal. Here is a link that walks to setting up the access keys. https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-quickstart.html