Database Disaster Recovery: Planning for Total Failure
Database Disaster Recovery (DR) assumes your primary site is gone for good, focusing on restoring service at a secondary location. It's for critical systems where regional outages are unacceptable. The footgun is confusing DR with High Availability (HA).
WHY IT EXISTS Disaster Recovery (DR) exists to ensure a business can survive a catastrophic event that destroys its primary IT infrastructure. It addresses the risk of large-scale, regional failures that High Availability (HA) mechanisms within a single site cannot handle, such as a storm, fire, or extended power grid failure.
THE MENTAL MODEL Think of DR not as repairing your house after a fire, but as having a fully-furnished replica of your house in another city, ready to move into. It's about continuity, not repair. The core assumption is that the primary site is gone for good, or at least for a very long time, and you must restore service elsewhere.
HOW IT WORKS DR planning involves policies, tools, and procedures to restore services at a secondary, geographically separate location. For a database, this means maintaining an up-to-date copy of the data at the DR site through replication. When a disaster is declared, a failover procedure is executed. This promotes the replica database to become the new primary and redirects all application traffic to the secondary site.
WHEN TO USE IT DR is for Tier-0 or Tier-1 systems essential for business survival. Use it for systems supporting critical functions where significant downtime or data loss would result in massive financial or reputational damage. This includes payment processing systems, core banking ledgers, and critical SaaS application backends.
WHEN NOT TO USE IT DR is expensive and complex. It is not necessary for non-critical systems, development environments, or services where extended downtime is acceptable. A batch processing system that runs nightly might be restored from backups over a few days without needing a full DR site. The cost must be justified by the business impact of the system being unavailable.
ONE CANONICAL EXAMPLE A financial services company runs its primary database in a Virginia data center. To protect against a regional outage, they maintain a DR site in Oregon. They use asynchronous replication to send transaction logs to the Oregon replica. If the Virginia data center is knocked offline by a hurricane, they execute their DR plan: they promote the Oregon database to be the new primary and update DNS to route all traffic to the West Coast site, restoring service.
Read the original → en.wikipedia.org
Get five bites like this every day.
Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.