Skip to main content

Restore

We can use mongorestore to restore the whole database.

Caution

Make sure your new database is empty before restoring!

mongorestore -d=metahkg --uri=mongodb://<username>:<password>@localhost:<port>