Slide 19
Slide 19 text
© EnterpriseDB Corporation 2023 - All Rights Reserved
19
● pg_dump
● plaintext dump of the database
● Can filter based on namespace, table
● Can dump a compressed/binary version as well, to save space
● Less likely to copy corruption
● pg_basebackup
● Takes a snapshot of the entire ${PGDATA} directory, includes indexes, FK
constraints, etc.
● Requires max_wal_senders, and a user with REPLICATION privilege
● Faster, but if the database is corrupt, the corruption will be copied
Backups