Failing Over and Failing Back with Site Recovery
This lesson explains test failover, failover and recovery point choices, and the steps that follow a failover.
Learning outcomes
After completing this lesson, you will be able to:
- Explain the purpose of a test failover.
- Choose a recovery point for an RPO or RTO requirement.
- Describe the order of commit, reprotect and failback.
Test failover
A test failover creates VMs in the target region from a chosen recovery point, without stopping replication or affecting production. It should use an isolated VNet that is not connected to production networks, so that duplicate machine names and IPs do not conflict. After validating the application, Cleanup test failover deletes the test VMs and records notes. Microsoft recommends regular test failovers, for example each quarter, to meet compliance and prove the recovery plan.
Test failovers
Failover and recovery points
A failover brings VMs or a recovery plan up in the target region. During a planned event, choose Shut down machines before beginning failover so that the latest changes replicate and no data is lost; during an outage, the source may be unavailable. The recovery point choice trades RPO against RTO.
| Recovery point | Meaning | Trade-off |
|---|---|---|
| Latest (lowest RPO) | Processes all data received by Site Recovery first | Least data loss, longer failover |
| Latest processed (lowest RTO) | Uses the latest point already processed | Fastest failover |
| Latest app-consistent | Uses the latest application-consistent point | Application consistency, more data loss |
| Latest multi-VM processed / consistent | Shared point across a replication group | Consistency across related VMs |
| Custom | A specific earlier point | Recover from corruption that replicated |
Choosing a recovery point
Commit, reprotect and failback
After failover, the VMs run in the target region but the operation is not final. The remaining steps are summarized below.
-
Validate
Check the application; until committed, you can change to a different recovery point.
-
Commit
Commit the failover; the other recovery points are discarded.
-
Reprotect
Start replication from the target region back to the original primary region, so the failed-over VMs are protected.
-
Failback
When the primary region is healthy, fail over again in the reverse direction (planned failover), then commit.
-
Reprotect again
Reprotect to resume replication from the primary to the secondary region.
Failover changes IP addresses unless the target subnet uses the same range, so DNS updates (manually, by recovery plan script, or with Traffic Manager) are part of the plan. Recovery plans can be run from the portal, PowerShell or REST.
The following diagram shows, in order, the actions of a full Site Recovery failover and failback.

Failover and failback
Ordering the steps
West Europe suffers an outage. An administrator fails a recovery plan over to North Europe using the Latest processed recovery point. Two days later, West Europe is healthy again, and the company wants the application back there with protection in place throughout. Place the required actions in order.
Commit the failover in North Europe, reprotect to replicate from North Europe to West Europe, wait until replication is healthy, perform a planned failover back to West Europe (shutting down the North Europe VMs first to avoid data loss), commit, and reprotect again so that West Europe replicates to North Europe. A test failover is not part of failback.
Which recovery point gives the fastest failover?
Show answer
Latest processed (lowest RTO).
Exam Tips
Remember for the exam
- Test failover into an isolated VNet; clean it up afterwards.
- Lowest data loss: Latest; fastest recovery: Latest processed.
- After failover: commit, then reprotect.
- Failback is a planned failover in the reverse direction, followed by commit and reprotect.