Backup architecture diagram: app hosts send data through collectors to Cloudflare R2 buckets, a mover copies it to IDrive e2 and Backblaze B2, and an offline machine verifies both copies

Backup Architecture

Ongoing

Backup architecture for my projects: collectors on each app's host send data to Cloudflare R2 (private data encrypted), a mover copies it to two independent providers, and an offline machine keeps another verified copy.

Highlights

  • Live data on Cloudflare R2, with separate public and private buckets per project
  • Collectors run on each app's host and encrypt private data before upload
  • A single mover copies to two independent providers, without permission to delete
  • Offline physical machine pulls both copies and verifies them with restic check
  • Per-stage heartbeat monitoring, alerting when a success signal goes missing

Stack

Database

  • Backblaze B2

    First independent backup copy

  • Cloudflare R2

    Live data, public and private buckets per project

  • IDrive e2

    Second independent backup copy

Infra

  • Gobserver (Go)

    Uptime and heartbeat monitoring with Discord alerts (future project)

  • rclone (Go)

    Copies between buckets, never syncing deletions

  • restic (Go)

    Client-side encrypted, deduplicated repositories