Rocket.Chat - SLACK alternative (with MongoDB as backend)

Docker Rocket.Chat - SLACK alternative (with MongoDB as backend)

Here is a short article on the upcoming changes regarding support for push notification for self-hosted versions of RC. Deadline has been extended from Jul 31st to Aug 14th, so be sure to have a look.

  • Like
Reactions: SynoMan
Just a short post on activating the Live Chat support feature via RC to give you more options when it comes to engaging your users and a way to give your website visitors a chance to communicate with you.

  • Like
Reactions: SynoMan
In case you ever need to restore your RC content to the same or a separate RC instance you might get into a bit of a problem with MongoDB.

Now unless you are using snapshot replication (for local or remote restore) method you will not be able to just copy paste your MongoDB content to a new mongoDB instance for example because that container will not boot up at all.

What you wanna do (if you are restoring your RC setup to a new location for example) is the following:

01. setup a new MongoDB instance
This included all the steps in this resource

02. Create a backup of your original instance using mongodump command via docker bash for MongoDB container:

Code:
mongodump --username your_username --password "your_password" --gzip --out /data/db/backup_name_of_your_choice

03. After the backup has been completed copy the folder content to a new location (as a complete folder) where your mongoDB lives.

04. Using your new mongoDB instance, connect to it again via bash and run the following command line to extract the content:

Code:
mongorestore --db db --username your_username --password "your_password" --authenticationDatabase admin --gzip /data/db/backup_name_of_your_choice/db

Keep in mind that this procedure will backup all your mongoDB databases so when restoring via mongorestore command, use the database name at the very end to tell which DB you wanna restore

Make sure to restore only the content DB and not the admin DB. Admin DB is specific for the instance and considering that the new instance is in question do not overwrite.

05. Once the restore is complete, restrart RC and connect it to a mongoDB instance that you have just restored.
Top