Azure - AzCopy学习

使用 AzCopy 将本地数据迁移到云存储空间

  1. azcopy login

    1. 创建存储账号
    ./azcopy login --tenant-id 40242385-c249-4746-95dc-4a0b64d49dc5
    
    • 这里的—tenant-id 在下面的地方查看:目录 ID;需要拥有Storage Blob Data Owner 的权限
    • 账号下可能会有很多目录(tenant),所以在 login 的时候带上 —tenant-id

在这里插入图片描述

  1. 使用 azcopy copy 上传

    azcopy copy 20230509_144654178_iOS.jpg https://eastorageaccountpg.blob.core.windows.net/private-pg
    

    修改文件名和 endpoint 即可。

如果使用 az 命令也可以打到效果

az storage blob upload -f 20230509_144654178_iOS.jpg -c blog-pg -n 20230509_144654178_iOS.jpg

AzCopy Sync 使用

在这里插入图片描述

 1. azcopy sync,Client local Dir → EU:Blob/container/dir- Client未登录 Azure- blob 的 container 生成共享访问令牌,注意权限选择

在这里插入图片描述

Client 执行 azcopy sync 命令with SAS

        root@ubuntu0:~# azcopy sync "./blog/" "https://eustoragesacc0.blob.core.windows.net/eucontainer?sp=racwdlep&st=2023-07-21T12:27:30Z&se=2023-07-21T20:27:30Z&spr=https&sv=2022-11-02&sr=c&sig=edSES09iSGU1xChuOAJnEKNrTJ1xbk0pR97aO%2FA0boE%3D"INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder supportJob e08f5117-f8b7-314d-5aa3-3f22b0fdf82b has startedLog file is located at: /root/.azcopy/e08f5117-f8b7-314d-5aa3-3f22b0fdf82b.log100.0 %, 2 Done, 0 Failed, 0 Pending, 2 Total, 2-sec Throughput (Mb/s): 0.6465Job e08f5117-f8b7-314d-5aa3-3f22b0fdf82b SummaryFiles Scanned at Source: 2Files Scanned at Destination: 0Elapsed Time (Minutes): 0.0667Number of Copy Transfers for Files: 2Number of Copy Transfers for Folder Properties: 0 Total Number Of Copy Transfers: 2Number of Copy Transfers Completed: 2Number of Copy Transfers Failed: 0Number of Deletions at Destination: 0Total Number of Bytes Transferred: 423810Total Number of Bytes Enumerated: 423810Final Job Status: Completed

查看 Blob 情况

在这里插入图片描述

  1. EA:blob/container/dir → EU:blob/container/dir

    • ea 源生成 SAS,注意权限
      在这里插入图片描述

    • Client 执行 azcopy sync 命令with SAS

      root@ubuntu0:~# azcopy sync "https://eastorageacc0.blob.core.windows.net/eacontainer/sync/?sp=rle&st=2023-07-21T12:42:42Z&se=2023-07-21T20:42:42Z&spr=https&sv=2022-11-02&sr=c&sig=%2FZzdp1B5dpZzTGT3PlwhssFKnipWkgp%2BBpOIqo9t1mY%3D" "https://eustoragesacc0.blob.core.windows.net/eucontainer/sync/?sp=racwdlep&st=2023-07-21T12:27:30Z&se=2023-07-21T20:27:30Z&spr=https&sv=2022-11-02&sr=c&sig=edSES09iSGU1xChuOAJnEKNrTJ1xbk0pR97aO%2FA0boE%3D"
      INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder supportJob 747202e5-1afc-b846-4388-9e2e4eee6c58 has started
      Log file is located at: /root/.azcopy/747202e5-1afc-b846-4388-9e2e4eee6c58.log100.0 %, 3 Done, 0 Failed, 0 Pending, 3 Total, 2-sec Throughput (Mb/s): 0   Job 747202e5-1afc-b846-4388-9e2e4eee6c58 Summary
      Files Scanned at Source: 3
      Files Scanned at Destination: 0
      Elapsed Time (Minutes): 0.1
      Number of Copy Transfers for Files: 3
      Number of Copy Transfers for Folder Properties: 0 
      Total Number Of Copy Transfers: 3
      Number of Copy Transfers Completed: 3
      Number of Copy Transfers Failed: 0
      Number of Deletions at Destination: 0
      Total Number of Bytes Transferred: 847620
      Total Number of Bytes Enumerated: 847620
      Final Job Status: Completed
      
    • 查看 Blob 情况

    在这里插入图片描述

  • AzCopy copy 示例

    azcopy copy "https://eascc20230728.blob.core.windows.net/local/1.txt?sp=racwli&st=2023-07-31T03:54:41Z&se=2023-08-31T11:54:41Z&spr=https&sv=2022-11-02&sr=c&sig=hRxFYgG3chofx1WUwlb0ji5wPuI%2BgA31DxUNZlPjAW4%3D" ./1.txt
    
    • 加上 token 要使用“”
    • https://eascc20230728.blob.core.windows.net/local/1.txt 具体的 blob 还是目录要指定清楚

Blob bw Regions test

![在这里插入图片描述](https://img-blog.csdnimg.cn/b013af0918f54b4c8a09abaa052b20af.jpeg#pic_center)
序号说明测试 1测试 2测试 3平均值
1EA client → SA Container0.23340.2334
2SA Container → EU client1.02631.26751.01481.10286667
3SA Container → EU client @ peer created1.12091.24491.14831.17136667
4SA Container → EU Container4.16814.3354.63514.3794
2 Hours Later1.43381.86731.65055
5EU Contaner → SA Container1.00030.93360.96695
6EU client → EU Container0.7670.76690.7670.76696667
7EU Container → EU Client, VM disk iops limited0.88140.8814
8EA client →EU Container0.53350.70020.61685
9EU container → EA container0.40010.4001

结论:
1. Client 跨Region 获取 Container 中文件,在 Blog 选择微软内网优先的情况下,Region间是否使用 Peer 对等对传输效率基本无影响;
2. Container 的文件直接跨 Region 传输效率与选择的 Region以及时机/方向 有关,一段时间保持稳定;
3. 同 Region 传输效率高;

原始数据

    1. EA client → SA Containerroot@ubuntu0:/home/zyi# azcopy copy 1.zip https://sastorageac0.blob.core.windows.net/sacontainerINFO: Scanning...INFO: Autologin not specified.INFO: Authenticating to destination using Azure ADINFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder supportJob f631ebf2-8060-6b47-7164-58044ee0c43c has startedLog file is located at: /root/.azcopy/f631ebf2-8060-6b47-7164-58044ee0c43c.log100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total,                                   Job f631ebf2-8060-6b47-7164-58044ee0c43c summaryElapsed Time (Minutes): 0.2334Number of File Transfers: 1Number of Folder Property Transfers: 0Number of Symlink Transfers: 0Total Number of Transfers: 1Number of File Transfers Completed: 1Number of Folder Transfers Completed: 0Number of File Transfers Failed: 0Number of Folder Transfers Failed: 0Number of File Transfers Skipped: 0Number of Folder Transfers Skipped: 0TotalBytesTransferred: 10519930170Final Job Status: Completed2. SA Container → EU clientroot@eu-ubuntu0:/home/zyi# azcopy copy https://sastorageac0.blob.core.windows.net/sacontainer/1.zip .INFO: Scanning...INFO: Autologin not specified.INFO: Authenticating to source using Azure ADINFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder supportJob bf9d0ff0-6066-2140-4cb9-8716e4272028 has startedLog file is located at: /root/.azcopy/bf9d0ff0-6066-2140-4cb9-8716e4272028.log0.0 %, 0 Done, 0 Failed, 1 Pending, 0 Skipped, 1 Total, 2-sec Throughput (Mb/s):0.0 %, 0 Done, 0 Failed, 1 Pending, 0 Skipped, 1 Total,                         2.1 %, 0 Done, 0 Failed, 1 Pending, 0 Skipped, 1 Total, 2-sec Throughput (Mb/s):6.2 %, 0 Done, 0 Failed, 1 Pending, 0 Skipped, 1 Total, 2-sec Throughput (Mb/s):11.0 %, 0 Done, 0 Failed, 1 Pending, 0 Skipped, 1 Total, 2-sec Throughput (Mb/s)15.9 %, 0 Done, 0 Failed, 1 Pending, 0 Skipped, 1 Total, 2-sec Throughput (Mb/s)20.3 %, 0 Done, 0 Failed, 1 Pending, 0 Skipped, 1 Total, 2-sec Throughput (Mb/s)24.6 %, 0 Done, 0 Failed, 1 Pending, 0 Skipped, 1 Total, 2-sec Throughput (Mb/s)29.1 %, 0 Done, 0 Failed, 1 Pending, 0 Skipped, 1 Total, 2-sec Throughput (Mb/s)33.7 %, 0 Done, 0 Failed, 1 Pending, 0 Skipped, 1 Total, 2-sec Throughput (Mb/s)38.4 %, 0 Done, 0 Failed, 1 Pending, 0 Skipped, 1 Total, 2-sec Throughput (Mb/s)42.4 %, 0 Done, 0 Failed, 1 Pending, 0 Skipped, 1 Total, 2-sec Throughput (Mb/s)46.9 %, 0 Done, 0 Failed, 1 Pending, 0 Skipped, 1 Total, 2-sec Throughput (Mb/s)51.4 %, 0 Done, 0 Failed, 1 Pending, 0 Skipped, 1 Total, 2-sec Throughput (Mb/s)55.3 %, 0 Done, 0 Failed, 1 Pending, 0 Skipped, 1 Total, 2-sec Throughput (Mb/s)59.7 %, 0 Done, 0 Failed, 1 Pending, 0 Skipped, 1 Total, 2-sec Throughput (Mb/s)64.4 %, 0 68.9 %, 0 Done, 0 Failed, 1 Pending, 0 Skipped, 1 Total, 2-sec Throughput (Mb/s): 1710.624 (Disk may be l73.4 %, 0 Done, 0 Failed, 1 Pending, 0 Skipped, 1 Total, 2-sec Throughput (Mb/s): 1845.0545 (77.3 %, 0 Done, 0 Failed, 1 Pending, 0 Skipped, 1 Total, 2-sec Throughput (Mb/s): 1440.6049  82.5 %, 0 Done, 0 Failed, 1 Pending, 0 Skipped, 1 Total, 100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total,                                                               Job bf9d0ff0-6066-2140-4cb9-8716e4272028 summaryElapsed Time (Minutes): 1.0263Number of File Transfers: 1Number of Folder Property Transfers: 0Number of Symlink Transfers: 0Total Number of Transfers: 1Number of File Transfers Completed: 1Number of Folder Transfers Completed: 0Number of File Transfers Failed: 0Number of Folder Transfers Failed: 0Number of File Transfers Skipped: 0Number of Folder Transfers Skipped: 0TotalBytesTransferred: 10519930170Final Job Status: Completed#download 2root@eu-ubuntu0:/home/zyi# azcopy copy https://sastorageac0.blob.core.windows.net/sacontainer/1.zip .INFO: Scanning...INFO: Autologin not specified.INFO: Authenticating to source using Azure ADINFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder supportJob 732e37c9-9e99-364a-4a4e-fa7484fac927 has startedLog file is located at: /root/.azcopy/732e37c9-9e99-364a-4a4e-fa7484fac927.log100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total,                                  Job 732e37c9-9e99-364a-4a4e-fa7484fac927 summaryElapsed Time (Minutes): 1.2675Number of File Transfers: 1Number of Folder Property Transfers: 0Number of Symlink Transfers: 0Total Number of Transfers: 1Number of File Transfers Completed: 1Number of Folder Transfers Completed: 0Number of File Transfers Failed: 0Number of Folder Transfers Failed: 0Number of File Transfers Skipped: 0Number of Folder Transfers Skipped: 0TotalBytesTransferred: 10519930170Final Job Status: Completed#download 3^[[Aroot@eu-ubuntu0:/home/zyi# azcopy copy https://sastorageac0.blob.core.windows.net/sacontainer/1.zip .INFO: Scanning...INFO: Autologin not specified.INFO: Authenticating to source using Azure ADINFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder supportJob 05c9210a-e503-c046-6f9b-853d6c9a3c4e has startedLog file is located at: /root/.azcopy/05c9210a-e503-c046-6f9b-853d6c9a3c4e.log100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total,                                                               Job 05c9210a-e503-c046-6f9b-853d6c9a3c4e summaryElapsed Time (Minutes): 1.0148Number of File Transfers: 1Number of Folder Property Transfers: 0Number of Symlink Transfers: 0Total Number of Transfers: 1Number of File Transfers Completed: 1Number of Folder Transfers Completed: 0Number of File Transfers Failed: 0Number of Folder Transfers Failed: 0Number of File Transfers Skipped: 0Number of Folder Transfers Skipped: 0TotalBytesTransferred: 10519930170Final Job Status: Completed```3. SA Container → EU client @ peer created```powershellroot@eu-ubuntu0:/home/zyi# azcopy copy https://sastorageac0.blob.core.windows.net/sacontainer/1.zip .INFO: Scanning...INFO: Autologin not specified.INFO: Authenticating to source using Azure ADINFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder supportJob b1d8da46-9358-6b4c-66d4-bb8cb8d53e1f has startedLog file is located at: /root/.azcopy/b1d8da46-9358-6b4c-66d4-bb8cb8d53e1f.log100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total,                                  Job b1d8da46-9358-6b4c-66d4-bb8cb8d53e1f summaryElapsed Time (Minutes): 1.1209Number of File Transfers: 1Number of Folder Property Transfers: 0Number of Symlink Transfers: 0Total Number of Transfers: 1Number of File Transfers Completed: 1Number of Folder Transfers Completed: 0Number of File Transfers Failed: 0Number of Folder Transfers Failed: 0Number of File Transfers Skipped: 0Number of Folder Transfers Skipped: 0TotalBytesTransferred: 10519930170Final Job Status: Completed#2root@eu-ubuntu0:/home/zyi# azcopy copy https://sastorageac0.blob.core.windows.net/sacontainer/1.zip .INFO: Scanning...INFO: Autologin not specified.INFO: Authenticating to source using Azure ADINFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder supportJob b646e5c1-af07-6c41-7a0c-641ecfd5d1cd has startedLog file is located at: /root/.azcopy/b646e5c1-af07-6c41-7a0c-641ecfd5d1cd.log100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total,                                  Job b646e5c1-af07-6c41-7a0c-641ecfd5d1cd summaryElapsed Time (Minutes): 1.2449Number of File Transfers: 1Number of Folder Property Transfers: 0Number of Symlink Transfers: 0Total Number of Transfers: 1Number of File Transfers Completed: 1Number of Folder Transfers Completed: 0Number of File Transfers Failed: 0Number of Folder Transfers Failed: 0Number of File Transfers Skipped: 0Number of Folder Transfers Skipped: 0TotalBytesTransferred: 10519930170Final Job Status: Completedroot@eu-ubuntu0:/home/zyi# azcopy copy https://sastorageac0.blob.core.windows.net/sacontainer/1.zip .INFO: Scanning...INFO: Autologin not specified.INFO: Authenticating to source using Azure ADINFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder supportJob 30f70c4e-fdd1-9a4b-6e89-c5e7406970de has startedLog file is located at: /root/.azcopy/30f70c4e-fdd1-9a4b-6e89-c5e7406970de.log100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total,                                                               Job 30f70c4e-fdd1-9a4b-6e89-c5e7406970de summaryElapsed Time (Minutes): 1.1483Number of File Transfers: 1Number of Folder Property Transfers: 0Number of Symlink Transfers: 0Total Number of Transfers: 1Number of File Transfers Completed: 1Number of Folder Transfers Completed: 0Number of File Transfers Failed: 0Number of Folder Transfers Failed: 0Number of File Transfers Skipped: 0Number of Folder Transfers Skipped: 0TotalBytesTransferred: 10519930170Final Job Status: Completed```1. SA Container → EU Container```powershellroot@eu-ubuntu0:/home/zyi# azcopy copy https://sastorageac0.blob.core.windows.net/sacontainer/1.zip https://eustorageac0.blob.core.windows.net/eucontainer/1.zip INFO: Scanning...INFO: Autologin not specified.INFO: Authenticating to destination using Azure ADINFO: Authenticating to source using Azure ADINFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder supportJob 9168f92f-2da4-6742-6862-8e5696b52a41 has startedLog file is located at: /root/.azcopy/9168f92f-2da4-6742-6862-8e5696b52a41.logINFO: Transfers could fail because AzCopy could not verify if the destination supports tiers.100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total, Job 9168f92f-2da4-6742-6862-8e5696b52a41 summaryElapsed Time (Minutes): 4.1681Number of File Transfers: 1Number of Folder Property Transfers: 0Number of Symlink Transfers: 0Total Number of Transfers: 1Number of File Transfers Completed: 1Number of Folder Transfers Completed: 0Number of File Transfers Failed: 0Number of Folder Transfers Failed: 0Number of File Transfers Skipped: 0Number of Folder Transfers Skipped: 0TotalBytesTransferred: 10519930170Final Job Status: Completedroot@eu-ubuntu0:/home/zyi# azcopy copy https://sastorageac0.blob.core.windows.net/sacontainer/1.zip https://eustorageac0.blob.core.windows.net/eucontainer/10.zip INFO: Scanning...INFO: Autologin not specified.INFO: Authenticating to destination using Azure ADINFO: Authenticating to source using Azure ADINFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder supportJob 7cca86e8-11b6-164d-7b33-887d9cf10183 has startedLog file is located at: /root/.azcopy/7cca86e8-11b6-164d-7b33-887d9cf10183.logINFO: Transfers could fail because AzCopy could not verify if the destination supports tiers.100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total, Job 7cca86e8-11b6-164d-7b33-887d9cf10183 summaryElapsed Time (Minutes): 4.335Number of File Transfers: 1Number of Folder Property Transfers: 0Number of Symlink Transfers: 0Total Number of Transfers: 1Number of File Transfers Completed: 1Number of Folder Transfers Completed: 0Number of File Transfers Failed: 0Number of Folder Transfers Failed: 0Number of File Transfers Skipped: 0Number of Folder Transfers Skipped: 0TotalBytesTransferred: 10519930170Final Job Status: Completed#3root@eu-ubuntu0:/home/zyi# azcopy copy https://sastorageac0.blob.core.windows.net/sacontainer/1.zip https://eustorageac0.blob.core.windows.net/eucontainer/1.zip INFO: Scanning...INFO: Autologin not specified.INFO: Authenticating to destination using Azure ADINFO: Authenticating to source using Azure ADINFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder supportJob c4366598-5822-b946-45b9-6ee9d6f6df15 has startedLog file is located at: /root/.azcopy/c4366598-5822-b946-45b9-6ee9d6f6df15.logINFO: Transfers could fail because AzCopy could not verify if the destination supports tiers.100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total, Job c4366598-5822-b946-45b9-6ee9d6f6df15 summaryElapsed Time (Minutes): 4.6351Number of File Transfers: 1Number of Folder Property Transfers: 0Number of Symlink Transfers: 0Total Number of Transfers: 1Number of File Transfers Completed: 1Number of Folder Transfers Completed: 0Number of File Transfers Failed: 0Number of Folder Transfers Failed: 0Number of File Transfers Skipped: 0Number of Folder Transfers Skipped: 0TotalBytesTransferred: 10519930170Final Job Status: Completed#4root@ubuntu0:/home/zyi# azcopy copy https://sastorageac0.blob.core.windows.net/sacontainer/1.zip https://eustorageac0.blob.core.windows.net/eucontainer/1.zipINFO: Scanning...INFO: Autologin not specified.INFO: Authenticating to destination using Azure ADINFO: Authenticating to source using Azure ADINFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder supportJob 15fe8cca-78c3-3d40-4a55-e90d11495258 has startedLog file is located at: /root/.azcopy/15fe8cca-78c3-3d40-4a55-e90d11495258.logINFO: Transfers could fail because AzCopy could not verify if the destination supports tiers.100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total, Job 15fe8cca-78c3-3d40-4a55-e90d11495258 summaryElapsed Time (Minutes): 1.4338Number of File Transfers: 1Number of Folder Property Transfers: 0Number of Symlink Transfers: 0Total Number of Transfers: 1Number of File Transfers Completed: 1Number of Folder Transfers Completed: 0Number of File Transfers Failed: 0Number of Folder Transfers Failed: 0Number of File Transfers Skipped: 0Number of Folder Transfers Skipped: 0TotalBytesTransferred: 10519930170Final Job Status: Completed#5root@ubuntu0:/home/zyi# azcopy copy https://sastorageac0.blob.core.windows.net/sacontainer/1.zip https://eustorageac0.blob.core.windows.net/eucontainer/1.zipINFO: Scanning...INFO: Autologin not specified.INFO: Authenticating to destination using Azure ADINFO: Authenticating to source using Azure ADINFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder supportJob 2ac14c6f-f943-9c4b-7477-6947fd59ab31 has startedLog file is located at: /root/.azcopy/2ac14c6f-f943-9c4b-7477-6947fd59ab31.logINFO: Transfers could fail because AzCopy could not verify if the destination supports tiers.100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total, Job 2ac14c6f-f943-9c4b-7477-6947fd59ab31 summaryElapsed Time (Minutes): 1.8673Number of File Transfers: 1Number of Folder Property Transfers: 0Number of Symlink Transfers: 0Total Number of Transfers: 1Number of File Transfers Completed: 1Number of Folder Transfers Completed: 0Number of File Transfers Failed: 0Number of Folder Transfers Failed: 0Number of File Transfers Skipped: 0Number of Folder Transfers Skipped: 0TotalBytesTransferred: 10519930170Final Job Status: Completed```2. EU Contaner → SA Container```powershellroot@ubuntu0:/home/zyi# azcopy copy https://eustorageac0.blob.core.windows.net/eucontainer/10.zip https://sastorageac0.blob.core.windows.net/sacontainerINFO: Scanning...INFO: Autologin not specified.INFO: Authenticating to destination using Azure ADINFO: Authenticating to source using Azure ADINFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder supportJob 8b6f339f-e23b-2f4e-755c-8bd336942b40 has startedLog file is located at: /root/.azcopy/8b6f339f-e23b-2f4e-755c-8bd336942b40.logINFO: Transfers could fail because AzCopy could not verify if the destination supports tiers.100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total, Job 8b6f339f-e23b-2f4e-755c-8bd336942b40 summaryElapsed Time (Minutes): 1.0003Number of File Transfers: 1Number of Folder Property Transfers: 0Number of Symlink Transfers: 0Total Number of Transfers: 1Number of File Transfers Completed: 1Number of Folder Transfers Completed: 0Number of File Transfers Failed: 0Number of Folder Transfers Failed: 0Number of File Transfers Skipped: 0Number of Folder Transfers Skipped: 0TotalBytesTransferred: 10519930170Final Job Status: Completed#2root@ubuntu0:/home/zyi# azcopy copy https://eustorageac0.blob.core.windows.net/eucontainer/10.zip https://sastorageac0.blob.core.windows.net/sacontainer/1.zipINFO: Scanning...INFO: Autologin not specified.INFO: Authenticating to destination using Azure ADINFO: Authenticating to source using Azure ADINFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder supportJob 0c1039f0-7a9f-0e44-6a42-079c03708fb8 has startedLog file is located at: /root/.azcopy/0c1039f0-7a9f-0e44-6a42-079c03708fb8.logINFO: Transfers could fail because AzCopy could not verify if the destination supports tiers.100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total, Job 0c1039f0-7a9f-0e44-6a42-079c03708fb8 summaryElapsed Time (Minutes): 0.9336Number of File Transfers: 1Number of Folder Property Transfers: 0Number of Symlink Transfers: 0Total Number of Transfers: 1Number of File Transfers Completed: 1Number of Folder Transfers Completed: 0Number of File Transfers Failed: 0Number of Folder Transfers Failed: 0Number of File Transfers Skipped: 0Number of Folder Transfers Skipped: 0TotalBytesTransferred: 10519930170Final Job Status: Completed```1. EU client → EU Container```powershellroot@eu-ubuntu0:/home/zyi# azcopy copy 1.zip https://eustorageac0.blob.core.windows.net/eucontainer/1.zip INFO: Scanning...INFO: Autologin not specified.INFO: Authenticating to destination using Azure ADINFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder supportJob d3bdc10a-4142-8b41-7f9a-752c840c5f36 has startedLog file is located at: /root/.azcopy/d3bdc10a-4142-8b41-7f9a-752c840c5f36.log100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total, 2-sec Throughput (Mb/s): 623.3303Job d3bdc10a-4142-8b41-7f9a-752c840c5f36 summaryElapsed Time (Minutes): 0.767Number of File Transfers: 1Number of Folder Property Transfers: 0Number of Symlink Transfers: 0Total Number of Transfers: 1Number of File Transfers Completed: 1Number of Folder Transfers Completed: 0Number of File Transfers Failed: 0Number of Folder Transfers Failed: 0Number of File Transfers Skipped: 0Number of Folder Transfers Skipped: 0TotalBytesTransferred: 10519930170Final Job Status: Completed#2root@eu-ubuntu0:/home/zyi# azcopy copy 1.zip https://eustorageac0.blob.core.windows.net/eucontainer/1.zip INFO: Scanning...INFO: Autologin not specified.INFO: Authenticating to destination using Azure ADINFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder supportJob 3018151c-c777-ca42-4054-7f980de47650 has startedLog file is located at: /root/.azcopy/3018151c-c777-ca42-4054-7f980de47650.log100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total, 2-sec Throughput (Mb/s): 598.946 Job 3018151c-c777-ca42-4054-7f980de47650 summaryElapsed Time (Minutes): 0.7669Number of File Transfers: 1Number of Folder Property Transfers: 0Number of Symlink Transfers: 0Total Number of Transfers: 1Number of File Transfers Completed: 1Number of Folder Transfers Completed: 0Number of File Transfers Failed: 0Number of Folder Transfers Failed: 0Number of File Transfers Skipped: 0Number of Folder Transfers Skipped: 0TotalBytesTransferred: 10519930170Final Job Status: Completed#3root@eu-ubuntu0:/home/zyi# azcopy copy 1.zip https://eustorageac0.blob.core.windows.net/eucontainer/1.zip INFO: Scanning...INFO: Autologin not specified.INFO: Authenticating to destination using Azure ADINFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder supportJob 33cf320d-94a5-aa48-5a35-b94d34cf5cc1 has startedLog file is located at: /root/.azcopy/33cf320d-94a5-aa48-5a35-b94d34cf5cc1.log100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total, 2-sec Throughput (Mb/s): 579.6335Job 33cf320d-94a5-aa48-5a35-b94d34cf5cc1 summaryElapsed Time (Minutes): 0.767Number of File Transfers: 1Number of Folder Property Transfers: 0Number of Symlink Transfers: 0Total Number of Transfers: 1Number of File Transfers Completed: 1Number of Folder Transfers Completed: 0Number of File Transfers Failed: 0Number of Folder Transfers Failed: 0Number of File Transfers Skipped: 0Number of Folder Transfers Skipped: 0TotalBytesTransferred: 10519930170Final Job Status: Completed```2. EU Container → EU Client, VM disk iops limited```powershellroot@eu-ubuntu0:/home/zyi# azcopy copy  https://eustorageac0.blob.core.windows.net/eucontainer/1.zip 10.zipINFO: Scanning...INFO: Autologin not specified.INFO: Authenticating to source using Azure ADINFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder supportJob 038b5c4a-7376-094d-4e7c-c958e15378f8 has startedLog file is located at: /root/.azcopy/038b5c4a-7376-094d-4e7c-c958e15378f8.log100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total,                                                               Job 038b5c4a-7376-094d-4e7c-c958e15378f8 summaryElapsed Time (Minutes): 0.8814Number of File Transfers: 1Number of Folder Property Transfers: 0Number of Symlink Transfers: 0Total Number of Transfers: 1Number of File Transfers Completed: 1Number of Folder Transfers Completed: 0Number of File Transfers Failed: 0Number of Folder Transfers Failed: 0Number of File Transfers Skipped: 0Number of Folder Transfers Skipped: 0TotalBytesTransferred: 10519930170Final Job Status: Completed```1. EA client →EU Container```powershellroot@ubuntu0:/home/zyi# azcopy copy  1.zip https://eustorageac0.blob.core.windows.net/eucontainerINFO: Scanning...INFO: Autologin not specified.INFO: Authenticating to destination using Azure ADINFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder supportJob e197a453-cd7d-9042-53bc-de6c0e26246c has startedLog file is located at: /root/.azcopy/e197a453-cd7d-9042-53bc-de6c0e26246c.log100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total,                                  Job e197a453-cd7d-9042-53bc-de6c0e26246c summaryElapsed Time (Minutes): 0.5335Number of File Transfers: 1Number of Folder Property Transfers: 0Number of Symlink Transfers: 0Total Number of Transfers: 1Number of File Transfers Completed: 1Number of Folder Transfers Completed: 0Number of File Transfers Failed: 0Number of Folder Transfers Failed: 0Number of File Transfers Skipped: 0Number of Folder Transfers Skipped: 0TotalBytesTransferred: 10519930170Final Job Status: Completed#2root@ubuntu0:/home/zyi# azcopy copy  1.zip https://eustorageac0.blob.core.windows.net/eucontainer/10.zipINFO: Scanning...INFO: Autologin not specified.INFO: Authenticating to destination using Azure ADINFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder supportJob 6b1b50a2-3c6c-9c45-5165-085514255e76 has startedLog file is located at: /root/.azcopy/6b1b50a2-3c6c-9c45-5165-085514255e76.log100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total,                                  Job 6b1b50a2-3c6c-9c45-5165-085514255e76 summaryElapsed Time (Minutes): 0.7002Number of File Transfers: 1Number of Folder Property Transfers: 0Number of Symlink Transfers: 0Total Number of Transfers: 1Number of File Transfers Completed: 1Number of Folder Transfers Completed: 0Number of File Transfers Failed: 0Number of Folder Transfers Failed: 0Number of File Transfers Skipped: 0Number of Folder Transfers Skipped: 0TotalBytesTransferred: 10519930170Final Job Status: Completed```2. EU container → EA container```powershellroot@ubuntu0:/home/zyi# azcopy copy https://eustorageac0.blob.core.windows.net/eucontainer/10.zip https://eastorageaccountpg.blob.core.windows.net/blog-pgINFO: Scanning...INFO: Autologin not specified.INFO: Authenticating to destination using Azure ADINFO: Authenticating to source using Azure ADINFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder supportJob 04a69131-382f-3741-4263-c81b6e28c27e has startedLog file is located at: /root/.azcopy/04a69131-382f-3741-4263-c81b6e28c27e.logINFO: Transfers could fail because AzCopy could not verify if the destination supports tiers.100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total, Job 04a69131-382f-3741-4263-c81b6e28c27e summaryElapsed Time (Minutes): 0.4001Number of File Transfers: 1Number of Folder Property Transfers: 0Number of Symlink Transfers: 0Total Number of Transfers: 1Number of File Transfers Completed: 1Number of Folder Transfers Completed: 0Number of File Transfers Failed: 0Number of Folder Transfers Failed: 0Number of File Transfers Skipped: 0Number of Folder Transfers Skipped: 0TotalBytesTransferred: 10519930170Final Job Status: Completed```

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/54461.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

nginx生成自定义证书

1、创建key文件夹 [rootlocalhost centos]# mkdir key 进入key文件夹 [rootlocalhost centos]# cd key/ 2、生成私钥文件 [rootlocalhost key]# openssl genrsa -des3 -out ssl.key 4096 输入这个key文件的密码。不推荐输入,因为以后要给nginx使用。每次reload ngin…

帆软报表系统SSRF

有子曰:“信近于义,言可复也。恭近礼,远耻辱也。因不失其亲,亦可宗也。” SSRF 构造payload,访问漏洞url: /ReportServer?opresource&resourcehttp://x.x.x漏洞证明: 文笔生疏&#xf…

软考A计划-系统集成项目管理工程师-法律法规-下

点击跳转专栏>Unity3D特效百例点击跳转专栏>案例项目实战源码点击跳转专栏>游戏脚本-辅助自动化点击跳转专栏>Android控件全解手册点击跳转专栏>Scratch编程案例点击跳转>软考全系列点击跳转>蓝桥系列 👉关于作者 专注于Android/Unity和各种游…

数学建模(四)整数规划—匈牙利算法

目录 一、0-1型整数规划问题 1.1 案例 1.2 指派问题的标准形式 2.2 非标准形式的指派问题 二、指派问题的匈牙利解法 2.1 匈牙利解法的一般步骤 2.2 匈牙利解法的实例 2.3 代码实现 一、0-1型整数规划问题 1.1 案例 投资问题: 有600万元投资5个项目&…

Redis7安装

1. 使用什么系统安装redis 由于企业里面做Redis开发,99%都是Linux版的运用和安装,几乎不会涉及到Windows版,上一步的讲解只是为了知识的完整性,Windows版不作为重点,同学可以下去自己玩,企业实战就认一个版…

几个nlp的小任务(抽取式问答)

几个nlp的小任务(抽取式问答) 安装库抽取式问答介绍、SQuAD数据集初始化参数加载、导入数据集查看数据集示例加载tokenizer对长文本处理的演示对答案的位置进行验证整合刚才的步骤对数据集中的数据进行预处理加载微调模型设置args 参数使用数据清洗设置训练函数,开始训练安装…

STM32开发 | 移远4G-Cat.1模组EC200N-CN开发

一、硬件说明 1、引脚分配图 文章来源地址https://www.yii666.com/blog/326636.html文章来源地址:https://www.yii666.com/blog/326636.html 2、常用引脚说明 模块输入电源 引脚名描述VBAT_BB模块基带电源(Vnom 3.8 V)VBAT_RF模块射频电源&#xff0…

软件测试技术分享丨使用Postman搞定各种接口token实战

现在许多项目都使用jwt来实现用户登录和数据权限,校验过用户的用户名和密码后,会向用户响应一段经过加密的token,在这段token中可能储存了数据权限等,在后期的访问中,需要携带这段token,后台解析这段token才…

设计模式之工厂方法模式

目录 工厂方法模式 简介 优缺点 结构 使用场景 实现 1.抽象产品 2.具体产品 3.抽象工厂 4.具体工厂 5.调用 总结 抽象工厂模式 简介 结构 实现 区别 工厂方法模式 简介 提供一个用于创建对象的接口(工厂接口),让其实现类(工厂实现类)决定实例化哪…

Redis内存策略

文章目录 Redis内存策略过期策略DB结构惰性删除周期删除 淘汰策略 Redis内存策略 Redis是基于内存存储,所以其性能很强。但单节点的Redis内存不宜过大,否则会影响持久化或主从同步性能。 可以手动修改配置文件来设置Redis的最大内存 # 格式&#xff1…

【Unity3D赛车游戏】【五】Unity中汽车加速效果是如何优化的?

👨‍💻个人主页:元宇宙-秩沅 👨‍💻 hallo 欢迎 点赞👍 收藏⭐ 留言📝 加关注✅! 👨‍💻 本文由 秩沅 原创 👨‍💻 收录于专栏:Uni…

【滑动窗口】leetcode3:无重复字符的最长子串

一.题目描述 无重复字符的最长子串 二.思路分析 题目要求我们找符合要求的最长子串,要求是不能包含重复字符 确定一个子串只需确定它的左右区间即可,于是我们可以两层循环暴力枚举所有的子串,找到符合要求的,并通过比较得到最长…

软件工程(十五) 行为型设计模式(一)

1、责任链模式 简要说明 通过多个对象处理的请求,减少请求的发送者与接收者之间的耦合。将接受对象链接起来,在链中传递请求,直到有一个对象处理这个请求。 速记关键字 传递职责 类图如下 由类图可以比较容易的看出来,其实就是自己关联自己,形成了一个链,并且自己有…

解锁Selenium的力量:不仅仅是Web测试

Selenium简介 Selenium,作为Web应用测试的领军者,已经成为了无数开发者和测试人员的首选工具。它不仅仅是一个自动化测试工具,更是一个强大的Web应用交互框架。 Selenium的起源与发展 Selenium的历史可以追溯到2004年,由Jason Hu…

CGLIB代理,jsp,EL表达式,JSTL标准标签库

1、CGLIB代理 有一个类没有实现接口&#xff0c;想要对这个类实现增强&#xff0c;就需要使用CGLIB代理 导入CGLIB的包 <dependency><groupId>cglib</groupId><artifactId>cglib</artifactId><version>3.3.0</version> </depende…

VictoriaLogs:一款超低占用的 ElasticSearch 替代方案

image.png 背景 前段时间我们想实现 Pulsar 消息的追踪流程&#xff0c;追踪实现的效果图如下&#xff1a; 实现其实比较简单&#xff0c;其中最重要的就是如何存储消息。 消息的读取我们是通过 Pulsar 自带的 BrokerInterceptor 实现的&#xff0c;对这个感兴趣的朋友后面会单…

1.6 服务器处理客户端请求

客户端进程向服务器进程发送一段文本&#xff08;MySQL语句&#xff09;&#xff0c;服务器进程处理后再向客户端进程发送一段文本&#xff08;处理结果&#xff09;。 从图中我们可以看出&#xff0c;服务器程序处理来自客户端的查询请求大致需要经过三个部分&#xff0c;分别…

35、下载、安装 jdk11 记录,Idea中把项目从 jdk8 换 jdk 11

之前一直用jdk8&#xff0c;现在改成 11的试试看 登录官网下载这个11 https://www.oracle.com/cn/java/technologies/downloads/#java11-windows 下载jdk的oracle官网 需要自己注册oracle账户 修改环境变量的 JAVA_HOME Path 路径这里原本添加8的时候有了&#xff0c;不…

让大数据平台数据安全可见-行云管家

数字化经济在快速发展&#xff0c;大数据时代已经到来&#xff0c;大数据已经成为企业和政府决策的重要依据。然而大数据行业快速发展所带来的一系列安全问题也继续解决&#xff0c;例如数据安全更难保障&#xff0c;例如认证体系不完善等等。为此行云管家推出了大数据平台数据…

Redis从基础到进阶篇(二)----内存模型与内存优化

目录 一、缓存通识 1.1 ⽆处不在的缓存 1.2 多级缓存 &#xff08;重点&#xff09; 二、Redis简介 2.1 什么是Redis 2.2 Redis的应用场景 三、Redis数据存储的细节 3.1 Redis数据类型 3.2 内存结构 3.3 内存分配器 3.4 redisObject 3.4.1 type 3.4.2 encoding 3…