-
Notifications
You must be signed in to change notification settings - Fork 24
restore database
Maxime Labelle edited this page Dec 19, 2023
·
8 revisions
The Postgres database can be restored using the following commands.
First, wipe and re-create an empty database from template0. Then restore the dump.
docker compose -f /opt/simplelogin/docker-compose.yaml exec postgres \
psql -U user
docker compose -f /opt/simplelogin/docker-compose.yaml exec postgres \
pg_restore -U user