Hoe migreer je Discourse Forum-gegevens (onderwerpen, chat en configuratie) naar een andere server

AI-generated summary

The discussion revolves around migrating Discourse forum data, including topics, chat, and configuration, to another server. rupesh seeks guidance on moving data from a public instance to an air-gapped server, noting issues with domain name changes in SQL backups. pfaffman suggests using standard backup and restore procedures, while Canapin shares a relevant documentation link. rupesh reports that after restoring the backup, login redirects to the original instance due to SSO configuration, likely from Keycloak. pfaffman points to SSO settings as the likely cause. RGJ advises against changing the forum URL during migration, emphasizing that these tasks should be handled separately.

We have a public site where we have discourse deployed and we need to take the data and restore it to the air-gapped server or/and duplicate data to another server. I am not able to simply take the backup and modify .sql to change the domain name. Is there a migration tool or guide I can use?

Just make a backup and restore it to the server.

Hello Rupesh :wave:

As pfaffman said.

There’s documentation about this:

We are deploying in Kubernetes and using keycloak as sso usng openid plugin. When we take the backup from 1 instance and restore to another, login is redirecting to instance 1 instead of instance 2.

There are a whole bunch of things that could be the issue, but my best guess is the SSO is redirecting to the other url. I would look at the SSO config rather than at discourse.

That doesn’t sound like you’re just migrating to another server. It sounds like you’re changing the URL of your forum.

My tip: do not do these two things at the same time.