mongodump.exe and mongorestore.exe files are missing
Asked Answered
S

1

9

Yesterday I reinstalled Windows 10 on my PC and downloaded and installed the current version of MongoDB Enterprise from the MongoDB website. After installing MongoDB, it works fine. But the mongodump.exe and mongorestore.exe files are missing in the C:\Program Files\MongoDB\Server\4.4\bin directory. So, I cannot restore my previous database and continue my work. Am I doing anything wrong? How can I get those files back so that I can restore my previous database?

Splendent answered 2/4, 2021 at 11:17 Comment(3)
Which version have you installed? quick will be get mongodb.com/products/compass and follow docs.mongodb.com/compass/current/import-exportTailband
Can you check which folder has mongo.exe ?Tailband
I installed enterprise-4.4.4 The folder C:\Program Files\MongoDB\Server\4.4\bin has the mongo.exe fileSplendent
L
27

Starting with Mongo 4.4 the database tools are not part of the MongoDB Server package anymore.

You have to download MongoDB Database Tools separately from https://www.mongodb.com/try/download/database-tools

Lassalle answered 2/4, 2021 at 12:25 Comment(3)
Thank you. I thought I was doing something wrong. Didn't know that the Database Tools were separated.Splendent
these tools don't contain mongorestore. How to use them?Audette
@StepanYakovenko They do, have a careful look.Lassalle

© 2022 - 2024 — McMap. All rights reserved.