Migrate from Built-In Meteor MongoDB to External Server
Last updated
Last updated
Rocket.Chat uses the Meteor open-source framework, and the data is typically stored in MongoDB. If you want to migrate from the built-in Meteor MongoDB server to an external MongoDB server, follow the steps in this guide.
Before starting, make sure Meteor is running and follow these steps:
Run the command: mongodump -h 127.0.0.1 --port 3001 -d meteor
. This will dump the database in a folder called dump
.
Then, install Mongodb on your system.
Once Mongo is installed, restore the data using: mongorestore -d meteor dump/meteor
In this step, if you want to use a different database, change the database name. Replace -d meteor
with your desired database name.
Then follow the remainder of the guide on for your current OS.