S
S
Schoolboy.2016-06-08 11:41:56
MongoDB
Schoolboy., 2016-06-08 11:41:56

Where are MongoDB databases stored on linux?

I can’t find a directory with mongi databases anywhere, it seems that I need to run it with --dbpath, but on debian I run it systemctl start mongod. Yet somewhere these databases are stored, but where?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
Ulrich, 2016-06-08
@viphorizon

the first link in google
Answer: in debian/ubuntu databases are stored in /var/lib/mongodb/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question