Skip to content

Commit

Permalink
Update um
Browse files Browse the repository at this point in the history
  • Loading branch information
b-ggs committed Dec 25, 2024
1 parent f5e7593 commit b282dac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions um/.um/pages/shell/pg_dump.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

## EXAMPLES

`pg_dump -U user -h localhost -Fc database_name > file.sql`
: Dump database `database_name` in `localhost` to `file.sql`.
`pg_dump -h localhost -U user -d database_name -Fc -f filename.dump`
: Dump database `database_name` in `localhost` to `filename.dump` (compressed)
4 changes: 2 additions & 2 deletions um/.um/pages/shell/pg_restore.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

## EXAMPLES

`pg_restore -U user -h localhost --clean -d database_name < file.sql`
: Restore contents of `file.sql` to database `database_name` in `localhost`
`pg_restore -h localhost -U user -d database_name -v --clean filename.dump`
: Restore (compressed) contents of `filename.dump` to database `database_name` in `localhost`

0 comments on commit b282dac

Please sign in to comment.