Skip to content

Backup & Disaster Recovery

Recovery Strategy

Summary

A service selects a disaster recovery strategy during design according to its RPO, RTO, availability needs, cost, and approved data jurisdictions.

Standards

  1. A service's disaster recovery strategy MUST be decided during its design. std-ops-recovery-strategy-01
  2. Backup and restore SHOULD be chosen where a service's defined RPO and RTO can tolerate the time needed to provision infrastructure and restore data from backup. std-ops-recovery-strategy-02
  3. Cold standby SHOULD be chosen where a service's RTO does not tolerate provisioning infrastructure from scratch, so its data and core infrastructure already exist in a separate site but remain switched off. std-ops-recovery-strategy-03
  4. Warm standby SHOULD be chosen where a service's RTO requires it to serve at least reduced production traffic immediately on failover. std-ops-recovery-strategy-04
  5. Multi-site active/active SHOULD be chosen where a service's RPO and RTO require continuous availability across sites, and the service can justify running at or near full capacity in more than one site at once. std-ops-recovery-strategy-05
  6. A site or backup storage location selected to support a service's recovery MUST be within a jurisdiction already approved for the service's data. std-ops-recovery-strategy-06

Implements These Principles

Backup Coverage

Summary

A service identifies every data and configuration source needed for recovery and either backs it up before production use or relies on qualifying reconstructability, durability, or redundancy.

Standards

  1. A service MUST identify the data and configuration it needs for recovery and protect each item through backup, reconstructability, durability, or redundancy that meets its RPO and RTO. std-ops-backup-coverage-01
  2. A new data store or configuration source MUST have a recovery mechanism meeting the service's RPO and RTO before it is relied on in production. std-ops-backup-coverage-02
  3. Data that can be regenerated or reconstructed from another authoritative source within the service's defined RPO and RTO MAY be excluded from a separate backup. std-ops-backup-coverage-03
  4. Data and configuration MAY rely on a cloud-native mechanism's own documented durability or redundancy guarantee instead of a separate backup. std-ops-backup-coverage-04

Implements These Principles

Backup Frequency & Retention

Summary

A backup's frequency meets the service's RPO, and its retention period is defined, proportionate, and enforced.

Standards

  1. A backup's frequency MUST be set so that the maximum data loss between successive backups does not exceed the service's defined RPO. std-ops-backup-frequency-retention-01
  2. A backup's retention period MUST be defined and proportionate to the cost of retaining it and any applicable legal or regulatory retention requirement. std-ops-backup-frequency-retention-02
  3. A backup MUST be deleted once it passes its defined retention period, so retained data does not accumulate cost or exposure beyond what its retention justifies. std-ops-backup-frequency-retention-03

Implements These Principles

Backup Reliability

Summary

A backup is created automatically, and a failed backup automatically alerts the team responsible for it.

Standards

  1. A backup MUST be created through an automated process. std-ops-backup-reliability-01
  2. A failed backup MUST automatically trigger an alert to the team responsible for the service it protects. std-ops-backup-reliability-02

Implements These Principles

Backup Isolation & Redundancy

Summary

A backup lives separately from the system it protects, protected from deletion, and kept as more than one copy.

Standards

  1. A backup MUST be kept in a location and access domain separate from the system it protects, so a failure, compromise, or deletion affecting that system does not also affect the backup. std-ops-backup-isolation-redundancy-01
  2. At least one recoverable backup copy MUST be protected against modification or deletion throughout its retention period by an administrator of the system it protects. std-ops-backup-isolation-redundancy-02
  3. A backup SHOULD be maintained as more than one copy, so that a single storage failure or corruption event does not eliminate the only recoverable copy. std-ops-backup-isolation-redundancy-03

Implements These Principles

Recovery Infrastructure

Summary

A service's infrastructure provisions from its own code definition, with that time accounted for in its RTO.

Standards

  1. The infrastructure a service depends on to be restored MUST be capable of being provisioned from its own code definition, so a disaster recovery plan does not depend on undocumented manual action to rebuild it. std-ops-recovery-infrastructure-01
  2. Where a service's infrastructure is not already running, the service's defined RTO MUST account for the time needed to provision that infrastructure from its code definition. std-ops-recovery-infrastructure-02

Implements These Principles

Recovery Plan

Summary

A service has a discoverable disaster recovery runbook that records its objectives, dependencies, restoration sequence, and steps capable of meeting its RTO.

Standards

  1. A production service MUST have a documented disaster recovery plan covering failures capable of making the service unavailable, including loss of a required site where applicable. std-ops-recovery-plan-01
  2. A disaster recovery plan MUST record the service's defined recovery objectives, so its recovery capability can be measured against them. std-ops-recovery-plan-02
  3. A disaster recovery plan SHOULD specify the restoration order for a service with more than one dependency, so a service is not restored before the dependencies it needs are already available. std-ops-recovery-plan-03
  4. The recovery procedure documented by a disaster recovery plan MUST be capable of restoring the service within its defined RTO. std-ops-recovery-plan-04
  5. A disaster recovery plan MUST be documented and maintained as a runbook. std-ops-recovery-plan-05
  6. A service's disaster recovery plan MUST be discoverable to its responders through established service documentation. std-ops-recovery-plan-06

Implements These Principles

Recovery Testing

Summary

A service's recovery capability is tested periodically against realistic conditions, and the result measured against its objectives.

Standards

  1. A production service's recovery capability MUST be exercised periodically under conditions representative of its recovery strategy, using production only where the exercise is controlled and safe. std-ops-recovery-testing-01
  2. A service's infrastructure provisioning and deployment SHOULD be regularly exercised in a lower or ephemeral environment, without manual intervention, so a gap in its code definition is caught early. std-ops-recovery-testing-02
  3. A disaster recovery test's outcome, including the actual time taken to restore a service and the data loss actually incurred, MUST be recorded and compared against the service's defined RPO and RTO. std-ops-recovery-testing-03

Implements These Principles