Repository navigation
How to migrate data from old WildFly distribution to the new Quarkus one (master realm included) #19545
|
Hello everyone 👋, I've been working for several days now on the migration of a keycloak instance based on the old WildFly distribution ( I think that the problem comes from the import on the quarkus instance. I have the impression that it is impossible to import an existing master realm (even by merging it), yet it is necessary in my case to migrate from one distribution to another. I am pretty confused between the old and the new documentation and it is never mentioned how to import and override a realm. FYI my environment is a Kubernetes cluster, the 2 instances are deployed in separate namespaces. The first instance is deployed by the codecentric helm chart (image If anyone has any suggestions on what I should try or if there is a know process to do this kind of migration I'd love to hear them. Thanks in advance ❤️ |
Replies: 3 comments 9 replies
|
FWIW I managed to perfectly import everything including the master realm with As per documentation: |
|
@LucasVanHaaren I tried doing the same as you mentioned , By dumping the database of Wildfly 19.0.3 and simply restoring it on Quarkus 19.0.3 but I was not able to see any of my custom realms except for the built-in master realm in Quarkus 19.0.3. Am I missing something ? |
Yep, I finally abandoned the idea of using an export/import method like keycloak-config-cli.
I simply achieved the migration by using the same instance version (and same database version too), then dumping and restoring the database from the Wildfly one to the Quarkus one !