Skip to content

Commit 9f57319

Browse files
authored
Clarify blob soft delete and versioning recommendations
1 parent 4a4069a commit 9f57319

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

articles/storage/blobs/soft-delete-vs-versioning-options.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ Both **blob soft delete** and **blob versioning** can help you protect from dele
1717

1818
## Our Recommendation
1919

20-
All storage accounts that store critical data should enable soft delete and versioning for layered protection against unintended deletions and overwrites. Soft delete ensures your data remains recoverable for a configurable number of days. Blob versioning offers more flexibility for managing previous versions and recovery options such as being able to read previous versions and recover from metadata or property changes. Refer to the following details to find out what is right for you.
20+
Blob storage customers storing critical data should enable soft delete and versioning for layered protection against unintended deletions and overwrites. Soft delete ensures your data remains recoverable for a configurable number of days. Blob versioning offers more flexibility for managing previous versions and recovery options such as being able to read previous versions and recover from metadata or property changes. Refer to the following details to find out what is right for you.
2121

2222
## Overview of features
2323

2424
| **Feature** | **Protects against** | **Retention duration** | **Storage behavior** | **Hierarchical namespace (HNS) considerations** |
2525
|---|---|---|---|---|
26-
| **Soft delete** | Deletes and overwrites for blob accounts. Deletes for hierarchical namespace accounts. | Up to 365 days (configurable) | Creates a soft-deleted snapshot for each overwrite. Creates a soft-deleted blob for each delete. | Soft delete only protects delete operations for HNS-enabled accounts. With the [Set Blob Expiry](/rest/api/storageservices/set-blob-expiry) API, an expired file can't be restored by using the blob soft delete feature. |
27-
| **Versioning** | Deletes and overwrites for blob accounts. | Indefinite (until explicitly deleted) | Creates a new version on each write. | Versioning is not available for HNS enabled accounts. |
26+
| **Soft delete** | Deletes and overwrites for flat namespace accounts. Deletes for hierarchical namespace accounts. | Up to 365 days (configurable) | Creates a soft-deleted snapshot for each overwrite. Creates a soft-deleted blob for each delete. | Soft delete only protects delete operations for HNS-enabled accounts. With the [Set Blob Expiry](/rest/api/storageservices/set-blob-expiry) API, an expired file can't be restored by using the blob soft delete feature. |
27+
| **Versioning** | Deletes and overwrites for flat namespace accounts. | Indefinite (until explicitly deleted) | Creates a new version on each write. | Versioning is not available for HNS-enabled accounts. |
2828

2929
> [!NOTE]
3030
> Both features are disabled by default and must be enabled at the storage account level.
@@ -87,7 +87,7 @@ Enable both soft delete and versioning if:
8787

8888
### Considerations
8989

90-
- When versioning is enabled, deletion of the current version creates a previous version. When soft delete is enabled, deletion of the previous version creates a soft-deleted previous version. ([Learn more](/azure/storage/blobs/soft-delete-blob-overview))
90+
- When versioning is enabled, deletion of the current version makes it a previous version. When soft delete is enabled, deletion of the previous version makes it a soft-deleted previous version. ([Learn more](/azure/storage/blobs/soft-delete-blob-overview))
9191

9292
- Soft delete retention only applies to deletion of previous versions. If you would like to permanently delete soft delete versions before the retention period, review these [instructions](https://techcommunity.microsoft.com/blog/azurepaasblog/permanent-delete-of-soft-deleted-snapshot-and-versions-without-disabling-soft-de/4026868).
9393

@@ -101,7 +101,7 @@ You might choose to disable both features if:
101101

102102
* Your application has its own backup and recovery mechanisms.
103103
* You have strict cost constraints and low risk of accidental data loss.
104-
* You use immutable blob storage or WORM (write-once-read-many) policies.
104+
* Your data is temporary or test data and protection is not necessary.
105105

106106
## Blob accessibility after deletion
107107

0 commit comments

Comments
 (0)