How can I copy clone/duplicate a folder on S3?

吃可爱长大的小学妹 提交于 2020-01-03 09:11:50

问题


I want to make a copy of the folders and images on my s3 bucket for my development server. How can I do that?


回答1:


I just wanted to write an updated answer here:

You can now use Amazon's AWS Management Console (under the S3 tab) to right click on any folder (or file) in Bucket A, click Copy, then navigate to Bucket B and right click and click Paste

This makes it extremely easy to copy the contents of your production bucket over to your dev bucket.




回答2:


If you are using linux, and just want to drag copies down to the local filesystem, then you could use s3sync:

http://www.s3sync.net/wiki

If you wanted to access the files directly on s3, you could mount s3 as a fuse filesystem locally, but beware that accessing files using this method is dependent on your connection, so there could be speed issues. I've used s3fs perfectly well for accessing backups etc:

(can only post one link atm, but google s3fs - it's hosted on googlecode)

If you just need a copy, then s3sync is the easiest option.

Hope this helps.




回答3:


I have to say, in conclusion, I recommend using a GUI. They've already laid out the work for you.

My best recommendation is Bucket Explorer ( works on all OS's)

Second runner up is CloudBerry ( only on PC's )

Bucket Explorer has a sweet very easy to understand GUI, and has a lot of great perks, analytics, and usability that outweighs all the others I experimented with.



来源:https://stackoverflow.com/questions/3409706/how-can-i-copy-clone-duplicate-a-folder-on-s3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!