mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-04 02:55:17 +00:00
Update cheatsheets
This commit is contained in:
@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Same as above, customize host and port:
|
||||
|
||||
`pg_dumpall -h {{host}} -p {{port}} > {{output_file.sql}}`
|
||||
`pg_dumpall {{[-h|--host]}} {{host}} {{[-p|--port]}} {{port}} > {{output_file.sql}}`
|
||||
|
||||
- Dump only database data into an SQL-script file:
|
||||
|
||||
@@ -26,4 +26,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Dump only schema (data definitions) into an SQL-script file:
|
||||
|
||||
`pg_dumpall -s > {{output_file.sql}}`
|
||||
`pg_dumpall {{[-s|--schema-only]}} > {{output_file.sql}}`
|
||||
|
||||
Reference in New Issue
Block a user