I'm trying to transfer Meteor app or just its MongoDB between different VPS providers.
I tried this - Best way to migrate data between two linux VPS and redeployed app to new VPS. I got an empty app so now I'm trying to find a way to move MongoDB too.
Also found this - Migrating from Meteor Hosting (.meteor.com) to my own VPS but don't know how to apply this to a production app on Digital Ocean.
Looking for any advice on this, thanks.
只需在第一个VPS上发出mongodump
命令,然后将其创建的文件复制到其他VPS,然后运行mongorestore
命令即可。
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.