A marketing team stores campaign documents in a storage account configured with read-access geo-redundant storage (RA-GRS). Blob versioning and soft delete are not enabled. Two days ago, a faulty script overwrote several hundred blobs with empty files. You have verified that the affected blobs also contain empty files in the secondary region. A manager proposes recovering the original documents from the secondary region. You must recover what is possible and prevent this type of data loss in the future, while keeping geo-redundancy.
What should you tell the manager, and what should you configure?
Geo-replication asynchronously carries data changes to the secondary region, and the scenario confirms that the overwrites have arrived there. Neither secondary read access nor failover can recover earlier contents from replicas that already contain the empty files. Retaining RA-GRS maintains geo-redundancy, while enabling blob versioning and soft delete adds protection for future overwrites and deletions. These features cannot retroactively recover the originals lost before they were enabled.
- Correct: Explain that the originals are not recoverable from the account's replicas; retain RA-GRS and enable blob versioning and soft delete to protect future changes. The overwrites have reached both regions, and redundancy does not preserve historical blob contents. Enabling versioning preserves versions for future overwrites, while soft delete adds protection against deletion; enabling these features now does not recreate the lost originals.
- Not correct: Ask Microsoft to initiate a failover to the secondary region so that the original blobs become the primary copy again. Failover does not roll back blob contents. The secondary replica already contains the empty files, so making it primary would not restore the originals.
- Not correct: Read the original blobs from the secondary read-only endpoint, because RA-GRS keeps the earlier copies in the secondary region. RA-GRS provides read access to a secondary replica, not a historical copy. You have verified that the secondary replica already contains the empty files.
- Not correct: Change the account to read-access geo-zone-redundant storage (RA-GZRS) so that earlier versions of overwritten blobs are kept in each availability zone. RA-GZRS adds zone redundancy in the primary region, but its replicas do not preserve historical blob contents. Changing redundancy cannot restore the overwritten originals.
- Data redundancy - Azure StorageMicrosoft Learn
- Configure storage accounts: Determine replication strategiesMicrosoft Learn