Skip to content
Discussion options

You must be logged in to vote

I may be wrong, but I think the export / import route is better documented since it's Keycloak specific and is likely meant to be a more customizable approach to doing things, as well as portable from one version to another.

For example, you can have a realm template where you can add placeholders that are updated via a script before importing it into Keycloak. We use this to quickly bootstrap a Keycloak instance for some webdev environments, where we can automatically create a realm, client, LDAP connection / local users, and so on.

Strictly for backup purposes, I don't think there's anything wrong with just using SQL dumps, as this is basically standard practice for database operations.…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lkiesow
Comment options

Answer selected by lkiesow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants