To make sure that no changes are made while exporting, currently this is done at startup.
It's initiated by setting some system properties:
For unencrypted export:
# bin/standalone.sh -Dkeycloak.migration.action=export -Dkeycloak.migration.provider=dir
-Dkeycloak.migration.dir=<DIR TO EXPORT TO>
or for an encrypted export:
# bin/standalone.sh -Dkeycloak.migration.action=export -Dkeycloak.migration.provider=zip
-Dkeycloak.migration.zipFile=<FILE TO EXPORT TO>
-Dkeycloak.migration.zipPassword=<PASSWORD TO DECRYPT EXPORT>
You can then re-import it by replacing -Dkeycloak.migration.action=export with
-Dkeycloak.migration.action=import
It'll be made easier in the future ;)
----- Original Message -----
From: "Stan Silvert" <ssilvert(a)redhat.com>
To: keycloak-user(a)lists.jboss.org
Sent: Wednesday, 21 May, 2014 7:44:49 PM
Subject: [keycloak-user] Exporting a realm
I see from KEYCLOAK-309 that exporting a realm has been implemented.
How do I actually do this? Maybe I'm just blind, but I don't see
anything in the UI. Is there a command line tool for it?
Stan
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user