- stop chat server
- dump the database:
mkdir mongo_rocketchat_db_dump; mongodump -d rocketchat -o mongo_rocketchat_db_dump
- move mongo_rocketchat_db_dump folder to the new server
- restore from backup:
mongorestore ./mongo_rocketchat_db_dump