Skip to content

backup database

Maxime LABELLE edited this page Dec 19, 2023 · 6 revisions

The Postgres database can be backed up with the following command:

docker compose -f /opt/simplelogin/docker-compose.yaml exec postgres pg_dump -U user simplelogin >/tmp/simplelogin.sql

Clone this wiki locally