Backup PostgreSQL Database
Dump a PostgreSQL database to a compressed file with pg_dump.
Dumps a PostgreSQL database to a compressed file using pg_dump with gzip. The -Fc format is more efficient but requires pg_restore; plain SQL is more portable.
When you need this: Before migrations, upgrades, or on a scheduled backup cron job.
Variables
Command
7 views
0 copies
Related in this category
Log in to save
Free account. Save snippets into your own collections.