Skip to main content
Import and export tools are useful for migrations, debugging, test fixtures, and handoffs.

Typical export uses

  • save a subset of documents for debugging
  • move data between environments
  • create fixtures for local development

Typical import uses

  • seed a collection from JSON
  • load corrected records back into MongoDB
  • bootstrap a local dataset from production-safe exports

Safety notes

  • verify target database before importing
  • keep backups for destructive workflows
  • use filters to keep exports focused