Lesson 4 of 4 Backup Solutions

Backing Up Blobs and File Shares

This lesson explains operational and vaulted backup for blobs and files.

Learning outcomes

After completing this lesson, you will be able to:

  • Distinguish operational from vaulted backup.
  • Describe the Azure Files snapshot and vaulted tiers.
  • Choose a protection feature for a stated event.

Operational and vaulted protection

Two general types of backup apply to unstructured data. Operational backup keeps data in the source account, or in its snapshots, and gives fast recovery from routine mistakes. Vaulted backup copies data to an Azure Backup vault outside the source account, so that it survives the deletion or compromise of that account. The difference is significant in a ransomware scenario: operational protection may be lost if an attacker gains control of the storage account itself.

Sort into groups

Operational or vaulted?

Exam skills 3.1.4

Decide which backup model fits each requirement for blobs.

Log in to try this activity Interactive activities are free with an account.

Azure Blob Storage

Azure Backup protects block blobs from a Backup vault with both models. Operational backup uses blob features such as soft delete, versioning, change feed and point-in-time restore, in the source account, with a continuous recovery capability. A role assignment lets the vault manage these features. Vaulted backup makes scheduled copies to the vault, usually daily, and it allows long retention and restoration to a different storage account, which is the key benefit when the original is damaged.

Native features discussed in the previous module remain useful. Soft delete suits a single mistaken deletion, immutability suits regulatory retention, and object replication offers a copy in another account. Azure Backup adds central management and separation from the source.

Azure Files

Azure Files uses a Recovery Services vault, with two tiers. In the snapshot tier, backups are share snapshots stored in the storage account, which allows fast restores, but the backups share a fate with the account. In the vaulted tier, known as Vault-Standard, data is also transferred to the vault, giving offsite protection against account deletion and ransomware, and supporting long retention.

Share snapshots and soft delete offer additional, simple recovery. A user can even restore previous file versions from Windows through the snapshot feature. With Azure File Sync, cloud-side backup protects all servers in a sync group, so branch servers no longer need their own backup.

The following diagram shows where each of two copies of an Azure file share is held.

Two copies for Azure Files. Share snapshots live in the storage account and let users restore previous versions for a few days. A vaulted backup copies data into a Recovery Services vault, retained for a year and optionally immutable, so it survives if an attacker deletes the storage account; snapshots alone would not.
The scenario is illustrative.

Backup or redundancy

The choice between protection features starts from the event being planned for. The following table recaps the options for blobs and files.

EventBlob StorageAzure Files
One item deleted by mistakeBlob soft deleteShare snapshot or soft delete
Faulty application overwrites many itemsPoint-in-time restore or operational backupShare snapshot
Storage account deleted or compromisedVaulted backupVaulted tier
Long-term compliance retentionImmutability or vaulted backupVaulted tier
Regional outageGeo-redundant storageGeo-redundant storage, on HDD shares
Match the pairs

Event and protection

Exam skills 3.1.4

Match each event affecting blob data with the protection that answers it.

Log in to try this activity Interactive activities are free with an account.

Designing retention and restore

A backup design must state how data is restored as well as how it is stored. Operational backup restores blobs to a point in time in the same storage account, which is fast and suits a logical error. Vaulted backup can restore to a different storage account, which is the correct route after the account itself is lost or an attacker has altered it. A restore test should confirm permissions too: the vault's managed identity needs a suitable role on the source and target accounts, and an operation that has never been tested may fail during an incident for this simple reason.

Retention should reflect the kind of risk. Short retention covers everyday mistakes, whereas ransomware can sit undetected for weeks, so vaulted retention should be longer than the likely detection time. Long retention for compliance usually belongs in immutable storage or a long-term backup tier, rather than in a very long soft delete period, since soft-deleted data remains in the account and shares its risks.

Combining layers of protection

No single feature is sufficient, so a mature design for important data layers them. A typical design for a business-critical blob container might use ZRS or GZRS for hardware and zone failure, soft delete and versioning for human error, a resource lock against account deletion, vaulted backup for compromise of the account, and an immutable vault so that the backups themselves cannot be removed. Each layer has a cost, so less important data should receive only those layers that its value justifies.

Data in a Data Lake Storage account needs particular thought, because versioning, point-in-time restore and object replication are not available with a hierarchical namespace. Soft delete remains available, and Azure Backup can provide vaulted protection, so these features should be confirmed for the account type before a design relies on them.

Select all that apply

Layering a critical container

Exam skills 3.1.4

Identify the layers that suit a business-critical blob container.

Log in to try this activity Interactive activities are free with an account.
Worked example

Protecting file shares from ransomware

A design firm stores project data in Azure Files. Security wants protection that survives if an attacker deletes the storage account, with one year of retention. Users also want to recover their own files after a mistake, within a few days. What should you recommend?

Configure Azure Backup in a Recovery Services vault using the vaulted tier, because data held in the vault remains available when the storage account is gone. A retention policy of one year meets the requirement. An immutable vault adds further protection.

User recovery is well served by share snapshots, available from the snapshot tier, which allow previous versions to be restored directly. Storing only snapshots would fail the first requirement, because snapshots live in the storage account. Geo-redundancy would replicate the attacker's deletions.

Check yourself

Why does the Azure Files snapshot tier not protect against deletion of the storage account?

Show answer

Snapshots live in the account. The vaulted tier keeps data in a vault outside it.

Exam Tips

Remember for the exam

  • Operational backup stays in the source account; vaulted backup survives its loss.
  • Blobs use a Backup vault; Azure Files uses a Recovery Services vault.
  • Azure Files vaulted tier provides offsite protection and long retention.
  • Choose protection by the event planned for, not by habit.