简体   繁体   中英

Migrating MongoDB from localhost to server

I completed development of a web application for my university doing everything on localhost . Now I want to migrate the backend and the MongoDB to the stakeholder's (my university) server environment. I tried finding different ways to do so but I haven't found a solution. Please help me in resolving this. Any links and working examples or videos would help a lot.

Tech stack used for backend:
1. NodeJS
2. MongoDB
3. google maps client api

I would suggest using a database software interface like Studio 3T, Robot3T or any others that have a backup and/or export and/or import feature.

If you have access to the machine and can install tools for MongoDB there are some terminal tools to do this.

Mongo Import https://docs.mongodb.com/manual/reference/program/mongoimport/

Mongo Export https://docs.mongodb.com/manual/reference/program/mongoexport/#bin.mongoexport

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM