Data protection by resource type
The following table summarizes the Azure Storage data protection options according to the resources they protect.
| Data protection option | Protects an account from deletion | Protects a container from deletion | Protects an object from deletion | Protects an object from overwrites |
|---|---|---|---|---|
| Azure Resource Manager lock | Yes | No | No | No |
| Immutability policy on a blob version | Yes | Yes | Yes | Yes |
| Immutability policy on a container | Yes | Yes | Yes | Yes |
| Container soft delete | No | Yes | No | No |
| Blob versioning | No | No | Yes | Yes |
| Blob soft delete | No | No | Yes | Yes |
| Point-in-time restore | No | No | Yes | Yes |
| Blob snapshot | No | No | No | Yes |
| Roll-your-own solution for copying data to a second account | No | Yes | Yes | Yes |
Understanding the nuances of data protection in Azure Storage reveals several operational insights and restrictions:
- An Azure Resource Manager lock doesn't protect a container from deletion.
- Storage account deletion fails if there is at least one container with version-level immutable storage enabled.
- Container deletion fails if at least one blob exists in the container, regardless of whether policy is locked or unlocked.
- Overwriting the contents of the current version of the blob creates a new version. An immutability policy protects a version's metadata from being overwritten.
- While a legal hold or a locked time-based retention policy is in effect at container scope, the storage account is also protected from deletion.
- Not currently supported for Data Lake Storage workloads.
- AzCopy and Azure Data Factory are options that are supported for both Blob Storage and Data Lake Storage workloads. Object replication is supported for Blob Storage workloads only.
Comments
Post a Comment