...
Code Block |
---|
[root@opmantek ~]# cd /data/mongodb [root@opmantek mongodb]# rm -rf * [root@opmantek mongodb]# cd .. [root@opmantek data]# ls -l | grep mongodb drwxr-xr-x 2 mongod mongod 4096 2017-04-05 17:42 mongodb |
Start MongoDB Service
...
Start MongoDB Service
Code Block |
---|
[root@opmantek ~]# service mongod start
Starting mongod: [ OK ]
[root@opmantek ~]# |
Restore The Database
Code Block |
---|
[root@opmantek ~]# mongorestore /data/mongodump |
Setup MongoDB for OMK Applicatons
Code Block |
---|
[root@opmantek ~]# /usr/local/omk/bin/setup_mongodb.pl |