You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage/blobs/soft-delete-vs-versioning-options.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ This article helps you determine when to enable soft delete, versioning, both, o
15
15
16
16
Both **blob soft delete** and **blob versioning** can help you protect from deletes and overwrites. These features can be used independently or together, depending on your workload, cost sensitivity, and recovery needs. To learn about other ways to protect blobs and containers, see [data protection overview](https://docs.azure.cn/en-us/storage/blobs/data-protection-overview).
17
17
18
-
## Our Recommendation
18
+
## Our recommendation
19
19
20
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.
21
21
@@ -31,7 +31,7 @@ Blob storage customers storing critical data should enable soft delete and versi
31
31
32
32
## When to use soft delete
33
33
34
-
:::image type="content" source="media/soft-delete-blob-overview/blob-soft-delete-diagram.png" alt-text="Diagram showing how a soft-deleted blob may be restored":::
34
+
:::image type="content" source="media/soft-delete-blob-overview/blob-soft-delete-diagram.png" alt-text="Diagram showing how a soft-deleted blob may be restored.":::
35
35
36
36
Enable soft delete if:
37
37
@@ -50,11 +50,11 @@ Enable soft delete if:
50
50
51
51
## When to use versioning
52
52
53
-
:::image type="content" source="media/versioning-overview/blob-versioning-diagram.png" alt-text="Diagram showing how blob versioning works":::
53
+
:::image type="content" source="media/versioning-overview/blob-versioning-diagram.png" alt-text="Diagram showing how blob versioning works.":::
54
54
55
55
Enable versioning if:
56
56
57
-
- You want to maintain a complete history of changes to a blob. For versioning, both overwrites and deletes create a previous version. Deletion removes the current version, but the previous versions remains.
57
+
- You want to maintain a complete history of changes to a blob. For versioning, both overwrites and deletes create a previous version. Deletion removes the current version, but the previous versions remain.
58
58
59
59
- You want to save changes to metadata and properties as previous versions.
60
60
@@ -113,12 +113,12 @@ If soft delete is enabled, you must undelete the blob.
113
113
114
114
If versioning and soft delete are enabled and the previous version you want to access has been soft-deleted, you must first undelete the blob. The **Undelete Blob** operation always restores all soft-deleted versions of the blob. Then you can use the [Copy Blob](/rest/api/storageservices/copy-blob) operation to copy a previous version to a new current version.
115
115
116
-
## Cost Considerations
116
+
## Cost considerations
117
117
118
118
Enabling soft delete or versioning for frequently overwritten data might result in increased storage capacity charges and increased latency when listing blobs. Block-level updates using [Put Block](/rest/api/storageservices/put-block) and [Put Block List](/rest/api/storageservices/put-block-list) can reduce storage costs. If you make no changes to a blob, version, or snapshot's tier, then you are billed for unique blocks of data across that blob its versions, and snapshots. You are billed for active data until the blob, versions, and snapshots are permanently deleted.
0 commit comments