Home › Studies › AZ-104 › Monitor & Maintain › Backup & Restore

Backup & Restore

VM backup · Standard and Enhanced policies · Instant Restore · restore options · roles · alerts · reports

By the tools4free.dev team · Last reviewed November 13, 2026

Practice questions for this topic →

How Azure VM backup works

ConsistencyWhen you get it
Application-consistentVSS writers (Windows) or pre/post scripts (Linux)
File-system consistentDefault fallback, and Linux without scripts
Crash-consistentVM is stopped, app or file backups fail, or the agentless option is used

Standard vs Enhanced policy

StandardEnhanced
FrequencyMinimum RPO 1 dayHourly, daily or weekly. Hourly: every 4, 6, 8, 12 or 24 hours (minimum RPO 4 hours)
Instant Restore snapshot retentionDefault 2 days, range 1–5Default 7 days, range 1–30; can't exceed vault retention
Ultra Disk, Premium SSD v2Not supportedSupported
OtherWeekly policies: snapshot retention fixed at 5 daysZone resiliency (ZRS) for Instant Restore snapshots. Default retention: daily 180 days, weekly 12 weeks, monthly 60 months, yearly 10 years

Enable backup and roles

Restore options

OptionNotes
Create new VMQuick basic VM. Doesn't add the VM to an availability set
Restore disksThe VM isn't created: restore the disks, then use a template or create a VM. Use this to customize the VM or place it in an availability set
Replace existingThe VM must still exist and be powered off, or the pre-check fails with UserErrorVmNotShutDown. Use it only after the Transfer Data to Vault subtask has finished for that point
Cross Region RestoreRestore into the secondary region. The staging storage account must be in the secondary region
Cross Subscription RestoreEnable it on the vault first. Not supported from snapshot-tier recovery points or for encrypted VMs
Cross Zonal RestoreNeeds a ZRS vault (or CRR). Not supported from snapshot-tier recovery points or for encrypted VMs
File recovery (script)Restoring files or folders from an encrypted VM backup isn't supported: restore the whole VM

Stop protection and move a VM

Monitoring, alerts and reports

Commands

TaskAzure CLIPowerShell
Enable backupaz backup protection enable-for-vm --policy-name P --resource-group RG --vault-name V --vm VM (pass the full ARM ID for a VM in another subscription)Enable-AzRecoveryServicesBackupProtection -Policy $Pol -Name VM -ResourceGroupName RG -VaultId $id
Restore disksaz backup restore restore-disks --container-name C --item-name I --resource-group RG --rp-name RP --storage-account SA --vault-name V—
Stop protection and delete dataaz backup protection disable ... --delete-backup-data trueDisable-AzRecoveryServicesBackupProtection -Item $item -RemoveRecoveryPoints
Instant Restore retention—$pol.SnapshotRetentionInDays=5 then Set-AzRecoveryServicesBackupProtectionPolicy -policy $pol
Diagnostics for reportsaz monitor diagnostic-settings create on the vaultNew-AzDiagnosticSetting

Limits

ItemValue
Minimum daily retention7 days
Maximum retentionDaily 9999 days; weekly 5163 weeks; monthly 1188 months; yearly 99 years
VMs per policy100
Restores of the same VM per 24 hours20
Disk sizeUp to 64 TB each; 512 TB total per VM
Tags restoredUp to 50
Free space for the first backup with Instant Restore on premium storage50% recommended

Exam Tips

Tick each tip once you can answer it without looking.

“Back up VMs more than once a day” → Enhanced policy (hourly, every 4, 6, 8, 12 or 24 hours). Trap: Standard, whose minimum RPO is 1 day.

“Default Instant Restore retention with a Standard policy” → 2 days (range 1–5). Trap: 7 days, which is the Enhanced default (range 1–30).

“Daily retention shorter than 7 days” → Not allowed: the minimum is 7 days. Trap: a 1-day policy.

“Back up a VM that is shut down” → Works, with a crash-consistent recovery point. Trap: assuming the backup fails.

“Restore a VM with a custom size and place it in an availability set” → Restore disks, then deploy a template. Trap: Create new VM, which doesn't add the VM to an availability set.

“Replace the disks of an existing VM” → Replace existing: the VM must exist and be powered off. Trap: using it after the VM was deleted.

“The VM was deleted; recover it” → Restore from a recovery point in the vault as a new VM. Trap: Replace existing, which needs the VM to exist.

“Restore fails with UserErrorVmNotShutDown” → Power off the VM before replacing disks. Trap: stopping the backup.

“Restore into another subscription in the same tenant” → Enable Cross Subscription Restore on the vault; not possible from snapshot-tier points or for encrypted VMs. Trap: Cross Region Restore.

“Restore a zone-pinned VM into a different zone” → Cross Zonal Restore from a ZRS vault. Trap: an LRS vault.

“Restore into the paired region during an outage test” → Cross Region Restore, with the staging storage account in the secondary region. Trap: staging storage in the primary region.

“Restore single files from an encrypted VM backup” → Not supported: restore the whole VM. Trap: the file recovery script.

“Backups fail after a delete lock on AzureBackupRG_*” → Remove the lock and clean up the restore point collection. Trap: increasing policy retention.

“Stop protection but retain data: cost?” → Billing continues until the data is deleted. Trap: assuming billing stops.

“More than 100 VMs on one policy” → Create additional policies (limit is 100 VMs per policy). Trap: assuming the limit is unlimited.

“VM missing from the Enable backup wizard” → The wizard lists only VMs in the vault's region that aren't already backed up. Trap: a missing permission.

“Keep 6 months of backup report history” → Send vault diagnostics to Log Analytics and raise the workspace retention (default 30 days). Trap: expecting reports to keep data on their own.

“Email the team on VM backup failures” → Built-in alerts plus an alert processing rule that applies an action group. Trap: building an alert rule on a backup alert: backup alerts aren't created by alert rules.

“Can run restores but must not delete backup data or stop backup” → Backup Operator. Trap: Backup Contributor, which creates, modifies and deletes policies and stops backup.

“After restoring to an alternate location, the VM isn't backed up” → Alternate-location restore doesn't keep the policy: configure backup. Trap: expecting the original-location behavior.

Sources

Checked against Microsoft Learn on November 13, 2026.

← Backup VaultsSite Recovery →