If you're starting with a fresh database that will work. You can also keep the existing database as Keycloak will automatically update the schema for you.

Obviously make sure you backup first

On 7 January 2016 at 09:13, Pavel Maslov <pavel.masloff@gmail.com> wrote:
Hi guys,


I would like to migrate from 1.3.1 to the latest version. Will it be possible to just export a json file at Keycloak boot and then import it in the same way for the new version?

1.3.1 :  $ /opt/jboss/keycloak/bin/standalone.sh -Dkeycloak.migration.action=export -Dkeycloak.migration.provider=singleFile -Dkeycloak.migration.file=kc_1.3.1.json

1.7.0 :  $ /opt/jboss/keycloak/bin/standalone.sh -Dkeycloak.import=kc_1.3.1.json


Will this work?

Thanks!



Regards,
Pavel Maslov, MS

_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user