WAF-SOV-030 β Backup Location & Retention Controlled
Description
Backup policies MUST explicitly define region/location constraints, minimum retention periods, and restore test schedules. Cross-region replication MUST be explicitly approved and directed exclusively to valid sovereign regions.
Backup storage MUST remain within the same jurisdictional boundary as primary data β except with explicitly documented approval.
Rationale
Backups are often the first sovereignty leak that audit teams overlook. A primary database may reside in an approved EU region while automated backup replication silently routes data to a US DR region.
Every backup configuration is a potential data residency violation. Restore tests validate both the technical recoverability and that backup data has not ended up in non-sovereign storage.
Threat Context
| Risk | Description |
|---|---|
Backup replication to US region |
Automated DR replication silently routes backup data to non-approved destination regions. |
Provider-default backup storage |
Managed service backups land in provider-managed storage outside the approved jurisdiction. |
Untested restore processes |
RPO/RTO violation because the restore process was never practiced. |
Missing retention policy |
Unclear retention leads to indefinite storage of sensitive data or premature deletion. |
Cross-region copy jobs |
Scheduled snapshot copies exfiltrate backup data to non-sovereign regions. |
Regulatory Mapping
| Framework | Controls |
|---|---|
GDPR |
Art. 5(1)(e) β Storage limitation; Art. 32 β Security of processing; Art. 44β46 β Transfers to third countries |
BSI C5:2020 |
OPS-04 β Data management; BCM-01 β Business continuity management |
EUCS (ENISA) |
BCR-01 β Backup policy; DSP-04 β Data portability |
ISO 27001:2022 |
A.8.13 β Information backup; A.5.29 β Information security during business disruption |
BSI C3A:2026 |
Dimension 4 β Data: Backup location and residency; Dimension 6 β Supply Chain: Backup provider inventory |
Requirement
-
Backup configurations MUST set
location/regionexplicitly -
backup_retention_periodMUST be at least 7 days (non-prod) and 30 days (prod) -
Point-in-Time Recovery (PITR) MUST be enabled for database services with PII/financial data
-
Cross-region replication MUST be explicitly approved and directed to a sovereign target region
-
Restore tests MUST be performed and documented at least annually (quarterly for critical data)
-
Backup resources MUST be tagged with
data-residencyanddata-classconsistent with source data
Implementation Guidance
-
Declare backup resources in IaC: No implicit backup configurations; all settings explicit.
-
Set retention periods by data category and enforce in IaC.
-
Enable PITR for all databases with personal or financial data.
-
Review cross-region replication: Target region in approval list; DPO review if outside.
-
Configure immutable backups (Object Lock / Soft Delete) for critical data categories.
-
Schedule restore drills and document: backup ID, timestamp, achieved RTO, findings.
-
Tag backup vaults:
data-residencyanddata-classconsistent with source data.
Maturity Levels
| Level | Name | Criteria |
|---|---|---|
1 |
Backups enabled, location uncontrolled |
Backups enabled for critical databases; no explicit location constraints. |
2 |
Location and retention defined in IaC |
Backup vault location in approved region; minimum retention set and enforced. |
3 |
Full sovereign backup posture |
All backup targets verified in approved regions; PITR for PII/financial data; cross-region replication approved. |
4 |
Continuous monitoring and tested restores |
Quarterly restore tests with evidence; automated checks for backup location compliance; alerts on backup jobs to non-approved regions. |
5 |
Immutable, auditable sovereign backup process |
Object Lock / immutable backups enforced; restore drills automated with RTO measurement; backup compliance dashboard for auditors. |
Terraform Checks
waf-sov-030.tf.aws.db-instance-backup-retention
Checks: RDS backup_retention_period >= 7 days.
| Compliant | Non-Compliant |
|---|---|
|
|
waf-sov-030.tf.aws.dynamodb-pitr-enabled
Checks: DynamoDB PITR must be enabled.
| Compliant | Non-Compliant |
|---|---|
|
|
waf-sov-030.tf.azurerm.recovery-vault-location
Checks: Azure Recovery Services Vault must reside in an approved sovereign region.
| Compliant | Non-Compliant |
|---|---|
|
|
waf-sov-030.tf.aws.s3-versioning-enabled
Checks: S3 backup buckets must have versioning enabled.
# Compliant
resource "aws_s3_bucket_versioning" "backup" {
bucket = aws_s3_bucket.backup.id
versioning_configuration {
status = "Enabled" # β
}
}
waf-sov-030.tf.stackit.backup-retention
Checks: StackIT database instances must have backup retention enabled.
| Compliant | Non-Compliant |
|---|---|
|
|
Supported providers: AWS, Azure, StackIT, OVH, Hetzner Cloud
Evidence
| Type | Required | Description |
|---|---|---|
IaC |
β Required |
Terraform backup resources with explicit location, retention, and PITR settings. |
Process |
β Required |
Restore test records (at least annually) with backup ID, timestamp, and achieved RTO. |
Config |
Optional |
Cloud console export of the active backup policy with location and retention settings. |
Logs |
Optional |
Backup job logs with source and destination region. |
Regulatorisches Mapping
| Framework | Controls |
|---|---|
DSGVO |
Art. 44 β Allg. GrundsΓ€tze fΓΌr Γbermittlungen; Art. 46 β Geeignete Garantien; Art. 28 β Verarbeitungsvereinbarung |
BSI C5:2020 |
OPS-04 β Datenverwaltung; OPS-05 β Datenleakage-PrΓ€vention; SIM-01 β Sicherheitsvorfallmanagement |
EUCS (ENISA) |
DSP-01 β Datenklassifikation; DSP-02 β Dateninventar und Datenfluss; DSP-03 β DatenverfΓΌgbarkeit; DSP-04 β DatenlΓΆschung; IAM-01 β IdentitΓ€t und Zugriff |
ISO 27001:2022 |
A.5.12 β Klassifizierung von Informationen; A.5.13 β Kennzeichnung von Informationen; A.5.33 β Schutz von Aufzeichnungen |
ISO 27017 |
CLD.5.1 β Information security in cloud services; CLD.5.2 β Access control in cloud services |
ISO 27018 |
A.2 β Purpose legitimacy and PII protection; A.10 β Confidentiality and security of PII |
BSI C3A:2026 |
Domain β Datenhoheit; Domain β Cloud-Spezifische Anforderungen |
GAIA-X |
Sovereign Cloud β Anforderungen an Datenlokation und Transparenz |
NIST SP 800-53 |
SC-1 β Cloud computing security; SC-7 β Boundary protection; SC-8 β Transmission confidentiality |
NIST CSF 2.0 |
GV.PO β Policy; GV.RM β Risk management; GV.SC β Cybersecurity supply chain risk management |
FedRAMP |
SC-1, SC-7, SC-8 (High baseline) |
TISAX |
Information security β Data protection; Prototype protection β Sensitive data handling |
ANSSI SecNumCloud |
Domain β Data protection; Domain β Cloud security |
BIO |
BIO β Gegevensbescherming; BIO β Cloudbeveiliging |
ENS High |
ds.info.1 β Datos personales; ds.info.2 β CalificaciΓ³n de la informaciΓ³n |
UK NCSC CAF |
B3 β Understanding data; B4 β System security |
CMMC 2.0 |
SC.L2-3.13.16 β Protect CUI confidentiality at rest |
IRAP |
ISM β Data protection; ISM β Cloud security |
CCCS PBMM |
SC-7 β Boundary protection; SC-8 β Transmission confidentiality |
MAS TRM |
Ch.5 β Technology risk governance; Ch.8 β Cloud computing controls |
ISMAP |
Data sovereignty and cloud security |
FISC |
Technical measures β Data protection |