How to Back Up PostgreSQL with pg_dump and pg_basebackup on RHEL 9
PostgreSQL provides two complementary backup tools: pg_dump for logical backups of individual databases (SQL statements that can be restored to any PostgreSQL version) and pg_basebackup for physical backups of the entire database cluster (exact byte-for-byte copy of the data directory, used for streaming replication setup and point-in-time recovery). pg_dump is the right tool for most […]