Changes for content/handbook/engineering/architecture/design-documents/cells/decisions/006_disaster_recovery_geo.md: 2 added lines, 0 removed lines.
Original line number
Diff line number
Diff line
@@ -4,6 +4,8 @@ title: 'Cells ADR 006: Use Geo for Disaster Recovery'
toc_hide:true
---
**Note:** This ADR reflects an earlier approach. The current decision is documented in [024_disaster_recovery_cells.md](024_disaster_recovery_cells.md)
## Context
We discussed whether we should use Geo for Disaster Recovery in [this issue](https://gitlab.com/gitlab-com/gl-infra/production-engineering/-/issues/25246).
these backups are intended to be the primary mechanism for Disaster Recovery (DR) in a Cells-based architecture.
## Decision
We will use **backup and restore as the primary Disaster Recovery mechanism for Cells**.
Each cell is responsible for producing consistent backups of its stateful components (for example databases, object storage, and configuration state). In a disaster scenario,
a new cell can be provisioned potentially in the same or different AWS region and restored from the most recent valid backup.
This approach implies:
- Backups are treated as first-class recovery artifacts.
- Restore workflows must be automated, repeatable, and regularly exercised.
- Recovery is performed by creating a new cell rather than attempting in-place repair of a failed one.
Backup data stored in AWS will be considered the source of truth for disaster recovery operations.
## Consequences
### Positive
- Strong alignment with the Cells isolation model: failures and recoveries are scoped to individual cells
- Reduced operational complexity/cost compared to global synchronous replication as we have with geo.
- Flexibility to restore into a new region or account, helping mitigate AWS quota exhaustion and regional outages.
- Clear and testable recovery procedures that can be validated through drills.
### Negative
- Unlike Geo, RTO will be bounded by tenant provision and restore time which will be longer than a Geo failover.
- Unlike Geo, RPO will be bounded by the time of the last successful backup which is configurable and will be longer than a Geo failover.
- Restore workflows must be reliable; failures in restore tooling directly impact RTO.
### Operational Implications
- Backup freshness and integrity must be continuously monitored
- Restore procedures must be documented and automated.
- Regular disaster recovery exercises are required to ensure backups are usable under real conditions