Answers for "mongorestore"

0

mongorestore

// To the original database name
mongorestore --verbose \path\dump

// To a new database
mongorestore --db databasename --verbose \path\dump\<dumpfolder>
Posted by: Guest on February-12-2021
0

mongo restore collections

mongorestore --port 27017 --db restoredTest /mydata/restoredata/test --drop
Posted by: Guest on September-09-2020
0

mongo restore collections

mongorestore --port <port> --db <destination database> <data-dump-path/database> --drop
Posted by: Guest on September-09-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language