I have Rocket.Chat running inside of Docker Swarm (stack file). I have an old RC, and I built a new RC. I want to move all the messages, and channels from the old RC to the new RC. I just want the messages and channels nothing else.
Can I just take the messages/channel files from the old RC and upload them to the new RC? Also, is there any other files I need to -out for just messages and channels
From Rocket.Chat Folder
rocketchat_message.metadata.json
rocketchat_message.bson
rocketchat_room.metadata.json
rocketchat_room.bson
From the Metaor Folder
rocketchat_message.bson
rocketchat_message.metadata.json
rocketchat_message_read_receipt.bson
rocketchat_message_read_receipt.metadata
rocketchat_room.bson
rocketchat_room.metadata.json
I got these files by running this in my mongo container.
mongodump --db rocketchat --out /var/backups/mongobackups/
mongodump --db meteor --out /var/backups/mongobackups/
mongodump --db admin --out /var/backups/mongobackups/