Skip to content

HOWTO: Set Up pgBackRest Backup for PostgreSQL

pgBackRest is the backup foundation for all HybridOps PostgreSQL HA clusters. This HOWTO covers stanza initialisation, repository type selection (POSIX filesystem or S3-compatible object storage), WAL archiving configuration, retention policy, and the execution of a baseline full backup. You will also learn how to read pgBackRest info output as structured run records and how the backup pipeline integrates with the module-managed DR rehearsal workflow.

What this covers:

  • pgBackRest stanza initialisation and repository configuration for POSIX and S3-compatible storage
  • WAL archiving setup and verification: confirming archive_mode, archive_command, and first WAL push
  • Baseline full backup execution and pgBackRest info output as structured DR run records

Learn this in Academy: Disaster Recovery Automation track