Differences between revisions 1 and 2
Revision 1 as of 2020-02-13 06:13:30
Size: 117
Editor: PieterSmit
Comment:
Revision 2 as of 2023-01-06 02:10:23
Size: 774
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
 * 2023 - Struggling with azcopy again, seems only 3/4 baked, hangs after uploads. (Although they work)
   * azcopy does not seem very shell friendly.

== Get size of Azure Blob container storage ==
 * azcopy list, using SAS url {{{
time ./azcopy-macos list 'https://mycontainer.blob.core.windows.net/uploads?sp=rl&st=2023-01-01T01:55:55Z&se=2023-01-01T02:55:55Z&spr=https&sv=2021-06-08&sr=c&sig=vY7...%3D' --machine-readable --output-type json --properties "LastModifiedTime;VersionId;BlobType;BlobAccessTier;ContentType;ContentEncoding;LeaseState;LeaseDuration;LeaseStatus" --cap-mbps 20 --running-tally > ~/az_list_mycontainer-2023-01-01.txt
}}}

Azure/azcopy-v10

  • Azure/Microsoft tool written in go (single exec) that makes it simpler to use blob storage
  • 2023 - Struggling with azcopy again, seems only 3/4 baked, hangs after uploads. (Although they work)
    • azcopy does not seem very shell friendly.

Get size of Azure Blob container storage

  • azcopy list, using SAS url

    time ./azcopy-macos list 'https://mycontainer.blob.core.windows.net/uploads?sp=rl&st=2023-01-01T01:55:55Z&se=2023-01-01T02:55:55Z&spr=https&sv=2021-06-08&sr=c&sig=vY7...%3D' --machine-readable --output-type json --properties "LastModifiedTime;VersionId;BlobType;BlobAccessTier;ContentType;ContentEncoding;LeaseState;LeaseDuration;LeaseStatus" --cap-mbps 20 --running-tally  > ~/az_list_mycontainer-2023-01-01.txt

Azure/azcopy-v10 (last edited 2023-01-06 02:10:23 by PieterSmit)