Restore DB not working with LDAP users

I’m trying to do a mongorestore from a snap install to a docker install.

I have the vanilla docker instance up and running and the mongorestore seems to succeed just fine

However, when I go to login, the server settings haven’t been migrated (is this a separate file?). Since I use LDAP users, I need this to happen.

When I manually setup the LDAP config again, my users can login, but none of their messages and uploads or any of the channels/teams have been restored. Am I missing something?

The Server version is 5.4.5

Hello, can you describe how you made mongorestore on snap and uploaded to docker installation.
Thank you