Feb 06 2018
03:07 AM
- last edited on
Jul 31 2018
12:20 PM
by
TechCommunityAP
Feb 06 2018
03:07 AM
- last edited on
Jul 31 2018
12:20 PM
by
TechCommunityAP
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. Currently blobs cannot be directly added to Archive tier, so I'll need to copy them from on-premise to my Hot Tier container & then change each individual blob tier to Archive. There will be a large amount of data copied up initially, and then a incremenatl nightly copy job will need to be done. I'll will be using a scheduled task (with Azcopy script) for both of these jobs.
My question is, once the files/blobs have been uploaded, whats the best way of automating the process of changing the the blob tier from 'Hot to 'Archive'?? I've read a bit on Azure Automation and Runbooks, is this the route I should be going down.
Appreciate any help or suggestions.
Thanks
Brendan
Feb 14 2018 02:34 PM
Mar 06 2018 06:14 PM
SolutionHello,
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,
Mar 06 2018 06:14 PM
SolutionHello,
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,