Want to copy data from PostgreSQL table to MongoDB collection?
Using DBToMongo, a PostgreSQL to MongoDB converter for Windows, MacOS, and Linux, you can transfer data from PostgreSQL table to MongoDB collection 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.
Copy PostgreSQL data to MongoDB
Login to PostgreSQL and MongoDB -> Choose PostgreSQL table -> Set MongoDB collection -> Export PostgreSQL data to MongoDB
Login to PostgreSQL.
Login to MongoDB.
Click “Convert From Table” at task dialog.
then show the wizard.
1. Choose source PostgreSQL table.
2. Choose destination MongoDB collection and config fields.
3. Summary.
4. Copy PostgreSQL table data to MongoDB collection.
Click “View”, See MongoDB collection data.
Copy PostgreSQL data to MongoDB in command line
Save “PostgreSQL table to MongoDB” session, then you can:
- Copy data from PostgreSQL table to MongoDB in Windows command line.
- Copy data from PostgreSQL table to MongoDB in Linux command line.
- Copy data from PostgreSQL table to MongoDB in macOS command line.
Set scheduled tasks for coping PostgreSQL data to MongoDB
You can schedule and automate this “PostgreSQL to MongoDB” conversion task by:
1) Save session and create .bat (Windows) or .sh (Linux/macOS) file.