Failback
Cheat sheet · https://pcornel.dk/topic.php?topic=3646
Answer
Failback is not just reverse failover: the original environment may contain stale or divergent state. A safe process validates primary readiness, establishes replication in the correct direction, synchronizes authoritative changes, controls writes, transfers ownership and then re-establishes protection.
Remember
- Old primary state is usually stale after failover.
- Reversing replication direction incorrectly can overwrite newer authoritative data.
- Primary infrastructure healthy ≠ ready for workload cutback.
- Failback complete ≠ protection restored until replication/backup policies are healthy again.
First checks
Set-VMReplication -Reverse -VMName <vm>— reverse replicationStart-VMFailover -Prepare (on DR)— planned backpvesr status— Proxmox
Verify in this order
DR running → reverse sync → planned failover back
Where it usually breaks
First mismatch in guest block/filesystem view → virtual controller/disk → hypervisor mapping → datastore/path → storage backend → durability/read-back; preserve identity/native error/pre-state before mutation.
Disaster Recovery → Failback reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Readiness | Original/new primary is healthy | Not yet authoritative |
| Resync | Current active changes copied back | Direction matters |
| Cutback | Authority/traffic returns | Controlled write boundary |
| Reprotect | Backup/replication healthy again | Closes incident |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3646