Configuring soft delete in Blob Storage
Soft delete as a concept has already been briefly described in Chapter 9 in the Configuring soft delete section. Let’s quickly remind ourselves what it means to have soft delete configured for a service. Under normal circumstances, any time you delete data from a service (storage or database), it’ll be permanently deleted unless it’s part of a backup or snapshot of your data. While backups could be described as a kind of soft delete solution, they’re rather meant for disaster recovery scenarios. Soft delete, on the other hand, is a simple feature that marks your data as deleted without it being deleted permanently. This allows you to restore data at any time without the need to recover a whole storage account or database.
Soft delete will work differently for different services, as it’s a feature that is tightly coupled with its functionalities and capabilities. For instance, in File Service, you’re...