mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-10 11:29:59 +03:00
pg_dump: added -a and -s examples (#2856)
This commit is contained in:
parent
a2a2a52231
commit
0207fe045a
@ -17,3 +17,11 @@
|
||||
- Dump a database into a custom-format archive file:
|
||||
|
||||
`pg_dump -Fc {{db_name}} > {{output_file.dump}}`
|
||||
|
||||
- Dump only database data into an SQL-script file:
|
||||
|
||||
`pg_dump -a {{db_name}} > {{path/to/output_file.sql}}`
|
||||
|
||||
- Dump only schema (data definitions) into an SQL-script file:
|
||||
|
||||
`pg_dump -s {{db_name}} > {{path/to/output_file.sql}}`
|
||||
|
Loading…
Reference in New Issue
Block a user