Skip to content

Commit

Permalink
chore(readme): mention specificity about backup/restore of the db
Browse files Browse the repository at this point in the history
  • Loading branch information
sneko committed Mar 21, 2024
1 parent ae9dccc commit c367d79
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c367d79

Please sign in to comment.