mongodb commands

mongo commands,

for backup:-

$ mongodump –db healyosdb –out /home/ec2-user/mongobackup/`date +”%m-%d-%y”`

mongo –version

install

wget https://repo.mongodb.org/yum/redhat/7/mongodb-org/3.0/x86_64/RPMS/mongodb-org-server-3.0.15-1.el7.x86_64.rpm

rpm -ivh mongodb-org-server-3.0.15-1.el7.x86_64.rpm

systemctl start mongod

Leave a Comment

Your email address will not be published. Required fields are marked *

Hire a server Expert to resolve the issue Now.

Hire a server Expert to resolve the issue Now.

Resolve this issue in just 5$ from https://serverexpert.io

 

You have Successfully Subscribed!

Open chat