将数据从 Azure Blob 存储同步到 AWS S3

时间:2021-03-25 15:05:59

标签: azure amazon-s3

如何使 AWS 中的特定文件与最初在我的 Azure blob 存储中的源文件保持同步?

Azure blob 存储 =

AWS = 目标

我希望通过使用 Azure blob 存储(源)中的文件更新 AWS(目标)中的文件来不断保持两个文件同步

1 个答案:

答案 0 :(得分:1)

您可以使用开源 Node.js 包 azure-blob-to-s3 将内容从 Azure Blob 存储迁移到 Amazon S3。示例 CLI 命令如下:

azure-s3 \
  --concurrency 10 \
  --azure-connection "..." \
  --azure-container my-container \
  --aws-bucket my-bucket \
  --aws-prefix my-prefix

azure-s3 的 Github 页面:https://github.com/bendrucker/azure-blob-to-s3

此外,此博客页面详细描述了用例:https://github.com/bendrucker/azure-blob-to-s3https://aws.amazon.com/blogs/storage/one-way-to-migrate-data-from-azure-blob-storage-to-amazon-s3/