i want to backup, update an existing rocket chat installation.
For this i installed an trainings installation to learn the neccesary steps on a separate computer.
I used Snap Deployment.
As i did backup my Training-MongoDB and did watch for the path of backup on the existant installation i did notice there is no snap directory in /var
My Trainings system saves Backup at /var/snap/rocketchat-server/common/backup
So i think its not a snap deployment on the real machine.
how do i identify the deployment method?
Server Setup Information
- Version of Rocket.Chat Server: 3.13
- Operating System: Ubuntu 18.04.5
- Deployment Method: i want to find out with this question
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version: v12.18.e
- MongoDB Version: 4.0.23
- Firewalls involved:
Please, try using docker instead of snaps.
Easier to maintain and upgrade.
please, run the command
to check if there is running containers on this server.
If you can see something like rocketchat_1 running, it’s a docker deployment.
More info on docker deployment:
thx for your reply,
docker ps → command not found
remember, there was no snap folder, so it seems to be an manual installation?
i started a new trainings environment with the goal to get a docker installation.
the question for me is, how to transfer the existing data from the existing installation to my trainings environment.
OS Ubuntu18.04.5 → Ubuntu 21.10
Rocket Chat 3.13.1 → latest version in docker
Mongo DB 4.0.23 → latest version in docker
if my trainings system is running fine and the data are transferred i know how to build a new docker instance
this is probably a manual deployment.
One thing you can do is trying the comand:
ps aux | grep rocketchat
Regarding the transfer of data, it’s basically a matter of dump and restore. If your upload is set to File System Storage type, you’ll need to copy the files too. For GRIDFS storage type, it will be inside mongodb already.
So first, you need to grant access to the MONGODB where Rocket.Chat is running.