CmdID

CmdID / Commands

pg_dumpall

Extract a PostgreSQL database cluster into a script file or other archive file. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Dump all databases

pg_dumpall >path/to/file.sqlIdentify

Dump all databases using a specific username

pg_dumpall --username username >path/to/file.sqlIdentify

Dump all databases using a specific host and port

pg_dumpall --host host --port port >output_file.sqlIdentify

Dump only database data into an SQL-script file

pg_dumpall --data-only >path/to/file.sqlIdentify

Dump only schema (data definitions) into an SQL-script file

pg_dumpall --schema-only >output_file.sqlIdentify