Forum Discussion

Anonymous's avatar
Anonymous
Feb 06, 2018
Solved

Automating the changing of blob tiers

Hi all,   I'm in the process of migrating data to Azure Blob Storage. This is data which will be rarely required or accessed, so we've decided to store the files/blobs in the Archive Tier. Curren...
  • Damien Couriou's avatar
    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,

Resources