Backup Policy

CategorySecurity
Version1.0
StatusApproved
Approved2026-03-25 by Mishkin Berteig
Next Review2027-03-25
IDPOL-4
Document versionpolicies/backup.md at commit 9c72db400a23 (SHA-256 cbfa22d88149)

Linked Controls

Backup Policy

Purpose

This policy establishes backup requirements for all MaxGood.work production data stores, ensuring data can be recovered following accidental deletion, corruption, or disaster.

Scope

All production data stores including databases, file storage, and configuration data.

Backup Plan

All production data stores must have automated backups enabled:

System Backup Method Frequency Retention
RDS PostgreSQL AWS automated snapshots + point-in-time recovery Continuous (transaction log) + daily snapshot 30 days
RDS PostgreSQL (pre-migrate) Manual snapshot taken by the MaxGoodApp pipeline's ProdMigrate stage Every production migration: taken before its first change, complete before the release is deployed 7 days
S3 Versioning on the production data and media buckets; no cross-region replication Continuous (every object change) Indefinite (versioned)
ElastiCache Redis No automated snapshots (data is ephemeral cache/session data) N/A N/A
CodeCommit Distributed git (inherent) Every push Indefinite
Decision logs Git commits to MGDataAndEvidence Per session Indefinite
Easypanel host: AFFiNE volumes (storage, config) Easypanel volume backups to /var/lib/easypanel/backups/ on the instance's disk Daily at 02:00 and before every update Kept on the instance's disk
Easypanel host: AFFiNE Postgres database Easypanel database backup to /var/lib/easypanel/backups/ On demand before every update Latest 3 (Easypanel retention setting)
Easypanel host: n8n data Easypanel volume backup to /var/lib/easypanel/backups/ Daily at 02:00 and before every update Kept on the instance's disk
Easypanel host: Apache Tika None (stateless) N/A N/A

Backup Retention

Backup Storage

Storage Location

Encryption

All backups are encrypted:

Access Control

Restore Testing

Annually

After Major Changes

Test Criteria

A restore test passes when:

  1. The backup restores without errors
  2. Data integrity is verified (application can read and operate on restored data)
  3. Restore completes within the defined RTO for that system
  4. No data loss beyond the defined RPO for that system

← Back to Policy Library