pg_dump: added -a and -s examples (#2856)

italian
Andrik Albuquerque 2019-03-30 18:20:05 -03:00 committed by Starbeamrainbowlabs
parent a2a2a52231
commit 0207fe045a
1 changed files with 8 additions and 0 deletions

View File

@ -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}}`