How to Back Up PostgreSQL with pg_dump and pg_basebackup on RHEL 8
PostgreSQL provides two complementary tools for database backups: pg_dump and pg_basebackup. pg_dump takes logical backups of individual databases or selected objects and can restore to a different PostgreSQL version or host. pg_basebackup takes a physical, byte-for-byte copy of the entire data directory, which is the foundation of streaming replication and point-in-time recovery. This tutorial covers […]