clone mongodb database to local machine
# Dump remote database to a local folder
mongodump --uri "mongodb+srv://username:password@host/mydb" --out ./myfolder
# Restore the database from the folder to localhost
mongorestore --port 27017 ./myfolder
# (Restore back to the remote)
mongorestore --host=example.com --port=27017 -u username -p password --db mydb ./myFolderdb.copyDatabase("DATABASENAME", "DATABASENAME", "localhost:27018");
Also in C++:
- github issues api
- how to edit etc/hosts linux error readonly e45
- reverse shell rubber ducky script
- linux commands
- how to create a JIRA ticket using Powershell
- git ls-files --others -i --exclude-standard
- install google chrome ubuntu
- install rosserial_python
- how to install tar.gz setup of pycharm community
- generate jks certificate
- install RHEL in vmware
- instal .deb ubuntu
- react-native init directory locked in ubuntu why
- cmd kill process by pid
- git check differences between two projects
- stremio: Depends: libfdk-aac1
- importerror cannot import name 'monitoring' from 'tensorflow python eager
- command to restart linux
- powershell print environment variables
- linux cut
- add github repo
- linux create directory with permissions
- install pecl on mac
- omni github