Guides / Compare / Barman

SafeGrd vs Barman

Barman, maintained by EDB, is a backup server for PostgreSQL: one host pulls physical base backups and streams WAL from many clusters, with point-in-time recovery and a retention policy for each. SafeGrd runs on the host beside each database, takes logical backups of PostgreSQL and more, and restores them on a schedule to test them.

FeatureSafeGrdBarman
Scheduled restore testsYesNo
Tables and row counts checked after restoreYesFiles checked against the manifest
Console, alerts and a status badgeYesNo
Encrypted before uploadYesOpt-in GPG, from 3.14
Every backup written under Object LockYesThe bucket's default lock applies
Each backup uploads only what changedYesYes
Restore one table into a running databaseYesNo
Restores into a newer PostgreSQL major versionYesNo
MySQL, MongoDB, SQLite, files, mailboxes, WordPress sites and Laravel appsYesNo
Signed record you can verify offlineYesNo
A locked snapshot before an AI agent’s destructive commandYesNo
One server backing up many clustersNoYes
Point-in-time recoverySelf-hosted PostgreSQL and SQLiteYes
Price$15/moFree, GPL 3.0

Barman is the better fit when you run many large PostgreSQL clusters and want one backup server for all of them, with physical backups that restore a whole cluster and WAL streamed to it continuously. Running both works: SafeGrd needs only a read-only role and can read from a replica (Databases), which gives you a tested logical copy, with the schema's roles, owners and grants, next to Barman's physical one.

Why teams add SafeGrd

Barman details come from its documentation (version 3.19) and release notes.

Sources