mongodb - Import to MongoLabs DB service hosted on Bluemix -


looking way import data command line. have mongolab db in ibm bluemix environment, , want import data db. have installed mongodb server package, have access mongoimport command. expecting issue command looks this:

mongoimport --h hostname_on_ibm_bluemix --db calendar --collection users --file users.json --jsonarray

is possible? how determine hostname in bluemix environment?

when connecting instance of mongolab on bluemix, talking account on mongolab bluemix interfaces with. bluemix not host data - mongolab , talks bluemix. click on mongolab service in bluemix , see button opens mongolab website.

your best bet accomplishing 1 of many methods documented in mongolab documentation on migrating data. create 2nd instance of mongolab in bluemix , interface between them using mongolab methods - included in methods command line interface can use.

i hope makes sense - if not, comment below. thanks


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -