Description
Using:
docker exec -i container_id sh -c 'mongorestore --archive' > ~/rocket.backups/db.dump
Does not restore conversations between users. It does restore users and any settings I had. The last entry of the mongorestore states a certain number of files failed to restore, but I haven’t figured out how to redirect the output of the above command so that I can check for errors. Any suggestions would be helpful.
Server Setup Information
- Version of Rocket.Chat Server: 7.1.0
- Operating System: RHEL 8
- Deployment Method: docker
- Number of Running Instances: 1
- DB Replicaset Oplog: Not sure what this is
- NodeJS Version: N/A
- MongoDB Version: 6.0.13
- Proxy: apache
- Firewalls involved: N/A
Any additional Information
This is a very early deployment of Rocket.Chat. The “conversations” are brief messages sent between Admin created users. So I’m also not sure if this is because of how little data is actually being restored, however I wanted some level of confirmation so I can present to leadership whether the backup method is effective. Overall this is my first time working with Mongodb and Rocket.Chat