Skip to content

Commit ce5cdfd

Browse files
Merge pull request #127274 from JasonYeMSFT/chuye/add-stgexp-blob-versioning-guide
Add Storage Explorer blob versioning guide
2 parents d0c51b3 + 68de589 commit ce5cdfd

File tree

2 files changed

+120
-0
lines changed

2 files changed

+120
-0
lines changed

articles/storage/blobs/TOC.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,8 @@
570570
href: ../common/storage-explorer-troubleshooting.md?toc=%2fazure%2fstorage%2fblobs%2ftoc.json
571571
- name: Storage Explorer security
572572
href: ../common/storage-explorer-security.md
573+
- name: Storage Explorer blob versioning
574+
href: ../common/storage-explorer-blob-versioning.md
573575
- name: Storage Explorer support policy and lifecycle
574576
href: ../common/storage-explorer-support-policy-lifecycle.md
575577
- name: Storage Explorer accessibility
@@ -850,6 +852,8 @@
850852
href: ../common/storage-explorer-troubleshooting.md?toc=%2fazure%2fstorage%2fblobs%2ftoc.json
851853
- name: Storage Explorer security
852854
href: ../common/storage-explorer-security.md
855+
- name: Storage Explorer blob versioning
856+
href: ../common/storage-explorer-blob-versioning.md
853857
- name: Storage Explorer support policy and lifecycle
854858
href: ../common/storage-explorer-support-policy-lifecycle.md
855859
- name: Storage Explorer accessibility
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
---
2+
title: Azure Storage Explorer blob versioning guide | Microsoft Docs
3+
description: Blob versioning guidance for Azure Storage Explorer
4+
services: storage
5+
author: chuye
6+
ms.service: storage
7+
ms.topic: conceptual
8+
ms.date: 08/19/2020
9+
ms.author: chuye
10+
---
11+
12+
# Azure Storage Explorer blob versioning guide
13+
14+
Microsoft Azure Storage Explorer provides easy access and management of blob versions. This guide will help you understand how blob versioning works in Storage Explorer. Before continuing, it's recommended you read more about [blob versioning](https://docs.microsoft.com/azure/storage/blobs/versioning-overview).
15+
16+
## Terminology
17+
18+
This section provides some definitions to help understand their usage in this article.
19+
20+
- Soft delete: An alternative automatic data protection feature. You can learn more about soft delete [here](https://docs.microsoft.com/azure/storage/blobs/soft-delete-blob-overview).
21+
- Active blob: A blob or blob version is created in active state. You can only operate on blobs or blob versions in active state.
22+
- Soft-deleted blob: A blob or blob version marked as soft-deleted. Soft-deleted blobs are only kept for its retention period.
23+
- Blob version: A blob created with blob versioning enabled. Each blob version is associated with a version ID.
24+
- Current version: A blob version marked as the current version.
25+
- Previous version: A blob version that isn't the current version.
26+
- Non-version blob: A blob created with blob versioning disabled. A non-version blob doesn't have a version ID.
27+
28+
## View blob versions
29+
30+
Storage Explorer supports four different views for viewing blobs.
31+
32+
| View | Active non-version blobs | Soft-deleted non-version blobs | Blob versions |
33+
| ---- | :----------: | :-----------: | :------------------: |
34+
| Active blobs | Yes | No | Current version only |
35+
| Active blobs and soft-deleted blobs | Yes | Yes | Current version only |
36+
| Active blobs and blobs without current version | Yes | No | Current version or latest active version |
37+
| All blobs and blobs without current version | Yes | Yes | Current version or latest version |
38+
39+
### Active blobs
40+
41+
In this view, Storage Explorer displays:
42+
43+
- Active non-version blobs
44+
- Current versions
45+
46+
### Active blobs and soft-deleted blobs
47+
48+
In this view, Storage Explorer displays:
49+
50+
- Active non-version blobs
51+
- Soft-deleted non-version blobs
52+
- Current versions.
53+
54+
### Active blobs and blobs without current version
55+
56+
In this view, Storage Explorer displays:
57+
58+
- Active non-version blobs
59+
- Current versions
60+
- Latest active previous versions.
61+
62+
For blobs that don't have a current version but have an active previous version, Storage Explorer displays their latest active previous version as a representation of that blob.
63+
64+
### All blobs and blobs without current version
65+
66+
In this view, Storage Explorer displays:
67+
68+
- Active non-version blobs
69+
- Soft-deleted non-version blobs
70+
- Current versions
71+
- Latest previous versions.
72+
73+
For blobs that don't have a current version, Storage Explorer displays their latest previous version as a representation of that blob.
74+
75+
> [!Note]
76+
> Due to service limitation, Storage Explorer needs some additional processing to get a hierarchical view of your virtual directories when listing blob versions. It will take longer to list blobs in the following views:
77+
>
78+
> - Active blobs and blobs without current version
79+
> - All blobs and blobs without current version
80+
81+
## Manage blob versions
82+
83+
### View versions of a blob
84+
85+
Storage Explorer provides a **Manage Versions** command to view all the versions of a blob. To view a blob's versions, select the blob you want to view versions for and select **Manage History → Manage Versions** from either the toolbar or the context menu.
86+
87+
### Download blob versions
88+
89+
To download one or more blob versions, select the blob versions you want to download and select **Download** from the toolbar or the context menu.
90+
91+
If you're downloading multiple versions of a blob, the downloaded files will have their version IDs at the beginning of their file names.
92+
93+
### Delete blob versions
94+
95+
To delete one or more blob versions, select the blob versions you want to delete and select **Delete** from the toolbar or the context menu.
96+
97+
Blob versions are subject to your soft-delete policy. If soft-delete is enabled, blob versions will be soft-deleted. One special case is deleting a current version. Deleting a current version will automatically make it become an active previous version instead.
98+
99+
### Promote blob version
100+
101+
You can restore the contents of a blob by promoting a previous version to become the current version. Select the blob version you want to promote and select **Promote Version** from the toolbar or the context menu.
102+
103+
Non-version blobs will be overwritten by the promoted blob version. Make sure you no longer need that data or back up the data yourself before confirming the operation. Current versions automatically become previous versions, so Storage Explorer won't prompt for confirmation.
104+
105+
### Undelete blob version
106+
107+
Blob versions can't be undeleted individually. They must be undeleted all at once. To undelete all blob versions of a blob, select any one of the blob's versions and select **Undelete Selected** from the toolbar or the context menu.
108+
109+
### Change access tier of blob versions
110+
111+
Each blob version has its own access tier. To change access tier of blob versions, select the blob versions you want to change access tier and select **Change Access Tier...** from the context menu.
112+
113+
## See Also
114+
115+
* [Blob versioning](https://docs.microsoft.com/azure/storage/blobs/versioning-overview)
116+
* [Soft delete for blobs](https://docs.microsoft.com/azure/storage/blobs/soft-delete-blob-overview)

0 commit comments

Comments
 (0)