With the help of ChatGPT, I built NotyBackup, a simple and free app to automate backups of Notion databases.
I created this because I use Notion to manage my PhD research, and I wanted an automated way to back up my data in case something went wrong. With this app, you can export Notion databases as CSV files automatically.
You can deploy it on Docker or Portainer to run it on your server and schedule backups.
- 🐳 DockerHub: NotyBackup
- 💻 GitHub: NotyBackup Repo
Would love your feedback! Let me know if you have any ideas or suggestions. 💡
✅ Automated Notion → CSV exports 📄
✅ Runs as a background task – refresh the page to see results 🔄
✅ Schedule backups (intervals or specific times) ⏳
✅ Store multiple databases and manage them easily 📚
✅ Track backup history 📜
✅ One-click deletion of old backups 🗑
✅ Completely free & open-source! 💙
1️⃣ Set up your Notion API key & Database ID (instructions below) 🔑
2️⃣ Enter your Notion Database ID 📌
3️⃣ Choose a file name for the CSV 📄
4️⃣ (Optional) Set up scheduled backups 🕒
5️⃣ Click "Start Backup" – The backup runs in the background, so refresh the page to check the result! 🚀
- Go to Notion Integrations.
- Click New Integration, assign a name, and select your workspace.
- Copy the Secret API Key – you’ll need to provide this when setting up the Docker container.
- Open your database in Notion.
- In the URL, find the 32-character block that appears before
?v=
. - Copy this value and use it in the corresponding field in the app.
- Inside Notion, open the database you want to back up.
- Click on the three dots (⋮) in the top-right corner, then select Connections.
- Find your Integration Name and grant access so the app can read the data.
Run the following command to start NotyBackup as a container:
docker run -d --name notybackup \
-e NOTION_API_KEY="your-secret-api-key" \
-e DATABASE_ID="your-database-id" \
-v /path/to/backups:/app/backups \
drakonis96/notybackup