pg_restore -U myapp_user -d myapp_db backup.dump

Category: Self-Hosting

pg_restore -U myapp_user -d myapp_db backup.dump

Restore a PostgreSQL database from a custom-format dump

Restores a database from a custom-format pg_dump file. Supports parallel restore for large databases.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.