Want to batch export MongoDB collections to XML files?
Using Withdata software MongoToFile, a MongoDB XML exporter for Windows, MacOS, and Linux, you can export MongoDB collections to XML files in a batch, 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.
Download MongoToFile
Windows 64 bit
Windows 32 bit
Linux .deb (For Debian, Ubuntu) 64 bit
Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit
MacOS 64 bit
Export MongoDB collections to XML files in a batch
Login to MongoDB -> Select MongoDB collections -> Set XML options -> Export MongoDB to XML
Start MongoToFile, connect to MongoDB.
Click “Export All Collections” at task dialog.
then show the wizard.
Select “XML” file type.
1. Select MongoDB collections to export.
2. Set XML options.
3. List collections to be exported.
4. Summary.
5. Batch export MongoDB collections to XML files.
After exporting, you can view output XML files.
Batch export MongoDB collections to XML files in command line
Save “MongoDB to XML” session, then you can:
- Bulk export MongoDB collections to XML in Windows command line.
- Bulk export MongoDB collections to XML in Linux command line.
- Bulk export MongoDB collections to XML in macOS command line.
Set scheduled tasks for batch exporting MongoDB collections to XML files
You can schedule and automate this “MongoDB to XML” conversion task by:
1) Save session and create .bat (Windows) or .sh (Linux/macOS) file.