mongorestore
mongorestore -d db_name /path/
mongorestore -d db_name -c collection_name /path/file.bson// To the original database name
mongorestore --verbose \path\dump
// To a new database
mongorestore --db databasename --verbose \path\dump\<dumpfolder>mongorestore --port 27017 --db restoredTest /mydata/restoredata/test --drop
mongorestore --port <port> --db <destination database> <data-dump-path/database> --drop
Also in C++:
- bash print one line until match
- teamcity set environment variable command line
- copier un répertoire et son contenu sous linux
- linux enable scroll lock
- change mode in linux
- error installed react native using npx react native init
- unzip ubuntu
- how to install pip on linux
- npm lavastore
- how to I display powershell function code
- compress folder pigz
- npm ERR! code ENOENT npm ERR! syscall rename while trying to install npm install react-native-maps --save-exact
- pause in bash
- push a single file in git
- kubectl delete pods wildcard
- raise RuntimeError('Error accessing GPIO.') RuntimeError: Error accessing GPIO.
- cut first two fields
- how to upgrade node.js
- make tarball backup of director
- mariadb install on ubuntu 20.04
- how to install rebar3
- bash equivalent of /?
- remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
- git set remote tracking branch