azure-xplat-cli icon indicating copy to clipboard operation
azure-xplat-cli copied to clipboard

Introduce option to ignore error when blob to snapshot does not exist

Open udf2457 opened this issue 8 years ago • 2 comments
trafficstars

At the present time, running azure storage blob snapshot against a blob that does not exist yields the following error:

error:   Blob test in Container data doesn't exist
error:   Error information has been recorded to /home/bp/.azure/azure.err
error:   storage blob snapshot command failed

It would be useful to be able to ignore this error condition through an option.

Example use-case:

Imagine you are writing a shell script to upload to Azure. It would be useful to have a "snapshot if exists" option for obvious reasons.

udf2457 avatar Jan 27 '17 19:01 udf2457

@hasonmsft - can you please take a look?

balajikris avatar Jan 30 '17 19:01 balajikris

@udf2457 , thanks for your feedback. We'll put it into our backlog and triage it.

hasonmsft avatar Feb 07 '17 02:02 hasonmsft