Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-15 00:18:14 +00:00
parent 605e1cdfd8
commit 367b1e4cb2
7 changed files with 56 additions and 23 deletions

View File

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