Moving Rocket.Chat (docker) fully to new server

now it’s just to restore from this file.

docker exec rocket-chat_mongo_1 mongorestore --archive < db.dump

Please, always do on a testing environment first.

I tried it but received this error:
2021-11-26T21:54:36.933+0000 Failed: I/O failure reading beginning of archive: EOF
2021-11-26T21:54:36.933+0000 0 document(s) restored successfully. 0 document(s) failed to restore.

It probably was not able to find the file to restore.

I did run it in a directory with both the docker-compose.yml and the db.dump file. Is there any specific way in doing it which I might be missing?