English 中文(简体)
Synchronizing S3 Folders/Buckets [closed]
原标题:
  • 时间:2009-11-24 22:24:41
  •  标签:
  • amazon-s3

Closed. This question is off-topic. It is not currently accepting answers.


Want to improve this question? Update the question so it s on-topic for Stack Overflow.

Closed 10 years ago.

I have an S3 Bucket that holds static content for all my clients in production. I also have a staging environment which I use for testing before I deploy to production. I also want the staging environment to point to S3 to test uploads and other functions. Problem is, I don t want the staging server to reference the same production s3 bucket/folder, because there is a risk of overriding production files.

My solution is to use a different folder within the same bucket, or create a different bucket all together that I can refresh periodically with the contents of the production bucket. Is there a way to easily sync two folders or buckets on Amazon S3?

Any other suggestions for managing this type of scenario would also be greatly appreciated.

最佳回答

CloudBerry Explorer comes with PowerShell command line interface and you can learn here how to use it to do sync.

问题回答

s3cmd is a nice CLI utility you can use in a cronjob. It even as a sync feature similar to *nix rsync.

There s also DragonDisk - like cloudberry explorer and other amazon s3 clients - except it s free and multi-platform (QT).

It does sync jobs, both local<->s3 and s3<->s3. It also has a command line interface which can do syncing: http://www.dragondisk.com/faq.html

Here s an example on S3CMD for your reference https://www.admon.org/system-tuning/sync-two-amazon-s3-buckets/

Check out CloudBerry Explorer and it s ability to sync data between local computer and Amazon S3. Might not exactly what you want but will help you to get started. More info here





相关问题
how to debug curl call to amazon s3 when it get stuck

I m using the PHP S3 class and this backup script to backup ~500Mb file from Linux server to S3. The call to s3 gets stuck (never returns) and top shows httpd process which consumes 100% CPU and 1% ...

Synchronizing S3 Folders/Buckets [closed]

I have an S3 Bucket that holds static content for all my clients in production. I also have a staging environment which I use for testing before I deploy to production. I also want the staging ...

Pure Javascript app + Amazon S3?

I m looking to confirm or refute the following: For what I have read so far it is not possible to write a web application with only javascript -- no server side logic -- served from Amazon S3 that ...

Using a CDN like Amazon S3 to control access to media

I want to use Amazon S3/CloudFront to store flash files. These files must be private as they will be accessed by members. This will be done by storing each file with a link to Amazon using a mysql ...

What s a good way to collect logs from Amazon EC2 instances?

My app is hosted on an Amazon EC2 cluster. Each instance writes events to log files. I need to collect (and data mine) over these logs at the end of each day. What s a recommended way to collect these ...

热门标签