Azure - AzCopy学习

news2024/11/19 2:16:53

使用 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 support
        
        Job e08f5117-f8b7-314d-5aa3-3f22b0fdf82b has started
        Log file is located at: /root/.azcopy/e08f5117-f8b7-314d-5aa3-3f22b0fdf82b.log
        
        100.0 %, 2 Done, 0 Failed, 0 Pending, 2 Total, 2-sec Throughput (Mb/s): 0.6465
        
        Job e08f5117-f8b7-314d-5aa3-3f22b0fdf82b Summary
        Files Scanned at Source: 2
        Files Scanned at Destination: 0
        Elapsed Time (Minutes): 0.0667
        Number of Copy Transfers for Files: 2
        Number of Copy Transfers for Folder Properties: 0 
        Total Number Of Copy Transfers: 2
        Number of Copy Transfers Completed: 2
        Number of Copy Transfers Failed: 0
        Number of Deletions at Destination: 0
        Total Number of Bytes Transferred: 423810
        Total Number of Bytes Enumerated: 423810
        Final 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 support
      
      Job 747202e5-1afc-b846-4388-9e2e4eee6c58 has started
      Log file is located at: /root/.azcopy/747202e5-1afc-b846-4388-9e2e4eee6c58.log
      
      100.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 Container
        

        root@ubuntu0:/home/zyi# azcopy copy 1.zip https://sastorageac0.blob.core.windows.net/sacontainer
        INFO: Scanning...
        INFO: Autologin not specified.
        INFO: Authenticating to destination using Azure AD
        INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support
        
        Job f631ebf2-8060-6b47-7164-58044ee0c43c has started
        Log file is located at: /root/.azcopy/f631ebf2-8060-6b47-7164-58044ee0c43c.log
        
        100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total,                                   
        
        Job f631ebf2-8060-6b47-7164-58044ee0c43c summary
        Elapsed Time (Minutes): 0.2334
        Number of File Transfers: 1
        Number of Folder Property Transfers: 0
        Number of Symlink Transfers: 0
        Total Number of Transfers: 1
        Number of File Transfers Completed: 1
        Number of Folder Transfers Completed: 0
        Number of File Transfers Failed: 0
        Number of Folder Transfers Failed: 0
        Number of File Transfers Skipped: 0
        Number of Folder Transfers Skipped: 0
        TotalBytesTransferred: 10519930170
        Final Job Status: Completed

        
    2. SA Container → EU client
        

        root@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 AD
        INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support
        
        Job bf9d0ff0-6066-2140-4cb9-8716e4272028 has started
        Log file is located at: /root/.azcopy/bf9d0ff0-6066-2140-4cb9-8716e4272028.log
        
        0.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 summary
        Elapsed Time (Minutes): 1.0263
        Number of File Transfers: 1
        Number of Folder Property Transfers: 0
        Number of Symlink Transfers: 0
        Total Number of Transfers: 1
        Number of File Transfers Completed: 1
        Number of Folder Transfers Completed: 0
        Number of File Transfers Failed: 0
        Number of Folder Transfers Failed: 0
        Number of File Transfers Skipped: 0
        Number of Folder Transfers Skipped: 0
        TotalBytesTransferred: 10519930170
        Final Job Status: Completed
        
        #download 2
        
        root@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 AD
        INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support
        
        Job 732e37c9-9e99-364a-4a4e-fa7484fac927 has started
        Log file is located at: /root/.azcopy/732e37c9-9e99-364a-4a4e-fa7484fac927.log
        
        100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total,                                  
        
        Job 732e37c9-9e99-364a-4a4e-fa7484fac927 summary
        Elapsed Time (Minutes): 1.2675
        Number of File Transfers: 1
        Number of Folder Property Transfers: 0
        Number of Symlink Transfers: 0
        Total Number of Transfers: 1
        Number of File Transfers Completed: 1
        Number of Folder Transfers Completed: 0
        Number of File Transfers Failed: 0
        Number of Folder Transfers Failed: 0
        Number of File Transfers Skipped: 0
        Number of Folder Transfers Skipped: 0
        TotalBytesTransferred: 10519930170
        Final 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 AD
        INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support
        
        Job 05c9210a-e503-c046-6f9b-853d6c9a3c4e has started
        Log file is located at: /root/.azcopy/05c9210a-e503-c046-6f9b-853d6c9a3c4e.log
        
        100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total,                                                               
        
        Job 05c9210a-e503-c046-6f9b-853d6c9a3c4e summary
        Elapsed Time (Minutes): 1.0148
        Number of File Transfers: 1
        Number of Folder Property Transfers: 0
        Number of Symlink Transfers: 0
        Total Number of Transfers: 1
        Number of File Transfers Completed: 1
        Number of Folder Transfers Completed: 0
        Number of File Transfers Failed: 0
        Number of Folder Transfers Failed: 0
        Number of File Transfers Skipped: 0
        Number of Folder Transfers Skipped: 0
        TotalBytesTransferred: 10519930170
        Final Job Status: Completed
        ```
        
    3. SA Container → EU client @ peer created
        
        ```powershell
        root@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 AD
        INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support
        
        Job b1d8da46-9358-6b4c-66d4-bb8cb8d53e1f has started
        Log file is located at: /root/.azcopy/b1d8da46-9358-6b4c-66d4-bb8cb8d53e1f.log
        
        100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total,                                  
        
        Job b1d8da46-9358-6b4c-66d4-bb8cb8d53e1f summary
        Elapsed Time (Minutes): 1.1209
        Number of File Transfers: 1
        Number of Folder Property Transfers: 0
        Number of Symlink Transfers: 0
        Total Number of Transfers: 1
        Number of File Transfers Completed: 1
        Number of Folder Transfers Completed: 0
        Number of File Transfers Failed: 0
        Number of Folder Transfers Failed: 0
        Number of File Transfers Skipped: 0
        Number of Folder Transfers Skipped: 0
        TotalBytesTransferred: 10519930170
        Final Job Status: Completed
        
        #2
        root@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 AD
        INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support
        
        Job b646e5c1-af07-6c41-7a0c-641ecfd5d1cd has started
        Log file is located at: /root/.azcopy/b646e5c1-af07-6c41-7a0c-641ecfd5d1cd.log
        
        100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total,                                  
        
        Job b646e5c1-af07-6c41-7a0c-641ecfd5d1cd summary
        Elapsed Time (Minutes): 1.2449
        Number of File Transfers: 1
        Number of Folder Property Transfers: 0
        Number of Symlink Transfers: 0
        Total Number of Transfers: 1
        Number of File Transfers Completed: 1
        Number of Folder Transfers Completed: 0
        Number of File Transfers Failed: 0
        Number of Folder Transfers Failed: 0
        Number of File Transfers Skipped: 0
        Number of Folder Transfers Skipped: 0
        TotalBytesTransferred: 10519930170
        Final Job Status: Completed
        
        root@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 AD
        INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support
        
        Job 30f70c4e-fdd1-9a4b-6e89-c5e7406970de has started
        Log file is located at: /root/.azcopy/30f70c4e-fdd1-9a4b-6e89-c5e7406970de.log
        
        100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total,                                                               
        
        Job 30f70c4e-fdd1-9a4b-6e89-c5e7406970de summary
        Elapsed Time (Minutes): 1.1483
        Number of File Transfers: 1
        Number of Folder Property Transfers: 0
        Number of Symlink Transfers: 0
        Total Number of Transfers: 1
        Number of File Transfers Completed: 1
        Number of Folder Transfers Completed: 0
        Number of File Transfers Failed: 0
        Number of Folder Transfers Failed: 0
        Number of File Transfers Skipped: 0
        Number of Folder Transfers Skipped: 0
        TotalBytesTransferred: 10519930170
        Final Job Status: Completed
        ```
        
    
    1. SA Container → EU Container
        
        ```powershell
        root@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 AD
        INFO: Authenticating to source using Azure AD
        INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support
        
        Job 9168f92f-2da4-6742-6862-8e5696b52a41 has started
        Log file is located at: /root/.azcopy/9168f92f-2da4-6742-6862-8e5696b52a41.log
        
        INFO: 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 summary
        Elapsed Time (Minutes): 4.1681
        Number of File Transfers: 1
        Number of Folder Property Transfers: 0
        Number of Symlink Transfers: 0
        Total Number of Transfers: 1
        Number of File Transfers Completed: 1
        Number of Folder Transfers Completed: 0
        Number of File Transfers Failed: 0
        Number of Folder Transfers Failed: 0
        Number of File Transfers Skipped: 0
        Number of Folder Transfers Skipped: 0
        TotalBytesTransferred: 10519930170
        Final Job Status: Completed
        
        root@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 AD
        INFO: Authenticating to source using Azure AD
        INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support
        
        Job 7cca86e8-11b6-164d-7b33-887d9cf10183 has started
        Log file is located at: /root/.azcopy/7cca86e8-11b6-164d-7b33-887d9cf10183.log
        
        INFO: 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 summary
        Elapsed Time (Minutes): 4.335
        Number of File Transfers: 1
        Number of Folder Property Transfers: 0
        Number of Symlink Transfers: 0
        Total Number of Transfers: 1
        Number of File Transfers Completed: 1
        Number of Folder Transfers Completed: 0
        Number of File Transfers Failed: 0
        Number of Folder Transfers Failed: 0
        Number of File Transfers Skipped: 0
        Number of Folder Transfers Skipped: 0
        TotalBytesTransferred: 10519930170
        Final Job Status: Completed
        
        #3
        root@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 AD
        INFO: Authenticating to source using Azure AD
        INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support
        
        Job c4366598-5822-b946-45b9-6ee9d6f6df15 has started
        Log file is located at: /root/.azcopy/c4366598-5822-b946-45b9-6ee9d6f6df15.log
        
        INFO: 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 summary
        Elapsed Time (Minutes): 4.6351
        Number of File Transfers: 1
        Number of Folder Property Transfers: 0
        Number of Symlink Transfers: 0
        Total Number of Transfers: 1
        Number of File Transfers Completed: 1
        Number of Folder Transfers Completed: 0
        Number of File Transfers Failed: 0
        Number of Folder Transfers Failed: 0
        Number of File Transfers Skipped: 0
        Number of Folder Transfers Skipped: 0
        TotalBytesTransferred: 10519930170
        Final Job Status: Completed
        
        #4
        root@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 AD
        INFO: Authenticating to source using Azure AD
        INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support
        
        Job 15fe8cca-78c3-3d40-4a55-e90d11495258 has started
        Log file is located at: /root/.azcopy/15fe8cca-78c3-3d40-4a55-e90d11495258.log
        
        INFO: 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 summary
        Elapsed Time (Minutes): 1.4338
        Number of File Transfers: 1
        Number of Folder Property Transfers: 0
        Number of Symlink Transfers: 0
        Total Number of Transfers: 1
        Number of File Transfers Completed: 1
        Number of Folder Transfers Completed: 0
        Number of File Transfers Failed: 0
        Number of Folder Transfers Failed: 0
        Number of File Transfers Skipped: 0
        Number of Folder Transfers Skipped: 0
        TotalBytesTransferred: 10519930170
        Final Job Status: Completed
        
        #5
        root@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 AD
        INFO: Authenticating to source using Azure AD
        INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support
        
        Job 2ac14c6f-f943-9c4b-7477-6947fd59ab31 has started
        Log file is located at: /root/.azcopy/2ac14c6f-f943-9c4b-7477-6947fd59ab31.log
        
        INFO: 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 summary
        Elapsed Time (Minutes): 1.8673
        Number of File Transfers: 1
        Number of Folder Property Transfers: 0
        Number of Symlink Transfers: 0
        Total Number of Transfers: 1
        Number of File Transfers Completed: 1
        Number of Folder Transfers Completed: 0
        Number of File Transfers Failed: 0
        Number of Folder Transfers Failed: 0
        Number of File Transfers Skipped: 0
        Number of Folder Transfers Skipped: 0
        TotalBytesTransferred: 10519930170
        Final Job Status: Completed
        ```
        
    2. EU Contaner → SA Container
        
        ```powershell
        root@ubuntu0:/home/zyi# azcopy copy https://eustorageac0.blob.core.windows.net/eucontainer/10.zip https://sastorageac0.blob.core.windows.net/sacontainer
        INFO: Scanning...
        INFO: Autologin not specified.
        INFO: Authenticating to destination using Azure AD
        INFO: Authenticating to source using Azure AD
        INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support
        
        Job 8b6f339f-e23b-2f4e-755c-8bd336942b40 has started
        Log file is located at: /root/.azcopy/8b6f339f-e23b-2f4e-755c-8bd336942b40.log
        
        INFO: 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 summary
        Elapsed Time (Minutes): 1.0003
        Number of File Transfers: 1
        Number of Folder Property Transfers: 0
        Number of Symlink Transfers: 0
        Total Number of Transfers: 1
        Number of File Transfers Completed: 1
        Number of Folder Transfers Completed: 0
        Number of File Transfers Failed: 0
        Number of Folder Transfers Failed: 0
        Number of File Transfers Skipped: 0
        Number of Folder Transfers Skipped: 0
        TotalBytesTransferred: 10519930170
        Final Job Status: Completed
        
        #2
        root@ubuntu0:/home/zyi# azcopy copy https://eustorageac0.blob.core.windows.net/eucontainer/10.zip https://sastorageac0.blob.core.windows.net/sacontainer/1.zip
        INFO: Scanning...
        INFO: Autologin not specified.
        INFO: Authenticating to destination using Azure AD
        INFO: Authenticating to source using Azure AD
        INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support
        
        Job 0c1039f0-7a9f-0e44-6a42-079c03708fb8 has started
        Log file is located at: /root/.azcopy/0c1039f0-7a9f-0e44-6a42-079c03708fb8.log
        
        INFO: 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 summary
        Elapsed Time (Minutes): 0.9336
        Number of File Transfers: 1
        Number of Folder Property Transfers: 0
        Number of Symlink Transfers: 0
        Total Number of Transfers: 1
        Number of File Transfers Completed: 1
        Number of Folder Transfers Completed: 0
        Number of File Transfers Failed: 0
        Number of Folder Transfers Failed: 0
        Number of File Transfers Skipped: 0
        Number of Folder Transfers Skipped: 0
        TotalBytesTransferred: 10519930170
        Final Job Status: Completed
        
        ```
        
    
    1. EU client → EU Container
        
        ```powershell
        root@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 AD
        INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support
        
        Job d3bdc10a-4142-8b41-7f9a-752c840c5f36 has started
        Log file is located at: /root/.azcopy/d3bdc10a-4142-8b41-7f9a-752c840c5f36.log
        
        100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total, 2-sec Throughput (Mb/s): 623.3303
        
        Job d3bdc10a-4142-8b41-7f9a-752c840c5f36 summary
        Elapsed Time (Minutes): 0.767
        Number of File Transfers: 1
        Number of Folder Property Transfers: 0
        Number of Symlink Transfers: 0
        Total Number of Transfers: 1
        Number of File Transfers Completed: 1
        Number of Folder Transfers Completed: 0
        Number of File Transfers Failed: 0
        Number of Folder Transfers Failed: 0
        Number of File Transfers Skipped: 0
        Number of Folder Transfers Skipped: 0
        TotalBytesTransferred: 10519930170
        Final Job Status: Completed
        
        #2
        root@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 AD
        INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support
        
        Job 3018151c-c777-ca42-4054-7f980de47650 has started
        Log file is located at: /root/.azcopy/3018151c-c777-ca42-4054-7f980de47650.log
        
        100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total, 2-sec Throughput (Mb/s): 598.946 
        
        Job 3018151c-c777-ca42-4054-7f980de47650 summary
        Elapsed Time (Minutes): 0.7669
        Number of File Transfers: 1
        Number of Folder Property Transfers: 0
        Number of Symlink Transfers: 0
        Total Number of Transfers: 1
        Number of File Transfers Completed: 1
        Number of Folder Transfers Completed: 0
        Number of File Transfers Failed: 0
        Number of Folder Transfers Failed: 0
        Number of File Transfers Skipped: 0
        Number of Folder Transfers Skipped: 0
        TotalBytesTransferred: 10519930170
        Final Job Status: Completed
        
        #3
        root@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 AD
        INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support
        
        Job 33cf320d-94a5-aa48-5a35-b94d34cf5cc1 has started
        Log file is located at: /root/.azcopy/33cf320d-94a5-aa48-5a35-b94d34cf5cc1.log
        
        100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total, 2-sec Throughput (Mb/s): 579.6335
        
        Job 33cf320d-94a5-aa48-5a35-b94d34cf5cc1 summary
        Elapsed Time (Minutes): 0.767
        Number of File Transfers: 1
        Number of Folder Property Transfers: 0
        Number of Symlink Transfers: 0
        Total Number of Transfers: 1
        Number of File Transfers Completed: 1
        Number of Folder Transfers Completed: 0
        Number of File Transfers Failed: 0
        Number of Folder Transfers Failed: 0
        Number of File Transfers Skipped: 0
        Number of Folder Transfers Skipped: 0
        TotalBytesTransferred: 10519930170
        Final Job Status: Completed
        ```
        
    2. EU Container → EU Client, VM disk iops limited
        
        ```powershell
        root@eu-ubuntu0:/home/zyi# azcopy copy  https://eustorageac0.blob.core.windows.net/eucontainer/1.zip 10.zip
        INFO: Scanning...
        INFO: Autologin not specified.
        INFO: Authenticating to source using Azure AD
        INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support
        
        Job 038b5c4a-7376-094d-4e7c-c958e15378f8 has started
        Log file is located at: /root/.azcopy/038b5c4a-7376-094d-4e7c-c958e15378f8.log
        
        100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total,                                                               
        
        Job 038b5c4a-7376-094d-4e7c-c958e15378f8 summary
        Elapsed Time (Minutes): 0.8814
        Number of File Transfers: 1
        Number of Folder Property Transfers: 0
        Number of Symlink Transfers: 0
        Total Number of Transfers: 1
        Number of File Transfers Completed: 1
        Number of Folder Transfers Completed: 0
        Number of File Transfers Failed: 0
        Number of Folder Transfers Failed: 0
        Number of File Transfers Skipped: 0
        Number of Folder Transfers Skipped: 0
        TotalBytesTransferred: 10519930170
        Final Job Status: Completed
        ```
        
    
    1. EA client →EU Container
        
        ```powershell
        root@ubuntu0:/home/zyi# azcopy copy  1.zip https://eustorageac0.blob.core.windows.net/eucontainer
        INFO: Scanning...
        INFO: Autologin not specified.
        INFO: Authenticating to destination using Azure AD
        INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support
        
        Job e197a453-cd7d-9042-53bc-de6c0e26246c has started
        Log file is located at: /root/.azcopy/e197a453-cd7d-9042-53bc-de6c0e26246c.log
        
        100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total,                                  
        
        Job e197a453-cd7d-9042-53bc-de6c0e26246c summary
        Elapsed Time (Minutes): 0.5335
        Number of File Transfers: 1
        Number of Folder Property Transfers: 0
        Number of Symlink Transfers: 0
        Total Number of Transfers: 1
        Number of File Transfers Completed: 1
        Number of Folder Transfers Completed: 0
        Number of File Transfers Failed: 0
        Number of Folder Transfers Failed: 0
        Number of File Transfers Skipped: 0
        Number of Folder Transfers Skipped: 0
        TotalBytesTransferred: 10519930170
        Final Job Status: Completed
        
        #2
        root@ubuntu0:/home/zyi# azcopy copy  1.zip https://eustorageac0.blob.core.windows.net/eucontainer/10.zip
        INFO: Scanning...
        INFO: Autologin not specified.
        INFO: Authenticating to destination using Azure AD
        INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support
        
        Job 6b1b50a2-3c6c-9c45-5165-085514255e76 has started
        Log file is located at: /root/.azcopy/6b1b50a2-3c6c-9c45-5165-085514255e76.log
        
        100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total,                                  
        
        Job 6b1b50a2-3c6c-9c45-5165-085514255e76 summary
        Elapsed Time (Minutes): 0.7002
        Number of File Transfers: 1
        Number of Folder Property Transfers: 0
        Number of Symlink Transfers: 0
        Total Number of Transfers: 1
        Number of File Transfers Completed: 1
        Number of Folder Transfers Completed: 0
        Number of File Transfers Failed: 0
        Number of Folder Transfers Failed: 0
        Number of File Transfers Skipped: 0
        Number of Folder Transfers Skipped: 0
        TotalBytesTransferred: 10519930170
        Final Job Status: Completed
        
        ```
        
    2. EU container → EA container
        
        ```powershell
        root@ubuntu0:/home/zyi# azcopy copy https://eustorageac0.blob.core.windows.net/eucontainer/10.zip https://eastorageaccountpg.blob.core.windows.net/blog-pg
        INFO: Scanning...
        INFO: Autologin not specified.
        INFO: Authenticating to destination using Azure AD
        INFO: Authenticating to source using Azure AD
        INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support
        
        Job 04a69131-382f-3741-4263-c81b6e28c27e has started
        Log file is located at: /root/.azcopy/04a69131-382f-3741-4263-c81b6e28c27e.log
        
        INFO: 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 summary
        Elapsed Time (Minutes): 0.4001
        Number of File Transfers: 1
        Number of Folder Property Transfers: 0
        Number of Symlink Transfers: 0
        Total Number of Transfers: 1
        Number of File Transfers Completed: 1
        Number of Folder Transfers Completed: 0
        Number of File Transfers Failed: 0
        Number of Folder Transfers Failed: 0
        Number of File Transfers Skipped: 0
        Number of Folder Transfers Skipped: 0
        TotalBytesTransferred: 10519930170
        Final Job Status: Completed
        ```

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

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

相关文章

SMC_TRAFOF_5Axes (FB)_标准龙门5轴

正计算: 电机位置》空间位姿 的正计算。 用于图形5轴控件的展示。 刀具长度 [u] 【脉冲当量】 电机转1圈是5毫米 电机转1圈要50000脉冲 如果刀具长5毫米,那么刀具长度u50000脉冲当量 输入输出: X轴 Y轴 Z轴 A轴【绕z轴旋转】东南西北方…

SFTP和SCP:哪种才是企业文件传输的可靠选择

文件传输在企业发展和业务拓展中越来越重要。为了保证数据的安全和传输的效率,企业需要选择合适、安全且高效的文件传输方式。在这种情况下,SFTP和SCP成为了企业文件传输的热门选择。 本文将详细介绍SFTP和SCP的特点,以及它们如何成为企业文…

ubuntu学习(四)----文件写入操作编程

1、write函数的详解 ssize_t write(int fd,const void*buf,size_t count); 参数说明: fd:是文件描述符(write所对应的是写,即就是1) buf:通常是一个字符串,需要写入的字符串 count:是每次写入的字节数…

【学习FreeRTOS】第19章——FreeRTOS低功耗模式Tickless

1.低功耗模式简介 很多应用场合对于功耗的要求很严格,比如可穿戴低功耗产品、物联网低功耗产品等一般MCU都有相应的低功耗模式,裸机开发时可以使用MCU的低功耗模式。FreeRTOS也提供了一个叫Tickless的低功耗模式,方便带FreeRTOS操作系统的应…

每日汇评:由于鲍威尔鹰派的讲话,黄金可能重新回到 1900 美元区域

1、金价暂停了四天的上涨趋势,但有望创下六周以来最好的一周; 2、在鲍威尔在杰克逊霍尔研讨会上发表讲话之前,美元恢复平静; 3、在 RSI 看跌的情况下,金价与 21 日移动平均线阻力位 1919 美元作斗争; 金…

免费PPT素材网站,我推荐这6个

找PPT素材、模板,就上这6个网站,免费下载,建议收藏~ 菜鸟图库 https://www.sucai999.com/search/ppt/0_0_0_1.html?vNTYwNDUx 菜鸟图库网有非常丰富的免费素材,像设计类、办公类、自媒体类等素材都很丰富。PPT模板种类很多&…

适配小程序隐私保护指引设置

由于小程序发布了一个公告,那么接下来就是怎么改简单的问题了。毕竟不太想大的改动历史上的代码。尽量简单的适配隐私策略就可以了。 整体思路也是参考现在App普遍的启动就让用户同意隐私策略,不同意不让用,同意了之后才能够继续使用。 公告…

英伟达挖走小鹏汽车高管吴新宙!何小鹏亲自送行 | 百能云芯

8月25日消息,英伟达公司挖来小鹏汽车自动驾驶副总裁吴新宙,任命他为自动驾驶产品主管,该职位将于8月25日正式生效。 据悉,小鹏汽车董事长何小鹏在个人微博上晒出了一张与吴新宙以及英伟达CEO黄仁勋的合影,并透露即将展…

访学、博后参考|加拿大十大名校简介

上期我们介绍了加拿大各省所在大学的分布情况,本期知识人网小编整理出加拿大十大名校简介,供申请者参考。 1、多伦多大学(University of Toronto)(University of Toronto)(University of Toront…

最新绕过目标域名CDN进行信息收集技术

绕过目标域名CDN进行信息收集 1.CDN简介及工作流程 CDN(Content Delivery Network,内容分发网络)的目的是通过在现有的网络架构中增加一层新的Cache(缓存)层,将网站的内容发布到最接近用户的网…

一次harbor升级导致镜像项目访问无权限问题

一、问题背景 将环境中现运行的harbor版本升级到2.6.2版本,相关同事升级完,发现有部分镜像项目点进去报无权限问题,镜像项目无法使用,但是也有部分项目是可以正常提供使用的。 二、问题处理过程 1、根据报错反馈没权限&#xff…

Thinkphp内核微信拼团购物商城小程序源码

Thinkphp内核开发的微信拼团购物商城小程序源码,支持微信支付,站长亲测完美。 下载地址:https://bbs.csdn.net/topics/616764816

电脑文件删除了可以找回吗?分享一种简单恢复删除电脑文件办法!

电脑文件删除了可以找回吗?可以。在原理上讲电脑删除的文件是有希望恢复的,因为操作系统在删除文件的时候并会不会立刻将文件彻底删除。当文件被删除的时候,其文件记录被删除,并且被文件占用的磁盘空间被标记为空闲。 这样对于用户…

【HCIP】16.MPLS LDP

LDP是MPLS的一种控制协议,相当于传统网络中的信令协议,负责FEC的分类、标签的分配以及LSP的建立和维护等操作。LDP规定了标签分发过程中的各种消息以及相关处理过程。 LDP的工作过程主要分为两部分: LSR之间建立LDP会话。LSR之间基于LDP会话…

半导体低压热氧工艺中的真空度精密控制解决方案

摘要:在目前的各种半导体材料热氧化工艺中,往往需要对正负压力进行准确控制并对温度变化做出快速的响应,为此本文提出了热氧化工艺的正负压力控制解决方案。解决方案的核心是基于动态平衡法分别对进气和排气流量进行快速调节,具体…

Java——一个Java实体类,表示一个试题的模型

这段代码是一个Java实体类,表示一个试题的模型。 该实体类具有以下属性: id:题号,表示试题的编号。title:题目,表示试题的题目内容。optionA:选项A,表示试题的选项A。optionB&#…

【智算中心】GPU是如何改变世界的

现在有市场消息表示,NVIDIA正计划减少A800 GPU的产量,以促进其更高端的H800 GPU 的销售。很显然NVIDIA是希望从H800 GPU上获得更多销售量,从中国市场获得更多利益。而且最近一段时间有传闻美国要彻底封杀AI芯片的出口,让国内甚至连…

错误:依赖检测失败: mysql-community-libs(x86-64) >= 5.7.9 被 (已安裝) mysql-community-li

错误: 错误原因:没有删除之前安装的依赖问题 解决办法: yum remove mysql-libs 再用下面指令检查一遍: rpm -qa | grep mysql 如果有还未清理的,用下面指令: rpm -e xxx

Huawei AP 3030DN Fit转换Fat

一、FTP软件下载与安装 二、下载bin文件,AP系统用 三、终端连接AP 四、传送文件 五、升级AP system-view ap-mode-switch prepareap-mode-switch check system-view ap-mode-switch prepare ap-mode-switch check ap-mode-switch ftp 3030dn.bin 172.21.1.250 t…

windows环境 pip安装mysqlclient失败问题记录及解决方案

1.问题记录 > pip install -i https://pypi.douban.com/simple mysqlclient Looking in indexes: https://pypi.douban.com/simple Collecting mysqlclientUsing cached https://pypi.doubanio.com/packages/50/5f/eac919b88b9df39bbe4a855f136d58f80d191cfea34a3dcf96bf5d…