Mongo database backup restore #26

Merged
quoije merged 1 commits from cursor/mongo-database-backup-restore-18d0 into 2026 2025-12-21 15:11:51 -05:00
quoije commented 2025-12-21 15:09:05 -05:00 (Migrated from github.com)

Adds MongoDB backup and restore functionality to the admin page.

The implementation uses Mongo's Extended JSON streaming (.ndjson.gz files) for backups and restores, eliminating the need for external mongodump or mongorestore tools. This includes a new admin tab for creating, listing, downloading, deleting backups, and uploading a backup file for restoration with an optional "drop collections first" feature.


Open in Cursor Open in Web

Adds MongoDB backup and restore functionality to the admin page. The implementation uses Mongo's Extended JSON streaming (`.ndjson.gz` files) for backups and restores, eliminating the need for external `mongodump` or `mongorestore` tools. This includes a new admin tab for creating, listing, downloading, deleting backups, and uploading a backup file for restoration with an optional "drop collections first" feature. --- <a href="https://cursor.com/background-agent?bcId=bc-1ef3767c-0731-47d8-bbbf-c933e32368cf"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/open-in-cursor-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/open-in-cursor-light.svg"><img alt="Open in Cursor" src="https://cursor.com/open-in-cursor.svg"></picture></a>&nbsp;<a href="https://cursor.com/agents?id=bc-1ef3767c-0731-47d8-bbbf-c933e32368cf"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/open-in-web-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/open-in-web-light.svg"><img alt="Open in Web" src="https://cursor.com/open-in-web.svg"></picture></a>
cursor[bot] commented 2025-12-21 15:09:06 -05:00 (Migrated from github.com)

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Cursor Agent can help with this pull request. Just `@cursor` in comments and I'll start working on changes in this branch. <sub>[Learn more](https://cursor.com/docs/background-agent/web-and-mobile) about Cursor Agents</sub>
Sign in to join this conversation.