找到你要的答案

Q:AzCopy - include tables and queues

Q:azcopy -包括表和队列

I used the AzCopy command to backup a Blob to a another account.

I am rather new to Azure storage, what I really want to do it move the whole storage account. This has Tables and Queues.

I am not clear is how dependent or independent the Tables and Queues are to the Blobs. Is there a way to move the whole thing, or do I have to copy the blobs then recreate the Tables and Queus

我用azcopy命令备份一滴到另一个帐户。

我相当新的Azure存储,我真的想做它移动整个存储帐户。这有表和队列。

我不清楚是如何依赖或独立的表和队列的斑点。有没有办法把整件事,或者我要复制的斑点然后重新创建表和Queus

answer1: 回答1:
  1. AzCopy supports copying Blobs from one account to another:

    AzCopy.exe /source:https://youraccount1.blob.core.windows.net/srccontainer /sourceKey:key1 /dest:https://youraccount2.blob.core.windows.net/destcontainer /destKey:key2 /s
    

    AzCopy by default uses server-side asynchronous copy, which doesn't have an SLA on copy speed. If you'd like to achieve consistent copy speed, please consider adding option /SyncCopy to the command line above. For further information of /SyncCopy, please refer to: AzCopy – Introducing synchronous copy and customized content type.

  2. AzCopy supports downloading a Table to local disk and uploading it to another account:

    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:https://youraccount2.table.core.windows.net/desttable /destKey:key2 /manifest:yourfilename /entityOperation:InsertOrReplace
    

    If you'd like to achieve better table downloading performance and you do know how the partition keys are arranged in your source table, you can specify option /PKRS in the command line to download table.

  3. AzCopy doesn't support copying Queues.

To download the latest version of AzCopy and find detailed information of AzCopy, please refer to http://aka.ms/azcopy .

  1. azcopy支持从一个帐户复制到另一个:

    AzCopy.exe /source:https://youraccount1.blob.core.windows.net/srccontainer /sourceKey:key1 /dest:https://youraccount2.blob.core.windows.net/destcontainer /destKey:key2 /s
    

    azcopy默认使用服务器端的异步复制,其中没有一个SLA对复印速度。如果你想实现持续一致的复印速度,请考虑添加选项/ synccopy上面的命令行。为/ synccopy进一步的信息,请参阅:azcopy–引入同步复制和定制内容类型。

  2. azcopy支持下载表格到本地磁盘并上传到另一个帐户:

    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:https://youraccount2.table.core.windows.net/desttable /destKey:key2 /manifest:yourfilename /entityOperation:InsertOrReplace
    

    如果你想获得更好的性能和表下载你知道怎么分区键排列在你的源表,您可以指定选项/卢布在命令行下载表格。

  3. azcopy不支持复制队列。

下载最新版本的azcopy找到azcopy的详细信息,请参阅http://aka.ms/azcopy。

windows-azure-storage  azure-storage-blobs