- Print
- DarkLight
- PDF
MongoDB Configuration
- Print
- DarkLight
- PDF
In this section, you can learn the following about configuring MongoDB with your Rocket.Chat workspace:
Connect Rocket.Chat and MongoDB instance with a connection string URI.
Backup and restore MongoDB to maintain backups of your Rocket.Chat data.
Set additional driver options for MongoDB.
Configure a MongoDB replica set to improve data availability and performance.
Migrate the data from the built-in Meteor MongoDB server to an external MongoDB server.
Make sure that you are using the supported database versions.
When deploying MongoDB, it is crucial to secure MongoDB instances and close all MongoDB ports from public access. Unsecured instances can lead to significant security vulnerabilities. Your vigilance in these practices is essential for maintaining the integrity and safety of your systems.