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
- Posted by Kale at 01:47 am
- Permalink for this entry
- Filed under: Ruby
- RSS comments feed of this entry
- TrackBack URI
No comments
Leave a comment