Backup and restore
Treat MongoDB (application data) and any attached volumes (assets, Git keys, stacks) as critical state.
Recommendations
- Snapshot MongoDB on a schedule appropriate to your RPO.
- Back up Docker
stacks/or equivalent persistent volumes used by the all-in-one image. - Store encryption/salt secrets separately from database dumps.
- Test restore into a non-production environment before relying on backups.
Exact tooling depends on your host (managed Mongo, volume snapshots, Velero, etc.). Align restore drills with your upgrade process.