[keycloak-user] Importing big realms
mikolaj.buda at contractors.roche.com
Wed Nov 29 06:30:48 EST 2017
I managed to fix the problem by exporting users to separate files each 5000
and then perform a partialImport on imported realm.
On Wed, Nov 29, 2017 at 12:16 PM, Stian Thorgersen <sthorger at redhat.com>
> Please don't drop the mailing list
> On 29 November 2017 at 11:08, Buda, Mikolaj <mikolaj.buda at contractors.
> roche.com> wrote:
>> The problem is, we cannot use this Export/Import functionality as it
>> requires to restart the Keycloak. I managed to build the same json file
>> using many GET requests and now I would like to upload it on another
>> instance without restarting the application.
>> On Wed, Nov 29, 2017 at 11:00 AM, Stian Thorgersen <sthorger at redhat.com>
>>> How many users and how long time?
>>> With a large amount of users you should split the user into separate
>>> files, see http://www.keycloak.org/docs/latest/server_admin/index.h
>>> tml#_export_import for more details.
>>> On 29 November 2017 at 10:31, Buda, Mikolaj <
>>> mikolaj.buda at contractors.roche.com> wrote:
>>>> I've just created a tool that prepares a full backup of realm in json
>>>> same as during export at standalone startup). Sometime it is 60MB of
>>>> (many users). Import process takes a long time. Do you have any ideas
>>>> to speed up this process?
>>>> keycloak-user mailing list
>>>> keycloak-user at lists.jboss.org
More information about the keycloak-user