Exporting data from Coronium to JSON

Hello!

Is it possible to export data from a coronium server? 

I view the contents through Genghis: http://xxxx.eu-west-1.compute.amazonaws.com/mongo/genghis.php/servers/localhost, but I can’t find any option for exporting.

On sql buddy I’m unable to find my tables.

Thank you

No, you cannot export your Mongo data as json within the Coronium Genghis dashboard. In our case, we build a simple Corona app, that generate json file for our objects. One of the advantage we have with this method is that we can generate various json file based on different query criteria.

Hope this help you

Ok, thank you. This wasn’t the answer I was waiting for but I imagine it can work for me. :wink:

Hi,

You should also have access to this command line tool if you’re logged in via SSH, but you need to use sudo on all the commands.

For exporting JSON: https://docs.mongodb.org/v2.6/reference/program/mongoexport/#bin.mongoexport

Some other useful import/export tools: https://docs.mongodb.org/v2.6/core/import-export/

Cheers.

No, you cannot export your Mongo data as json within the Coronium Genghis dashboard. In our case, we build a simple Corona app, that generate json file for our objects. One of the advantage we have with this method is that we can generate various json file based on different query criteria.

Hope this help you

Ok, thank you. This wasn’t the answer I was waiting for but I imagine it can work for me. :wink:

Hi,

You should also have access to this command line tool if you’re logged in via SSH, but you need to use sudo on all the commands.

For exporting JSON: https://docs.mongodb.org/v2.6/reference/program/mongoexport/#bin.mongoexport

Some other useful import/export tools: https://docs.mongodb.org/v2.6/core/import-export/

Cheers.