How To Retrieve Accidentally Deleted Azure Storage Blobs

Introduction

This article will help you learn how to retrieve accidentally deleted Azure Storage Blobs

Before reading this article, please go through some important articles mentioned below:

Azure Storage

Azure Storage is one of the cloud computing PaaS (Platform as a Service) services the Microsoft Azure team provides. It provides cloud storage that is highly available, secure, durable, scalable, and redundant. It is massively scalable and elastic. It can store and process hundreds of terabytes of data, or you can store the small amounts of data required for a small business website.

Prerequisites

  • Microsoft Azure Account.

This article demonstrates how to retrieve the deleted blobs.

Step 1

First, create a storage account with blobs.

How To Retrieve Accidentally Deleted Azure Storage Blobs

Step 2

Open the Storage Account that contains the Blobs. Navigate to the Data Protection menu, then choose" Enable soft delete for blobs".

How To Retrieve Accidentally Deleted Azure Storage Blobs

Set the retention policy is 7 days. The retention period can be extended up to 365 days.

How To Retrieve Accidentally Deleted Azure Storage Blobs

Step 3

Now, select the blob and click on delete.

How To Retrieve Accidentally Deleted Azure Storage Blobs

Click on the "OK" button

How To Retrieve Accidentally Deleted Azure Storage Blobs

Step 4

Now, we need to retrieve the deleted blob. Under your Storage container, check the "Show deleted blobs" option.

How To Retrieve Accidentally Deleted Azure Storage Blobs

Enable the "Show deleted blobs" option. Then, we can see all the removed blobs.

How To Retrieve Accidentally Deleted Azure Storage Blobs

Now, right-click on the blob and click "undelete"

How To Retrieve Accidentally Deleted Azure Storage Blobs

By doing this, the deleted blob file(s) will return to their "Active" state.

How To Retrieve Accidentally Deleted Azure Storage Blobs

Summary

I hope you understand how to retrieve the deleted Azure Storage blobs back.