How can I download my entire website from AWS S3?

0

How can I download my whole website from AWS S3? I think that I know what is going wrong with my website updates. For some reason, when I transfer files to my AWS S3 folder, it is not copying the files but moving the files to AWS and removing them from my computer.

My website on AWS is working 100% but the backup/original files on my computer are broken now.

已提問 1 年前檢視次數 279 次
1 個回答
1
已接受的答案

The most straightforward method is to use aws s3 sync s3://[your_bucket]/ [local_directory]

The also has the advantage that in subsequent runs it will only copy files that are new or have changed since the previous time it was run.

profile picture
專家
Steve_M
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南