Skip to content

Instantly share code, notes, and snippets.

@renkin
Created January 12, 2022 10:44
Show Gist options
  • Save renkin/a2b3658ebd82a96a5f727bedf0b38b91 to your computer and use it in GitHub Desktop.
Save renkin/a2b3658ebd82a96a5f727bedf0b38b91 to your computer and use it in GitHub Desktop.

Revisions

  1. renkin renamed this gist Jan 12, 2022. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. renkin created this gist Jan 12, 2022.
    4 changes: 4 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    # Via pgAdmin Docker Container
    docker run -e [email protected] -e PGADMIN_DEFAULT_PASSWORD=1234 -d dpage/pgadmin4

    MSYS_NO_PATHCONV=1 docker exec -i priceless_euclid /usr/local/pgsql-14/pg_restore -h host.docker.internal -U postgres -v -d $DATABASE_NAME < $PATH_TO_DUMP_FILE