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/versioning-manage.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,11 @@ You can enable or disable blob versioning (preview) for the storage account at a
20
20
21
21
# [Azure portal](#tab/portal)
22
22
23
-
???need screenshot here - i have access now, but need grammatical errors in text fixed first
23
+
To enable blob versioning in the Azure portal:
24
+
25
+
1. Navigate to your storage account in the portal.
26
+
1. Under **Blob service**, choose **Data protection**.
27
+
1. In the **Versioning** section, select **Enabled**.
24
28
25
29
:::image type="content" source="media/versioning-manage/portal-enable-versioning.png" alt-text="Screenshot showing how to enable blob versioning in Azure portal":::
Copy file name to clipboardExpand all lines: articles/storage/blobs/versioning-overview.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,20 +14,24 @@ ms.subservice: blobs
14
14
15
15
# Blob versioning (preview)
16
16
17
-
Blob storage versioning (preview) automatically maintains prior versions of an object and identifies them with timestamps. You can restore a prior version of a blob to recover your data if it is erroneously modified or deleted.
17
+
You can enable Blob storage versioning (preview) to automatically maintain previous versions of an object. When blob versioning is enabled, you can restore an earlier version of a blob to recover your data if it is erroneously modified or deleted.
18
18
19
-
After you enable blob versioning for a storage account, blob versions are automatically maintained for every blob in the storage account. Microsoft recommends using blob versioning to maintain prior versions of a blob for superior data protection. Blob snapshots also maintain prior versions of a blob, but they must be maintained manually by your application.
19
+
Blob versioning is enabled on the storage account and applies to all blobs in the storage account. After you enable blob versioning for a storage account, Azure Storage automatically maintains versions for every blob in the storage account.
20
+
21
+
Microsoft recommends using blob versioning to maintain previous versions of a blob for superior data protection. When possible, use blob versioning instead of blob snapshots to maintain previous versions. Blob snapshots provide similar functionality in that they maintain earlier versions of a blob, but snapshots must be maintained manually by your application.
20
22
21
23
> [!IMPORTANT]
22
24
> Blob versioning cannot help you to recover from the accidental deletion of a storage account or container. To prevent accidental deletion of the storage account, configure a **CannotDelete** lock on the storage account resource. For more information on locking Azure resources, see [Lock resources to prevent unexpected changes](../../azure-resource-manager/management/lock-resources.md).
23
25
24
26
## How blob versioning works
25
27
26
-
When blob versioning is enabled for a storage account, Azure Storage automatically creates a new version of a blob each time that blob is modified or deleted. A version captures a committed blob state at a given point in time.
28
+
A version captures the state of a blob at a given point in time. When blob versioning is enabled for a storage account, Azure Storage automatically creates a new version of a blob each time that blob is modified or deleted.
27
29
28
-
Blob versions are immutable. You cannot modify the content or metadata of an existing blob version.
30
+
When you create a blob with versioning enabled, the new blob is the current version of the blob (or the base blob). If you subsequently modify that blob, Azure Storage creates a version that captures the state of the blob before it was modified. The modified blob becomes the new current version. A new version is created each time you modify the blob.
29
31
30
-
The most recent write operation creates the current version of the blob. A prior version preserves the state of a blob at an earlier point in time.
32
+
When you delete a blob with versioning enabled, Azure Storage creates a version that captures the state of the blob before it was deleted. The current version of the blob is then deleted, but the blob's versions persist, so that it can be re-created if needed.
33
+
34
+
Blob versions are immutable. You cannot modify the content or metadata of an existing blob version.
0 commit comments