Notion Backup
💡
This tool is a work in progress. It is not yet ready for production use, but you can use it to backup your Notion databases and pages to a local directory.
Notion Backup by SecNex (opens in a new tab) is a tool that allows you to backup your Notion databases and pages to a local directory.
Features
- Backup your Notion databases and pages to a local directory
- Restore your Notion databases and pages from a local directory
- Incremental backups
- Scheduled backups
- Email notifications
- Webhook notifications
- Web UI
- CLI
- API
- Docker
Installation
Download the latest release
docker pull ghcr.io/secnex/notion-backup:latest
Run the container
Run the container:
docker run -d --name notion-backup \
-e NOTION_API_Key=your-notion-token \
-e OUTPUT_DIR=/app/output \
-e FILTER=your-filter \
-v /path/to/data:/app/output \
-v /path/to/logs:/app/logs \
ghcr.io/secnex/notion-backup:latest
Check the logs
docker logs -f notion-backup
Configuration
Environment Variables
NOTION_API_Key
: Your Notion API key.OUTPUT_DIR
: The directory to save the backups to.FILTER
: The filter to apply to the backups.FILTER=Test
: Backup only the database or pages with or starts with the name "Test".