[Storage] Retrieving blob copy status
See original GitHub issueHow can I check the status of a async blob copy?
The az storage blob copy cancel
appears to be the only blob command to take a --copy-id
as returned from a az storage blob copy start
command.
I would like to be able to get some sense of progress on the copy operation.
A nice bonus would be being able to optionally block/wait on the copy operation.
Update by @troydai on 8/29/2017
Requested features:
- Wait on blob copy operation. [https://github.com/Azure/azure-cli/issues/1528]
- Get copy operation status.
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Get-AzStorageBlobCopyState (Az.Storage) | Microsoft Learn
The Get-AzStorageBlobCopyState cmdlet gets the copy status of an Azure Storage blob. It should run on the copy destination blob.
Read more >Copy Status of an Azure Storage Blob - DarylsCorner
If we just run the following command you can see that PowerShell returns a result immediately making you think the copy has completed....
Read more >How to get updated copy state of azure blob when using blob ...
x-ms-copy-status (or CopyStatus): The current status of the copy operation. It can be one of the following: pending: Copy operation is pending.
Read more >Copy Blob — Zenko 1.2.1 documentation
The source for a Copy Blob operation can be a committed blob or Azure file in any Azure storage account. Request¶. A Copy...
Read more >Class BlobProperties | Azure SDK for .NET
For blob storage LRS accounts, valid values are Hot/Cool/Archive. ... Use with Get Blob Properties to check the status of this copy operation, ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Consider adding a note to the
az storage blob copy
documentation about where to check the status of the copy operation.Thanks @tjprescott! We are using
copy start-batch
as recommended in https://github.com/Azure/azure-cli/issues/1527.Just tested the following and it worked great!
Perhaps a note in the help output or an alias under
az storage blob copy
would be useful. Particularly because that is where thecopy_id
is given, and where thecancel
operation lives.You can close this issue. Thanks again.