Top "Mongodump" questions

Mongodump is a utility for creating a binary export of the contents of a database.

Mongodump with Replica Set : how to force on secondary?

I have a strange problem with my MongoDB Replica Set backup. I have 2 servers (one primary and one secondary) and …

mongodb mongodump replicaset
mongodump error "Failed: error reading from db: EOF" (no entries in server log)

Our mongodb.conf of version 3.06 and data files only 240 MB in size. Network is reliable at this timestamps. # mongod.conf # …

mongodb mongodump
Drop all indexes from all collections in a MongoDB database using the command line

I've used mongorestore to restore a database but I'm getting an error that the index already exists when I try …

mongodb indexing mongodump mongorestore
Which one is the preferred choice Mongodump VS Mongoexport for upgrading mongoDB database?

My customer uses mongoDB 2.4 and as there are some limitations with this version, we have give them the option to …

mongodb mongodump mongorestore
Multiple databases and collections mongodump

I have something like this: dbs=$(mongo --quiet --eval "db.getMongo().getDBNames()" --host exemple.com | \ grep '"' | tr -d …

bash mongodb mongodump
How to restore gzipped Monogdb single collection?

Hye everyone, I am new to mongodb I dumped one of my collection using following command mongodump --db somedb --collection …

mongodb mongodb-query mongodump mongorestore database
how to restore a collection or collections in mongodb from an archive file?

I have created a dump in an archive file by the following command : mongodump --archive=newcollection.1.archive --db neel --collection …

mongodb mongodump mongorestore
After Mongodump, calling MongoRestore hangs

We are trying to do a simple MongoDump on a relatively small DB. our steps are simple: export drop exisiting …

mongodb mongodump mongorestore nosql
Restoring the database dump of an older version of mongo to a new version of mongo

Currently, I have an older version of mongo, i.e 2.6 running on my system. I already have my site in …

mongodb database-backups mongodump mongorestore
mongodump and mongorestore with SSL

Getting mongodump and mongorestore work with security quite troublesome. I have mongod v3.4.1 with requireSSL running at 192.168.99.100. It is IP …

mongodb ssl mongodump