How to retrieve accidentally deleted blob without soft delete enabled

Arpan Malik 5 Reputation points
2024-08-30T08:08:55.4366667+00:00

A blob has been accidentally deleted and soft delete was not enabled. Can we retrieve it?

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,787 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Vinod Kumar Reddy Chilupuri 155 Reputation points Microsoft Vendor
    2024-09-02T08:09:28.0266667+00:00

    Hi @Arpan Malik Welcome to Microsoft Q&A, Thank you for posting your query.

     

    Note: If it is production data that got deleted, Recommended to reach out to Azure Support immediately. They may be able to recover the data if not too much time has elapsed.

     

    If you have container or blob soft-delete enabled, you can recover the data if the data retention period has not expired.

    https://video2.skills-academy.com/en-us/azure/storage/blobs/soft-delete-blob-manage

     

    If you accidentally deleted a blob in Azure Blob Storage and soft delete was not enabled, recovering that blob can be very difficult, if not impossible. Here are few steps to check.

     

    1. If you have a backup for your blob, you can restore it from the backup.
    2. if you have versioning enable for your storage account, you may able to recover a previous version of your blob.
    3. https://video2.skills-academy.com/en-us/azure/storage/blobs/versioning-overview#blob-versioning-and-soft-delete From this you can know how the versioning works and how to restore your previous version of your blob.
    4. If you have geo-replication enable for your storage account, you may be able to recover blob from the secondary region. 

    If self recovery is not possible, the azure storage product team can attempt to recover the data.

    • The blob was deleted within the past 14 days.
    • The blob was created with the Azure Resource Manager deployment model.
    • A new blob with the same name has not been created since the original blob was deleted.
    • The user who is recovering the blob must be assigned an Azure RBAC role that provides the Microsoft.Storage/storageAccounts/write permission.

    If the recovery target has been re-created with the same name since it was deleted, you'll need to provide a new folder that can be used to restore the recovered data. You'll be responsible for merging back the data to the original location.

    To request recovery of a deleted blob, you can open a support ticket with Microsoft Azure Support.

    Please let us know if you have any further queries. I’m happy to assist you further. 

     Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.