Sunday, May 21, 2017

How to take MongoDB data Backup

In Sitecore’s xDB, MongoDB is used primarily for collecting data. Information about visitors and their interactions is written to MongoDB as flat JSON, which is then processed by an aggregation pipeline into a format that is used for reporting.

The mongodump and mongorestore utilities work with BSON data dumps.

To backup data from a mongod or mongos instance running on the same machine and on the default port of 27017, use the following command:

mongodump --out “new db location path”
 


 




1 comment:

  1. nice post! Thanks for delivering a good stuff related to Sitecore, Explination is good, nice Article
    anyone want to learn advance Sitecore online training
    Sitecore Online Training

    ReplyDelete