Docs menu

Docs Operate

Updating and backups

Update Open Revoke to a new version with one command, and back up the database, the browser sessions and the encryption key.

Update

git pull
docker compose --profile https up -d --build

Drop --profile https when you use your own reverse proxy or a VPN.

Before the first release there are no migrations: on start, Open Revoke only adds missing tables and never changes existing ones, so an update that changes the schema can need an empty database.

Back up

What Why
Volume pgdata The database: people, accounts, apps, actions, audit log, encrypted secrets
Volume browser-profile Signed-in admin sessions, if you want to keep them
File .env Holds OPEN_REVOKE_SECRET_KEY; without it the stored connector secrets cannot be read

Keep the backups as safe as the server: they hold the same secrets and sessions.