jeudi 30 avril 2015

MongoDump Command Not Found on AWS EC2 Instance

Inside AWS EC2 Instance, I am trying to import my MongoLab hosted Database using mongodump command.

sudo mongodump -h dsXXXX.mongolab.com:xxxxx -d testDB -u XXXXX -p YYYYYYY -o dumpmongolabs

I get the following error -bash: mongodump:command not found

I had installed MongoDB like this

echo "[10gen]
name=10gen Repository
baseurl=http://ift.tt/JvOSFo
gpgcheck=0" | sudo tee -a /etc/yum.repos.d/10gen.repo

sudo yum -y install mongo-10gen-server mongodb-org-shell

What are we missing exactly? Cheers and Thanks in Advance.




Aucun commentaire:

Enregistrer un commentaire