Can i recover blob file from Azure Storage blob in container, if soft delete is not is turned on

Bibel, Wojciech (BSS) 20 Reputation points
2025-01-08T14:57:17.2866667+00:00

ive accidentaly deleted nessecery file (.xlsx extension), is there any way to recover it?

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,526 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,023 questions
Azure Disk Storage
Azure Disk Storage
A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
657 questions
0 comments No comments
{count} votes

Accepted answer
  1. Nandamuri Pranay Teja 160 Reputation points Microsoft Vendor
    2025-01-08T15:54:15.51+00:00

    Hello Bibel, Wojciech (BSS)

    Welcome to Microsoft Q&A Forum. Thanks for posting your query here!

    I understand that you accidentally deleted the necessary file (.xlsx extension) and would like to recover blob file from Azure Storage blob in container.

    Please be informed that if soft delete is not enabled for your Azure Storage account, recovering a permanently deleted blob can be challenging and may not always be possible. When soft delete is disabled, deleting a blob permanently removes it from the storage account. Without soft delete, Azure Storage does not maintain a temporary copy of the deleted blob for recovery.

    However, I can suggest you few limited possibilities to consider.

    1. If you have a recent backup of your storage account or the specific blob, you might be able to restore the deleted data from the backup.
    2. In some rare cases, Azure Support might be able to assist with data recovery. However, this is not guaranteed and may depend on factors like the time since deletion, storage account configuration, and the nature of the deletion.

    Additional information:

    Best Practices for Preventing Data Loss

    • Enable Soft Delete: This is the most effective way to protect against accidental deletions.
    • Implement Regular Backups: Regularly back up your important data to a separate location, such as another Azure storage account or an on-premises location.
    • Versioning: Consider enabling blob versioning for your storage account. This allows you to keep track of different versions of your blobs, enabling you to revert to previous versions if needed.  

    Please let us know you have any further quires. We will be glad to assist you closely.

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. which might be beneficial to other community members reading this thread.

    User's image

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Michael Taylor 55,921 Reputation points
    2025-01-08T15:09:01.2+00:00

    If soft delete is not on then the blob is gone. I assume you're also not using snapshots, Azure Backup or versioning on the blobs/containers.

    I guess there is an off chance it hasn't been truly deleted yet, not sure how you're deleting the blob. You could go into Azure Portal to your container and then change the filter to show active and deleted blobs. But most likely it is already too late.

    1 person found this answer helpful.
    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.