Create a directory-format dump that supports parallel restore.
Section: pg_dump and pg_restore Basics
Directory format dump
bash
bash
pg_dump -h localhost -U postgres -d appdb -F d -j 4 -f /backups/appdb_dirExplanation
See summary for usage details.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing pg_dump and pg_restore Basics