Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrating channels and users from standard server install to docker install #102

Open
netzih opened this issue Jul 7, 2022 · 1 comment

Comments

@netzih
Copy link

netzih commented Jul 7, 2022

Can I migrate existing users and channels (very small deployment, Maybe 7 channels, 10 users and 100 messages total) from an existing mattermost deployment?
(don't need to migrate settings or features etc. Just the actual messages and users)
This is not a docker install. Just a standard ubuntu mysql install

@kelderek
Copy link

I was in a similar situation wanting to migrate my small system installed on a standard VM with MySQL to a new system running the docker container. I was not able to get the migration to postgresql working, so I forked this project, changed docker-compose to use MySQL, and created a migration script. The script will copy the data over, set permissions, make updates to the MySQL database including access permissions and collation updates (for MySQL 8, which I was not using), and start it running in daemon mode.

I imagine by now you have worked out something, but in case anyone else is in our situation, here is the link to my fork. Hopefully it will be of use to someone as-is or as a starting place!

https://github.com/kelderek/mattermost-mysql-docker-compose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants