/Import Export

❯ man spanna/core-features

Import / Export

Move JSON and CSV data into or out of MongoDB collections with Spanna import and export tools.

/docs/import-export

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

# something missing or wrong? tell us · or open a PR