> but given the situation, How does that prevent the situation from happening again
You don't. Instead, you make sure your failover or DR setup is regularly tested and works.