Keycloak backups and restore. Patches you won’t notice.
On Premium and Enterprise, your Keycloak runs in two or more replicas on a PostgreSQL primary with a streaming replica, the database can be restored to any second of the last 30 days, and patch upgrades roll through without downtime. Starter runs one replica on a single database instance, with 7 days of restore.
Rewind your database to any second of the last 30 days
Changes are archived continuously as write-ahead log, and a full base backup is taken every night. Together they let us restore your database to the moment before a bad import or a deleted realm, not just to last night.
- Continuous WAL archiving and a nightly base backup
- Stored in the same cloud and region, in storage of your own: Azure Blob Storage on Azure, Amazon S3 on AWS
- Kept for 30 days on Premium and Enterprise, 7 days on Starter
- Restores rehearsed in a separate namespace, away from your live database
Backups cover the last 30 days: a base backup every night and the write-ahead log archived continuously in between, so the database can be restored to any moment in that window.
A new pod starts on the new version and becomes ready before an old one stops, so there are always at least as many ready pods as before. Requests keep being answered throughout.
Keycloak patch upgrades without downtime
On Premium and Enterprise, a new pod on the new version starts and becomes ready before an old one stops, so your cluster never has fewer ready pods than before. We rehearse this in CI with live traffic: a request through the gateway every 200 milliseconds during the upgrade and a rollback, and the run fails on a single failed request.
- A backup before every upgrade, and a way back
- Minor and major upgrades announced ahead, with a short window
26.8.0 → 26.8.1One pod at a time, a new one ready before an old one stopsNone26.7 → 26.8All pods together, while the database schema migratesA short window we announce ahead26 → 27As a minor upgrade, rehearsed on a staging copy firstA short window we announce aheadAlerts page our on-call, not yours
We collect metrics on JVM heap, HTTP latency and errors, login events per realm, and PostgreSQL. When something crosses a line, the alert goes to our on-call.
Our alerting sends a heartbeat every minute. If the heartbeats stop, a separate service alerts us, so a quiet night is never a broken pager.
What Premium and Enterprise put in writing
99.9% monthly uptime SLA
On Premium, and 99.95% on Enterprise. A Custom plan can agree its own SLA.
30-day point-in-time restore
Any second in the window, from nightly base backups and the WAL archive.
Announced maintenance
Minor and major upgrades get a window we tell you about ahead.
A monthly health report
A written report on your cluster every month.
About backups and upgrades
How far back can I restore?
To any moment in the last 30 days on Premium and Enterprise, or the last 7 days on Starter. Continuous WAL archiving fills the time between the nightly base backups, so a restore is not limited to last night.
Will an upgrade take my sign-in down?
Patch upgrades do not: pods are replaced one at a time and a new one is ready before an old one stops. Minor and major upgrades migrate the database schema, so they need a short maintenance window that we announce ahead.
Can an upgrade be undone?
Yes. We take a backup before every upgrade. A patch upgrade can be rolled back to the previous version; after a schema migration, rolling back means restoring that backup.
What uptime do you commit to?
Premium comes with a 99.9% monthly uptime SLA and Enterprise with 99.95%. Starter is best effort, with no uptime SLA. A Custom plan can agree its own SLA.