Backups and Restore
- Create backup — CLI: Database → Handle Backups → Create Backup (or
mongodumpagainst the running Mongo). Backups go to thebackups/directory. - Restore into an environment — Restore Backup picks a backup and restores into the selected stack's Mongo.
- Restore into TEST_PROD — Restore into testing stack restores into
testing_hackportal-mongo-prod. The CLI detects the running backend (prod or blue/green) and runs the password migration and optional seed there. Works with both legacy and blue-green TEST_PROD.
Always ensure the target stack is up before restoring; the CLI will prompt you to start it if the Mongo container isn't running.
Related: Migrations, CLI — Database menu