To read azure storage blobs from the archive tier, you must first change the tier of the blob to hot or cool. This process is known as rehydration and can take up to 15 hours to complete in case of standard priority.
This can be done via portal as shown in the below screenshot:
Alternatively you can use the High priority mode to rehydrate the blob by mentioning the x-ms-rehydrate-priority header while invoking the SetBlobTier Rest API call.
If there are multiple blobs, manually rehydrating it would be a tedious task. You can leverage the Azure LogicApp to accomplish this.
You can rehydrate multiple blobs using Azure LogicApps
Create a Logic app from the azure portal.
Once the logic app is created choose the Logic App Designed as “Auto tier Azure blobs based on the last modified date”
Also, you can enter the connection manually by choosing the manually enter connection information option. But here you must give the Storage account name and Storage access key.
Once the connection has been set, you could customize the below parameters:
Interval: The number of intervals to wait between checks.
Frequency: The unit of time to use for the recurrence.
*If you want the logic app to run immediately: set frequency to minute.
2. Set Tier Age Variable:
Value: Last modified date (Usually configured in negative number).
3. List Blobs
Folder: Choose the container on which you would like the rehydration operation to be performed.
*Please note: All the blobs in the container would be rehydrated.
You could also see the connected storage account and if required can change the connection string.
You can see in the below screenshot. The blobs are currently in archive tier:
Step 6: To verify that a blob is rehydrating, simply go to the blob and you can see a message: “This blob is currently rehydrating or archived and can't be downloaded.”
Step 7: Once the rehydration is completed you will see the Access Tier is changed to Hot / Cool depending on the value you have set in Step 4.
Hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.