.NET Architecture & System Design Interview Question #175

What is the difference between backup, replication, and high availability?

Security Architecture, Multi-Tenancy & Disaster Recovery Senior Advanced

Quick Interview Answer

Backup creates recoverable copies of data for restoration after loss or corruption. Replication maintains additional copies that follow changes from a source. High availability is the broader capability to keep a service operating through failures, often using redundancy and automated failover.

Detailed Explanation

Backup creates recoverable copies of data for restoration after loss or corruption. Replication maintains additional copies that follow changes from a source. High availability is the broader capability to keep a service operating through failures, often using redundancy and automated failover.

Replication is not a substitute for backup because accidental deletion or corruption can be replicated. High availability is not disaster recovery because a highly available primary environment can still suffer a site-wide disaster.

Code Example

Backup:
restore historical copy

Replication:
maintain additional current copies

High Availability:
continue service through component failures