在 C# 中复制 Azure 存储表

Copy Azure Storage Tables in C#

感谢Azcopy, it is quite easy to transfer data between different azure storage accounts in command line. But I failed to find an efficient way to copy Azure Table Storage in C#. I noticed that there is an Microsoft Azure Storage Data Movement Library that claims to power the Azcopy, but seems there is no direct way to copy tables according to the library reference。有什么有效实施的建议吗?

P.S。我不时有数百万个实体要传输,我更喜欢将它集成到 C# 项目中,而无需使用 cmd.exe 或电源 shell.

I noticed that there is an Microsoft Azure Storage Data Movement Library that claims to power the Azcopy, but seems there is no direct way to copy tables according to the library reference.

正如您提到的,Microsoft Azure Storage Data Movement Library 中没有关于复制 table 的方法。

prefer to integrate it in a C# project without using cmd.exe or power shell.

关于如何用C#操作Azuretable存储,可以参考Get started with Azure Table storage using .NET

I have millions of entities to transfer now

由于需要转移的实体数量巨大。根据我的经验,我们可以使用 Azure Data Factory 来做到这一点。

相关资源:

Copy data to or from Azure Table using Azure Data Factory