mongorestore --host 127.0.0.1 --port 15000 --db my_db --drop -vvvvv my_db 2019-07-11T17:11:37.353+0300 checking options 2019-07-11T17:11:37.354+0300 dumping with object check disabled 2019-07-11T17:11:37.356+0300 will listen for SIGTERM, SIGINT, and SIGKILL 2019-07-11T17:11:37.360+0300 connected to node type: standalone 2019-07-11T17:11:37.361+0300 standalone server: setting write concern w to 1 2019-07-11T17:11:37.362+0300 using write concern: w='1', j=false, fsync=false, wtimeout=0 2019-07-11T17:11:37.362+0300 the --db and --collection args should only be used when restoring from a BSON file. Other uses are deprecated and will not exist in the future; use --nsInclude instead 2019-07-11T17:11:37.363+0300 mongorestore target is a directory, not a file 2019-07-11T17:11:37.363+0300 building a list of collections to restore from my_db dir 2019-07-11T17:11:37.363+0300 reading collections for database my_db in my_db 2019-07-11T17:11:37.364+0300 found collection my_db.base bson to restore to my_db.base 2019-07-11T17:11:37.367+0300 found collection metadata from my_db.base to restore to my_db.base 2019-07-11T17:11:37.367+0300 finalizing intent manager with multi-database longest task first prioritizer 2019-07-11T17:11:37.368+0300 restoring up to 4 collections in parallel 2019-07-11T17:11:37.369+0300 starting restore routine with id=3 2019-07-11T17:11:37.369+0300 starting restore routine with id=1 2019-07-11T17:11:37.370+0300 ending restore routine with id=1, no more work to do 2019-07-11T17:11:37.370+0300 starting restore routine with id=0 2019-07-11T17:11:37.371+0300 starting restore routine with id=2 2019-07-11T17:11:37.372+0300 ending restore routine with id=0, no more work to do 2019-07-11T17:11:37.372+0300 ending restore routine with id=2, no more work to do 2019-07-11T17:11:37.372+0300 dropping collection my_db.base before restoring 2019-07-11T17:11:37.378+0300 reading metadata for my_db.base from my_db\base.metadata.json 2019-07-11T17:11:37.379+0300 creating collection my_db.base using options from metadata 2019-07-11T17:11:37.379+0300 using collection options: bson.D{bson.DocElem{Name:"idIndex", Value:mongorestore.IndexDocument{Options:bson.M{"ns":"my_db.base", "name":"_id_"}, Key:bson.D{bson.DocElem{Name:"_id", Value:1}}}}} 2019-07-11T17:11:37.403+0300 restoring my_db.base from my_db\base.bson 2019-07-11T17:11:37.406+0300 using 1 insertion workers 2019-07-11T17:11:37.407+0300 no indexes to restore 2019-07-11T17:11:37.407+0300 finished restoring my_db.base (5 documents) 2019-07-11T17:11:37.408+0300 ending restore routine with id=3, no more work to do 2019-07-11T17:11:37.408+0300 done mongodump --host 127.0.0.1 --port 15000 --db my_db -vvvvv -o dump 2019-07-11T17:11:40.687+0300 will listen for SIGTERM, SIGINT, and SIGKILL 2019-07-11T17:11:40.693+0300 enqueued collection 'my_db.base' 2019-07-11T17:11:40.694+0300 dump phase I: metadata, indexes, users, roles, version 2019-07-11T17:11:40.694+0300 reading indexes for `my_db.base` 2019-07-11T17:11:40.698+0300 dump phase II: regular collections 2019-07-11T17:11:40.700+0300 finalizing intent manager with legacy prioritizer 2019-07-11T17:11:40.701+0300 dumping up to 1 collections in parallel 2019-07-11T17:11:40.701+0300 starting dump routine with id=0 2019-07-11T17:11:40.702+0300 writing my_db.base to 2019-07-11T17:11:40.706+0300 counted 5 documents in my_db.base 2019-07-11T17:11:40.710+0300 done dumping my_db.base (5 documents) 2019-07-11T17:11:40.710+0300 ending dump routine with id=0, no more work to do 2019-07-11T17:11:40.711+0300 dump phase III: the oplog 2019-07-11T17:11:40.711+0300 finishing dump