Post processing fails for restore from Azure archive
When post processing for restore from Azure archive fails, blobs are not moved from the Hot tier to Archive tier post restore.
To move the blobs from Hot tier to Archive tier follow the steps:
Use the list blob operation and get a list blobs with prefix REHYDRATE_PENDING. The blob names are returned in format - REHYDRATE_PENDING/<image_name>
Search for blobs with <image_name>/ as prefix and filter with the blob names in integer format after the prefix.
For example :
Consider image name as imagename_1544519515_C1_F1
Blob to pick for post processing - imagename_1544519515_C1_F1/21
Blob not to be picked up - imagename_1544519515_C1_F1/imagename_1544519515/0
Use the set blob tier operation on blob to change the access tier of the blobs returned from above step from hot access tier to archive access tier.
Note:
Do not move the
META_BLOCK_MAP_FILEandMETA_IMAGE_PROPERTIESand blobs to the archive tier.After you successfully, move the blob to archive access tier, delete the blob with prefix REHYDRATE_PENDING using the delete blob operation.