Search code examples
mongodbpostgresqlruby-on-rails-4mysqlrails-postgresql

how can I migrate the database dump of MongoDB into PostgreSQL?


I replicate the application using the database as postgresql but later on I came to know that application was using mongodb and I got the dump of the app in json format which was of mongodb.

So any help regarding to migrate the mongo db dump into postgresql will be so appreciated.

Thank you!


Solution

  • You can migrate MongoDB into PostgreSQL using MoSQL.

    Follow the github page of MoSQL. It contains the information, how you can do the migration.

    Follow the this blog post for more information