Wednesday, 14 September 2016

Easy way to create dump of mongodb database Raw

Dump from MogoDB server :)


Below method are used for creating dump of mongodb database..

mongodump --host xxx.xxx.xx.xxx --port xxxx --out /home/enbake/Documents/

mongodump --host [localhost] --port [portno] --out /home/enbake/Documents/

Below method are used for restore dump into local mongodb database..

mongorestore -d mydatabase /home/enbake/Documents/mydatabase_backup

mongorestore -d [local-database-name] [path-of-dump-folder]

view raw mongodump.md hosted with ❤ by GitHub

No comments:

Salesforce CRM vs. Zoho: A Comparative Analysis

Introduction: Selecting the right customer relationship management (CRM) software is crucial for businesses seeking to streamline their sal...