Export multiple MongoDB collections to 1 SQL file without programming

by

Want to export multiple MongoDB collections to 1 SQL file?

Using Withdata software MongoToFile, a MongoDB SQL exporter, you can export multiple similar MongoDB collections to a single SQL file easily and fast.

  • Can run in GUI mode, Step by Step, just a few mouse clicks.
  • Can run in Command line, for Scheduled Tasks and Streams.
  • Support all MongoDB deployment types: standalone, replica set, sharded cluster, and MongoDB Atlas.
  • Support Windows, Linux, macOS.

Download MongoToFile Download MongoToFile

Export multiple MongoDB collections to a single SQL file

Login to MongoDB -> Choose MongoDB collection -> Set SQL options -> Export MongoDB to SQL

Start MongoToFile, connect to MongoDB.

export MongoDB collection to SQL file - connect to mongodb

Click “Export Similar Collections” at task dialog.

Export multiple MongoDB collections to 1 SQL file - task window

Select “SQL” file type.

Export MongoDB collections to a single SQL file - select type

1. Select MongoDB collections to export.

Extract multiple MongoDB collections to one SQL file - select collections

2. Set SQL options.

Batch dump multiple MongoDB collections to 1 SQL file - config SQL file

3. Summary.

Batch convert multiple MongoDB collections to a single SQL file - summary

4. Export multiple MongoDB collections to one SQL file.

Export multiple MongoDB collections to 1 SQL file - convert file

After exporting, you can view output SQL file.

Bulk Export MongoDB collections to a single SQL file - view SQL file

You can schedule and automate this “MongoDB to SQL” conversion task by:

1) Save session and create .bat (Windows) or .sh (Linux/macOS) file.

2) Set scheduled task.


More about MongoToFile – MongoDB to SQL Converter

Download MongoToFile for 30-day free trial Download MongoToFile