For the past few days i’ve been trying to backup my mongodb machine using mongodump.
The dump itself works just fine but when restored to a different machine to make sure the db was backed up fully I see that the users and all the settings were not moved.
My questions are as follows:
1.Is there a way to fully mongodump a db with all its users/roles/configs so after the restore I’ll basically have the same db to work on?
2.Where are the users and roles file/config located at?
3.Am I doing the backup restore correctly or is there a better way to do so?