Migrate rocketchat form centos 7 to new VM with docker


I tried migrate my Rocket.Chat to new VM with docker services.
I did backup db (mongodump --db rocketchat --out /my/path/
Next I downloaded and run containers from official documentation about docker-compose rocketchat (https://rocket.chat/docs/installation/docker-containers/docker-compose/)
Later I did first instalation, delete all in volume (which is described in docker-compose.yml) and I copied my backup to this volume. I’ve gone input to mango container i did mongorestore.
It works but is my method ok? And my backup didn’t copy all messeges, missing random messages…

I want use some proxy to have CA certificate, what should I use?

Server Setup Information

  • Version of Rocket.Chat Server: 0.6.3
  • Operating System: Centos 8
  • Deployment Method:
  • NodeJS Version: 8.9.4
  • MongoDB Version: 3.4.14
  • Proxy: nginx