Forum Discussion
Automating the changing of blob tiers
- Mar 07, 2018
Hello,
While looking for a way to do this directly using AzCopy command line tool, I fall on your question and might have a first answer for you.
Right now, I'm automating some backup in Azure Blob Archive Storage as well and end up using AzCopy (because Azure PS module AzureRM doesn't seem to support uploading large files, command Set-AzureStorageBlobContent).
Anyhow, to change the storage tier, I am using a command from the same PS module called SetStandardBlobTier and used as follow:
$blob.ICloudBlob.SetStandardBlobTier("Archive");
Hope it helps,
Hello,
While looking for a way to do this directly using AzCopy command line tool, I fall on your question and might have a first answer for you.
Right now, I'm automating some backup in Azure Blob Archive Storage as well and end up using AzCopy (because Azure PS module AzureRM doesn't seem to support uploading large files, command Set-AzureStorageBlobContent).
Anyhow, to change the storage tier, I am using a command from the same PS module called SetStandardBlobTier and used as follow:
$blob.ICloudBlob.SetStandardBlobTier("Archive");
Hope it helps,