pg_dumpall
Verified for current stable LTS
Pg Dumpall Command: Dump Only Database Data
Use for dump only database data with Pg Dumpall. Exact CLI syntax to dump only database data using Pg Dumpall.
When to use this: Use for dump only database data with Pg Dumpall.
Command Syntax
pg_dumpall -a > <path/to/file.sql> pg_dumpall -a > <path/to/file.sql> Command Breakdown
-a- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to dump only database data using Pg Dumpall.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Pg Dumpall Command: Dump All Databases
pg_dumpall > <path/to/file.sql> Pg Dumpall Command: Dump All Databases Custom Host Port pg_dumpall -h <host> -p <port> > <output_file.sql> Pg Dumpall Command: Dump All Databases Specific Username pg_dumpall -U <username> > <path/to/file.sql> Pg Dumpall Command: Dump Only Schema Data Definitions pg_dumpall -s > <output_file.sql> Bun Publish Command: Publish Scoped Package With Access bun publish --access <public|restricted>