Skip to content

Instantly share code, notes, and snippets.

@vseow
Created August 7, 2015 22:39
Show Gist options
  • Save vseow/a78b643bf30ee11583fc to your computer and use it in GitHub Desktop.
Save vseow/a78b643bf30ee11583fc to your computer and use it in GitHub Desktop.
Run mongorestore on Remote Target
mongorestore --host [IP/HOSTNAME] --port [PORT] --db [DB_NAME] --username [USER] --password [PASS] --collection [COLLECTION_NAME] dump/db/col.bson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment