1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-30 22:17:57 +01:00

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

This commit is contained in:
Andrik Albuquerque 2019-03-30 18:20:05 -03:00 committed by Starbeamrainbowlabs
parent a2a2a52231
commit 0207fe045a

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