Backup My Notion
Automated, encrypted backup solution for Notion workspaces with versioning and point-in-time recovery.
Overview
Backup My Notion was born from a real need: protecting critical business knowledge stored in Notion workspaces. After seeing teams lose months of documentation due to accidental deletions or API issues, we built a reliable, automated backup pipeline.
The service runs as a scheduled Lambda function that authenticates with the Notion API, exports all workspace content (including databases, pages, and media), compresses and encrypts the data using AES-256, and stores it in S3 with lifecycle policies for cost optimization.
System Architecture
High-Level Flow Diagram
A serverless architecture built on AWS Lambda with Step Functions for orchestration. Each backup job is an isolated execution with its own encryption context.
The Control Plane
A lightweight Go service handles workspace registration, scheduling configuration, and status reporting via a REST API.
The Data Plane
The backup pipeline uses the Notion API to recursively export content, applies AES-256-GCM encryption, and stores versioned snapshots in S3 with cross-region replication.