D
D
Dmitry Prilepsky2020-09-26 19:42:04
MongoDB
Dmitry Prilepsky, 2020-09-26 19:42:04

How to run mongorestore command in windows?

I’ll make a reservation right away that I have never worked with mongodb through windows. I need to upload a dump. On linux, I did it with the command

mongorestore --db=parsers --nsInclude="*.bson" dump path
In windows, the same command gives an error
"mongorestore" is not an internal or external
command, operable program, or batch file.

How can I run this command under windows?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
vreitech, 2020-09-26
@fzfx

specify the full path to the executable file.

G
ggruno, 2020-09-27
@ggruno

Run the command while in the directory of the executable file

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question