[keycloak-user] Import realm settings without removing users

Vlasta Ramik vramik at redhat.com
Fri Apr 12 02:48:35 EDT 2019


Hey Pavel,

if you've exported users as well those should be imported during import 
as well.

When you use -Dkeycloak.migration.strategy=OVERWRITE_EXISTING the 
existing realm is erased and then imported from file/dir [1]

V.

[1] 
https://www.keycloak.org/docs/latest/server_admin/index.html#_export_import

On 4/11/19 3:49 PM, Pavel Drankov wrote:
> Hi,
>
> Is there any command-line way to import realms settings without erasing all
> the users?  If import realm settings with OVERWRITE_EXISTING, keycloak also
> removes all the users.
>
> Best wishes,
> Pavel
> _______________________________________________
> 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