[keycloak-user] how to make export with standalone.xml

Stan Silvert ssilvert at redhat.com
Mon Mar 5 11:53:56 EST 2018


I tried to explain how to do it in the post you cited.  Are you asking 
how to set the System (-D) properties in standalone.xml?
This should help: https://developer.jboss.org/wiki/JBossAS7SystemProperties

If you can't edit manually, you can use jboss-cli.sh to set system 
properties that will trigger the export on startup.

For instance, from jboss-cli you can issue a command like this:

/system-property=keycloak.migration.action/:add(value=export)

Stan

On 3/2/2018 5:57 PM, hmidi slim wrote:
> Due to the lack of documentation and resources to make a realm export into
> a docker container and after hours of search on the net without getting any
> solution, I found a similar question :
> *
> http://keycloak-user.88327.x6.nabble.com/keycloak-user-How-to-stop-the-keycloak-server-from-standalone-sh-td1677.html#a1682
> <http://keycloak-user.88327.x6.nabble.com/keycloak-user-How-to-stop-the-keycloak-server-from-standalone-sh-td1677.html#a1682>*
>
> Is there any link or example to make the export with some config of
> standalone.xml?
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user



More information about the keycloak-user mailing list