我们可以在Windows系统中保留/安装两个版本的azcopy吗

问题描述 投票:0回答:1

安装的 azcopy 的当前版本

>azcopy --version
azcopy version 10.23.0

我正在为存储帐户中提供的所有服务创建 SAS,以在存储帐户之间进行复制。 在创建表服务时,出现以下错误:

azcopy copy "table_sas_url+token" "destination_table_sas_url+token" --recursive=true

错误消息

INFO: The parameters you supplied were Source: 'https://srcstorage.table.core.windows.net/
?se=2024-03-03T14%3A02%3A28Z&sig=-REDACTED-&sp=rwdlacu&spr=https&srt=sco&ss=t&st=2024-03-03T06%3A02%3A28Z&sv=2022-11-02' of type Local, and Destination: 'https://deststorage.table.core.windows.net/?se=2024-03-03T14%3A03%3A06Z&sig=-REDACTED-&sp=rwdlacu&spr=https&srt=sco&ss=t
&st=2024-03-03T06%3A03%3A06Z&sv=2022-11-02' of type Local
INFO: Based on the parameters supplied, a valid source-destination combination could 
not automatically be found. Please check the parameters you supplied.  
If they are correct, please specify an exact source and destination type using the 
--from-to switch. Specified to nudge AzCopy when resource detection may not work (e.g. piping/emulator/azure stack); Valid FromTo are pairs of Source-Destination words (e.g. BlobLocal, BlobBlob) that specify the source and destination resource types. 
All valid FromTos are: BlobBlob, BlobBlobFS, BlobFSBlob, BlobFSBlobFS, BlobFSFile, BlobFSLocal, BlobFile, BlobLocal, BlobPipe, FileBlob, FileBlobFS, FileFile, FileLocal, FilePipe, GCPBlob, LocalBlob, LocalBlobFS, LocalFile, PipeBlob, PipeFile, S3Blob

failed to parse user input due to error: the inferred source/destination combination 
could not be identified, or is currently not supported

后来google了一下,才知道最新版本的azcopy不支持表存储服务。要对表服务执行任何复制命令,微软建议使用旧版本7.3

我们可以保留 azcopy 的两个版本还是最好采用其他解决方案?

azure azure-storage azure-table-storage azcopy
1个回答
0
投票

我们可以保留 azcopy 的两个版本还是最好采用其他解决方案?

您可以使用 Azure 存储资源管理器,而不是使用 AzCopy 命令将数据复制或移动到 Azure 存储,它提供图形用户界面 (GUI),其工作方式与 AzCopy 类似,但具有更好的 GUI 界面。

要将表从一个存储帐户复制到 Microsoft Azure 存储资源管理器中的另一个存储帐户,请按照以下步骤操作:

  1. 使用您的 Azure 凭据登录 Microsoft Azure 存储资源管理器。
  2. 导航到存储帐户 (
    venkat678
    ) -> 表 (
    aztable
    ) -> 复制表。

探索者: enter image description here

  1. 转到其他存储帐户 (
    venkat789
    ) -> 表 -> 粘贴表。

enter image description here

此过程会将表从一个存储帐户复制到另一个存储帐户。

探索者: enter image description here

或者,您可以使用 Azure 数据工厂将 Azure 表从一个存储帐户复制到另一个存储帐户。

参考:

使用 Azure 数据工厂 (ADF) 复制 Azure 表存储 - Microsoft 社区中心

© www.soinside.com 2019 - 2024. All rights reserved.