Prevent Accidental Data Deletion in Azure Storage Container with Soft Delete Features


Introduction

While working with Azure Storage, data might be accidentally or erroneously deleted. We can prevent the total loss of data by enabling soft delete features in Azure Storage. The system will store soft-deleted containers and its item for a specified period of time. During the retention period, we can restore the container and its content at the previous state when the container was deleted. Once the retention period is over, the container and its contents are permanently deleted.

Enable soft delete

While creating a new storage account, you will find the enable soft delete for container option in the