Question

I am using a NoSQL database (MongoDB), and I want to back up a relational database (SQL, MySQL) into a NoSQL database...

I have read the manual inside & out - I read no reference on how to do so...

How can that be done? Can you show an example?

Was it helpful?

Solution

Try MongoVUE. This tool allows to migrate all your MySQL data to MongoDB; I used it so many times. Click here to download it.

If the above link does not work, copy paste http://www.mongovue.com/downloads/ into the browser.

OTHER TIPS

You will need to write a script (I suggest Python for that) that connects to the RDBMS you wish to back up, creates a meaningful document out of the rows (or better yet, the objects you represent in said database) and then inserts them into MongoDB.

While migrating any relational database to a NoSQL database, we need to define an agenda like Extract, Transform and Load (ETL), and for ETL to work we need to understand it first. ** Agenda:

-Migration Roadmap

-Schema Design

-Application Integration

-Data Migration

-Operational Considerations

-Resources to get started.

** You can get a clear idea about the migration process from the below images:

Enter image description here

Enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top