Skip to content

Commit

Permalink
add sh formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bryan-brancotte committed May 27, 2024
1 parent c5d362e commit 43f85e8
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 @@ -112,7 +112,9 @@ docker-compose -f docker-compose.yaml -f docker-compose.dev.yaml down --rmi all
```

## How to do a dump
```sh
docker exec -e PGPASSWORD=the_super_password $(docker ps -q) pg_dump --clean -h localhost -U postgres --format plain | sed "s/pbkdf2_sha256[^\t]*/redacted/g" > my_dump.sql
```


## How to retore a db dump
Expand Down

0 comments on commit 43f85e8

Please sign in to comment.