Best way to move files between S3 buckets?

前端 未结 12 2133
暗喜
暗喜 2020-12-07 11:09

I\'d like to copy some files from a production bucket to a development bucket daily.

For example: Copy productionbucket/feed/feedname/date to developmentbucket/feed/

12条回答
  •  难免孤独
    2020-12-07 11:13

    We had this exact problem with our ETL jobs at Snowplow, so we extracted our parallel file-copy code (Ruby, built on top of Fog), into its own Ruby gem, called Sluice:

    https://github.com/snowplow/sluice

    Sluice also handles S3 file delete, move and download; all parallelised and with automatic re-try if an operation fails (which it does surprisingly often). I hope it's useful!

提交回复
热议问题