Where is the database folder? - You should be able to find the location in the configuration file : /etc/mongod.conf grep dbPath /etc/mongod/conf grep??? -grep searches for PATTERNS in each FILE. PATTERNS is one or patterns separated by newline charactors, and grep prints each line that matches a pattern. If the default path is not given, mongo saves the data in the root directory as printed when grep dbPath /etc/mongodb/conf shows : dbPath: /var/lib/mongodb otherwise, I can set a default path to save the data. from Mongodb : If you want mongod to store data files at a path other than /data/db you can specify a dbPath . The dbPath must exist before you start mongod . If it does not exist, create the directory and the permissions so that mongod can read and write data to this path. For more information on permissions, see the security operations documentation. source : https://askubuntu.com/questions/982673/where-is-mongo-database-folder-on-the-