Kale Davis / 48 posts / 58 comments / feed / comments feed

Exporting Data From MongoHQ

Recently I started to use MongoHQ to host a MongoDB that I am using for a side project. I am using their free plan, but I would recommend them to anyone as it is very easy to setup and fast.

Last week I needed to get a copy of the database and although I could write some code to do it, I figured there had to be an easy way. Searching didn’t help, so I posted a question on the MongoHQ support site and within an hour had a response from Jason.

The article has more details, but the basic command is:

mongodump -h temple.mongohq.com:27043 -d database_name -u username -p password -o location_to_copy_to

No comments

Leave a comment