Skill 2.3.7

Configure blob versioning

Key Concepts

When versioning is enabled on the account's Data protection page, each write creates a new current version and keeps the previous one as a read-only previous version identified by a version ID (a timestamp). Deleting a blob without specifying a version makes the current version a previous version, so the data is still recoverable. Restoring means promoting a previous version to be the current version, from the blob's Versions tab or by copying it over the base blob.

Every version is billed for the data it holds, so lifecycle management rules usually delete previous versions after a number of days. Versioning is a prerequisite for object replication and for point-in-time restore of block blobs, and it is not supported for accounts with a hierarchical namespace. Microsoft recommends combining versioning with blob soft delete and container soft delete for complete protection.