What command do I use and run?
You can dump your database and restore with bellow command
mongodb -d -o
for example my database name is tracking i have dump in dump folder
mongodb -d tracking -o dump
Restoring dump
mongorestore -d mongorestore -d tracking dump/tracking