将 /Source(或 /Dest)热设置为 AzCopy 的存储模拟器
Hot set the /Source (or /Dest) to storage emulator for AzCopy
我想将一些简单的表转储到本地计算机的模拟器中,以便我可以先在本地测试我的应用程序。我可以将 azcopy 作为文件复制到我的本地磁盘。但我找不到如何为存储模拟器指定/Dest。有人可以帮忙吗?谢谢。
到目前为止,AzCopy 不支持直接将 table 复制到 table。要解决此问题,您可以 运行 两个命令首先将源 table 导出到本地,然后再导入回目标 table.
AzCopy.exe /Source:https://youraccount1.table.core.windows.net/srctable /SourceKey:key1 /Dest:D:\LocalFolder /Manifest:yourfilename /SplitSize:128
AzCopy.exe /Source:D:\LocalFolder /Dest:http://127.0.0.1:10002/devstoreaccount1/desttable /DestType:Table /DestKey:key2 /Manifest:yourfilename /EntityOperation:InsertOrReplace
我想将一些简单的表转储到本地计算机的模拟器中,以便我可以先在本地测试我的应用程序。我可以将 azcopy 作为文件复制到我的本地磁盘。但我找不到如何为存储模拟器指定/Dest。有人可以帮忙吗?谢谢。
到目前为止,AzCopy 不支持直接将 table 复制到 table。要解决此问题,您可以 运行 两个命令首先将源 table 导出到本地,然后再导入回目标 table.
AzCopy.exe /Source:https://youraccount1.table.core.windows.net/srctable /SourceKey:key1 /Dest:D:\LocalFolder /Manifest:yourfilename /SplitSize:128
AzCopy.exe /Source:D:\LocalFolder /Dest:http://127.0.0.1:10002/devstoreaccount1/desttable /DestType:Table /DestKey:key2 /Manifest:yourfilename /EntityOperation:InsertOrReplace