Bacula Enterprise integrates directly with PostgreSQL to deliver backup and recovery across even the most demanding production environments, including high-transaction databases and large multi-database clusters that cannot afford service interruptions during backup windows.
The PostgreSQL backup software handles the full backup and recovery cycle of your PostgreSQL clusters without scripts and without interrupting cluster operations. It runs as a File Daemon plugin on the database host and captures everything the cluster needs for a clean restore, from roles and tablespaces to per-database schemas and creation scripts.
Bacula’s PostgreSQL backup tool supports Dump and PITR strategies to cover two distinct recovery scenarios. Dump mode runs pg_dump in custom or plain format across all databases or a defined subset, with object-level filtering available at both backup and restore time. This is particularly useful when you need to recover a single table or schema without touching the rest of the database.
In PITR mode, the plugin manages WAL archiving across Full, Incremental, and Differential job levels, so you can recover any cluster to an arbitrary point in time and avoid losing hours of transactions to accidental data loss, corruption, or a failed deployment.
In multi-node HA environments such as Patroni, Dump backups can connect via the cluster endpoint regardless of which node is primary. PITR and WAL-based backups, however, operate at the filesystem level on the active primary host. After a role switch, backup jobs must point to the new primary to maintain a consistent WAL archive.
