Private chat data exporting


Hi, I’d like to know if there is any way to export chat data, to other platforms or just a simple text file? I have a lot of private chat data and it would take a long time to copy and paste it by hand. Thank You

Server Setup Information

  • Version of Rocket.Chat Server:
  • Operating System:
  • Deployment Method:
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version:
  • Proxy:
  • Firewalls involved:

Any additional Information


If you have access to the MongoDB, you can extract all those data. No need to copy it manually.

First, thanks a lot for replying. Second, if there is some kind of script needed for mongo db, maybe you can tell me where to find it? If not then perhaps you can explain the steps needed to extract this data? Much appreciated


The exact command will depend on how you have deployed your Rocket.Chat

But any generic dump command for MongoDB should give you the steps to adapt and use it in your own deployment.