We had a downloaded MongoDB dump that we wanted to restore on cloud.MongoDB.com. This is how we did it:
-
Download the backup via the MongoDB web UI.
-
Unzip it. In this example we assume it unzipped to
/tmp/foo
. -
Have MongoDB installed locally, e.g. via:
brew tap mongodb/brew brew install mongodb-community
-
Start a local Mongo server: