Keycloak Backup
purpose and application
Use this procedure when you want to backup keycloak.
definitions
None.
steps
- stop keycloak
rcctl stop keycloak
- become keycloak user
su -s /bin/ksh -l _keycloak
- change into keycloak basedir
cd keycloak
- export realms
bash bin/kc.sh export --file ../backup/keycloak-$(date +%Y%m%dT%H%M%S)