A
A
Andrey2018-03-26 13:46:39
MongoDB
Andrey, 2018-03-26 13:46:39

How to change data directory for mongodb?

Hello.
There was a need to change the data directory for mongodb. There are several collections, in the amount of about 5 billion documents.
Let's say the process is:

  1. stop the base
  2. move files
  3. change the config file
  4. run base

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question