Migrating Keycloak Instances
Complete the following steps for each realm. There are 2 ways to do each step. One via cli and one via web ui. If you are going to use the cli options, ensure that at that step keycloak is not running. First, export the realm via cli or web gui. For the cli option use: kc export --realm (realm name) --file export.json If you want to export all realms use: kc export --file export.json Only cli can be used to import if you have exported all realms. Now transfer the exported file(s) and go to your second keycloak instance. You can try to import the realm using cli or web ui. It is easier to spot errors using cli import. ...