question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Storage] Retrieving blob copy status

See original GitHub issue

How 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:

  1. Wait on blob copy operation. [https://github.com/Azure/azure-cli/issues/1528]
  2. Get copy operation status.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
bear454commented, Aug 31, 2018

Consider adding a note to the az storage blob copy documentation about where to check the status of the copy operation.

2reactions
valencikcommented, Jan 19, 2017

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!

az storage blob show \
--name Microsoft.Compute/Images/vhds/capture-1234-osDisk.hexcodestuffvhd \
--container-name system \
--account-name myAccountName

Perhaps a note in the help output or an alias under az storage blob copy would be useful. Particularly because that is where the copy_id is given, and where the cancel operation lives.

You can close this issue. Thanks again.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found