From c367d796fe55df4cf4b59bceb2792486cf094753 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Rame=CC=81?= Date: Thu, 21 Mar 2024 19:32:34 +0100 Subject: [PATCH] chore(readme): mention specificity about backup/restore of the db --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 563d75d..af80f4a 100644 --- a/README.md +++ b/README.md @@ -278,6 +278,8 @@ pg_restore -U postgres -d postgres --no-owner -v /backup.pgsql psql -U postgres -d postgres ``` +_Note: sometimes `pg_restore` will fail creating the `public` schema despite having the command to. Create it manually through DBeaver within the database and rerun the `pg_restore` command to make it successful._ + Then debug from SQL inline or use DBeaver to connect to `localhost:15432` with above credentials. Once done, stop the container and remove the downloaded `.tar.gz / .psql` files.