PostgreSQL · Command
pg_dump
pg_dump exports one PostgreSQL database to SQL or an archive. It makes a consistent snapshot while normal reads and writes continue.
Last updated
Syntax
pg_dump [ connection-option ...] [ option ...] [ dbname ]In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
pg_restorepg_dumpallpsqlcreatedb