Most teams find out what their database backup solution really does on the day they need a restore. The job history is green, then the restore fails: the WAL archive has a gap, the encryption key is gone, or the "backup" was a nightly dump that cannot replay to 14:05. This guide lists the database backup solutions that teams use as of November 2026 across PostgreSQL, MySQL, MongoDB, SQL Server, managed cloud databases, and enterprise backup platforms. Each one gets what it is, where it fits, its limits, its licence or billing model, and a source.
The list is grouped by engine and platform, not ranked. Start with the criteria section. A tool can only be judged against the recovery you need, and that is different for a 50 GB billing database than for a 20 TB event store.
- Judge every option on six things: physical or logical, point-in-time recovery (PITR), encryption, immutability or air gap, restore testing, and the RPO and RTO it can really meet.
- PostgreSQL: pgBackRest 2.60.1, Barman 3.21.0, and WAL-G v3.0.10 are all current as of November 2026, and all three do physical backups plus WAL archiving for PITR.
- MongoDB:
mongodumpis a logical export with sharded-cluster caveats. Percona Backup for MongoDB 2.17.0 adds oplog-based PITR and consistent sharded backups. - Point-in-time restores on Amazon RDS and Cloud SQL create a new instance, not an in-place rollback. Plan the cutover as part of your RTO.
- Immutability now comes built in: AWS Backup Vault Lock in compliance mode, logically air-gapped vaults, and Azure immutable vaults can all block early deletion.
Scope and review date: November 2026. This post covers self-managed PostgreSQL 14 to 19, MySQL 8.4 and 9.7, MongoDB replica sets and sharded clusters, SQL Server 2022 and later, Amazon RDS, Google Cloud SQL, Azure Backup, and the database support of Veeam, Commvault, and Rubrik. Versions and features were checked against vendor documentation, release pages, and GitHub release data on 25 November 2026. The commands were checked against the documentation and were not run in a lab, so rehearse them on a staging system first. This post contains no prices, because none of the vendors here publishes one we could cite for this comparison.
What should a database backup solution do?
Before you compare tools, write down what a restore has to achieve. Six criteria separate the options. Our guide to RTO, RPO, and recovery planning covers how to set the targets themselves; this section covers how to test a tool against them.
- Physical or logical. A physical backup copies data files and restores without rebuilding indexes. A logical backup exports rows and DDL, so it is portable across versions but slow to restore at size. The PostgreSQL manual states that
pg_dumpoutput is logical and "cannot be used as part of a continuous-archiving solution" (PostgreSQL continuous archiving). - Point-in-time recovery. PITR needs a base backup plus a continuous log stream: WAL for PostgreSQL, binary logs for MySQL, the oplog for MongoDB, and transaction log backups for SQL Server. Without it, your RPO is the gap between backups.
- Encryption. Check where encryption happens (client side or storage side) and where the key lives. A backup without its key cannot be restored.
- Immutability and air gap. Ransomware and compromised admin accounts delete backups first. Look for write-once retention that even an administrator cannot shorten, and for a copy in a separate account or vault.
- Restore testing. A tool should make a scheduled restore easy to script and easy to check. The proof is a restored database that passes your checks, not a successful backup job.
- RPO and RTO in practice. RPO depends on how often logs ship. RTO depends on restore throughput, log replay time, and how long it takes to repoint the application.
Three kinds of database backup, side by side
Switch tabs to compare how each one restores
Physical + log archive
| Criterion | Physical backup with log archiving |
|---|---|
| Examples | pgBackRest, Barman, WAL-G, XtraBackup, PBM physical |
| Point-in-time recovery | Yes, by replaying archived logs |
| Restore speed at size | Bounded by file copy and log replay |
| Version portability | Same major version only |
| Single-table restore | Restore elsewhere, then extract |
Logical dump
| Criterion | Logical dump |
|---|---|
| Examples | pg_dump, mydumper, mongodump, PBM logical |
| Point-in-time recovery | No, except PBM logical with oplog slices |
| Restore speed at size | Slow: rows reload and indexes rebuild |
| Version portability | Good across major versions |
| Single-table restore | Direct |
Managed snapshot
| Criterion | Managed cloud snapshot |
|---|---|
| Examples | RDS automated backups, Cloud SQL backups, AWS Backup |
| Point-in-time recovery | Yes, within the retention period |
| Restore speed at size | New instance; RDS volumes then load from S3 in the background |
| Version portability | Tied to the managed engine |
| Single-table restore | Restore elsewhere, then extract |
Rule of thumb: production recovery needs a physical or managed backup with log replay. Keep logical dumps as a second copy for portability and single-table restores.
Which open source tools back up PostgreSQL?
Three projects cover most self-managed PostgreSQL physical backups. All three take base backups, archive WAL, and restore to a point in time. Our Barman vs pgBackRest vs WAL-G comparison goes deep on architecture and Kubernetes operators, so this section only gives the listing view.
pgBackRest
What it is: a backup and restore tool for PostgreSQL with full, differential, and incremental backups at file or block level, parallel compression, and repository encryption. Repositories can be local, on a remote host over SFTP, or in S3, Azure, or GCS compatible object stores (pgbackrest.org). The current release is 2.60.1, dated 16 November 2026.
Best fit: large clusters where restore time matters, and teams that want one repository format across hosts. Limits: each cluster needs its own stanza and repository settings, and a remote repository host is one more server to protect. Licence: MIT. Our pgBackRest guide covers setup in detail.
# Verify the repository and archiving, then take an incremental backup
sudo -u postgres pgbackrest --stanza=main check
sudo -u postgres pgbackrest --stanza=main --type=incr backup
sudo -u postgres pgbackrest infoInterpretation: check confirms that WAL archiving reaches the repository. If it fails, PITR is already broken, whatever the backup list says.
Barman
What it is: Backup and Recovery Manager, a backup server that manages hot backups and recovery for several PostgreSQL servers from one place (pgbarman.org). It is developed under EnterpriseDB. Version 3.21.0 was released on 17 November 2026.
Best fit: teams that want a central backup host with a catalogue of backups across many servers. Limits: you run and protect the backup server itself. Licence: GPL-3.0, per the project's GitHub repository.
barman check pg-main
barman backup pg-main
barman list-backups pg-mainInterpretation: barman check reports each prerequisite (WAL archiving, replication slot, retention policy) as OK or FAILED. Alert on any FAILED line, not only on failed backup jobs.
WAL-G
What it is: an archival and restore tool that pushes base backups and WAL straight to object storage: S3, Google Cloud Storage, Azure, Alibaba OSS, Swift, SSH, or a file system. It supports libsodium and OpenPGP encryption (WAL-G on GitHub). v3.0.10 was released on 17 November 2026 and added a wal-send command that serves WAL from object storage over the streaming replication protocol.
Best fit: cloud-first teams with no backup host who want one tool across several engines. The README also lists MySQL/MariaDB and SQL Server, with MongoDB and Redis marked beta. Limits: configuration is mostly environment variables, and the beta engines need extra testing. Licence: Apache 2.0, with LZO support under GPL 3.0+.
wal-g backup-push "$PGDATA"
wal-g backup-listInterpretation: backup-list shows each base backup with its start WAL segment. The oldest one you keep sets how far back PITR can go.
pg_basebackup --incremental works only with server version 17 and later, and an incremental backup "cannot be used directly": pg_combinebackup must first merge it with the backups it depends on (pg_basebackup reference). It is useful, but it does not replace retention, encryption, or repository management.
Which tools back up MySQL?
MySQL has one physical option per licence model plus a fast logical dumper. A separate post covers MySQL backup tools in depth, so this is the short list. For PITR on top of any of them, see our binlog point-in-time recovery guide.
Percona XtraBackup
A hot physical backup tool for MySQL-based servers. Its release series follow the server series: XtraBackup 8.4 supports MySQL 8.4 and does not support 8.0 or 9.x servers, and XtraBackup 9.7 (9.7.2-2) supports MySQL 9.7 and not 8.0 or 8.4 (XtraBackup 9.7 docs). Match the series to your server. Licence: GPLv2. See our XtraBackup production guide.
xtrabackup --backup --target-dir=/backups/base
xtrabackup --prepare --target-dir=/backups/baseInterpretation: a backup is not restorable until --prepare has applied the redo log. Run the prepare step in your restore test, not only at restore time.
MySQL Enterprise Backup
Oracle's hot backup tool, with incremental and differential backup, selective backup and restore, direct cloud storage backup, encryption, and compression. It is part of MySQL Enterprise Edition, "available to subscribers under a commercial license" (MySQL Enterprise Backup 8.4). Best fit: teams already paying for Enterprise Edition.
mydumper
A community-maintained logical backup tool: mydumper exports in parallel threads and myloader imports in parallel. The project states it is "not a Percona, MariaDB or MySQL product" (mydumper on GitHub). The latest release is v1.0.19-1 (5 November 2026). Licence: GPL-3.0. Best fit: migrations, selective restores, and a portable second copy.
Should you use mongodump or Percona Backup for MongoDB?
mongodump is MongoDB's logical export tool. It is fine for small replica sets and for moving collections, but its manual lists real limits (mongodump reference):
- Without
--oplog, a dump taken during writes "will not reflect a single moment in time". - You can't run
mongodumpwith--oplogon a sharded cluster. For a sharded dump you must pause cross-shard transactions, DDL, and chunk balancing. --oplogfails if a client runs operations such asrenameCollectionor$outduring the dump.- It can't dump collections that use Queryable Encryption or client-side field level encryption.
mongodump --uri="mongodb://backup@rs0-a:27017/?replicaSet=rs0" \
--oplog --gzip --archive=/backups/rs0.archive.gz
mongorestore --oplogReplay --gzip --archive=/backups/rs0.archive.gzInterpretation: the dump is consistent to the moment it finished, not to any time you choose. That is a nightly snapshot, not PITR.
Percona Backup for MongoDB (PBM) is an open source, distributed tool for consistent backups of replica sets and sharded clusters (PBM 2.17.0 docs). Logical and selective backups work on MongoDB Community and Enterprise as well as Percona Server for MongoDB. Physical, incremental physical, and snapshot-based backups require Percona Server for MongoDB (PBM backup types). For PITR, the agent saves oplog slices, 10 minutes each by default. Licence: Apache 2.0, per GitHub.
pbm config --set pitr.enabled=true
pbm list
pbm restore --time="2026-11-16T14:05:00"Interpretation: the restore time must fall inside a range shown in the PITR section of pbm list. A gap in that range is a gap in your RPO.
What does SQL Server's native backup give you?
SQL Server ships a complete backup engine: full, differential, transaction log, copy-only, file, and partial backups (SQL Server backup overview). Log backups and PITR need the full recovery model. Backup encryption has been available since SQL Server 2014 with AES 128, 192, or 256 and a certificate or EKM asymmetric key. SQL Server Express and Web can't encrypt during backup (backup encryption). From SQL Server 2022, BACKUP TO URL also writes to S3-compatible object storage.
-- Needs a server credential for the bucket (CREATE CREDENTIAL ... IDENTITY = 'S3 Access Key')
BACKUP DATABASE Sales
TO URL = 's3://backups.s3.us-west-2.amazonaws.com/sql/Sales.bak'
WITH COMPRESSION, CHECKSUM, FORMAT,
ENCRYPTION (ALGORITHM = AES_256, SERVER CERTIFICATE = BackupCert);
RESTORE VERIFYONLY
FROM URL = 's3://backups.s3.us-west-2.amazonaws.com/sql/Sales.bak'
WITH CHECKSUM;Interpretation: VERIFYONLY checks that the backup set is complete and readable. It does not prove the database will open, so keep a real restore in the drill. Back up the certificate to a different location: without it, the encrypted backup is unusable. Ola Hallengren's maintenance scripts are one widely used way to schedule all of this; see our setup guide.
What do managed cloud backups cover?
Managed backups remove the tooling work, but not the planning. Three things are true on every major cloud: a PITR restore creates a new instance, retention has a ceiling, and deleting the instance can delete its automated backups.
Amazon RDS automated backups and snapshots
RDS takes a storage volume snapshot of the whole instance during the backup window and keeps automated backups for 0 to 35 days. Zero disables them, and changing to or from zero causes an outage (RDS backup retention). RDS uploads transaction logs to S3 every five minutes, and a point-in-time restore creates a new DB instance (RDS PITR). Manual snapshots survive instance deletion, up to 100 per Region. Billing: backup storage up to 100% of your provisioned storage in a Region is free, and the rest is charged.
aws rds describe-db-instances --db-instance-identifier orders-prod \
--query 'DBInstances[0].[BackupRetentionPeriod,LatestRestorableTime]'Interpretation: if LatestRestorableTime lags far behind the current time, log upload has stalled and your real RPO is that lag.
AWS Backup
AWS Backup adds central backup plans, cross-account copies, and two controls that RDS alone lacks. Vault Lock in compliance mode makes a vault WORM after a grace time of at least 3 days, after which the vault configuration cannot be altered or deleted by a customer, an account owner, or AWS while it holds recovery points, and backups cannot be deleted before their retention ends. A logically air-gapped vault adds compliance-mode locking and sharing to other accounts. Two caveats from the docs: cross-Region copy to or from a logically air-gapped vault is not available for RDS instance backups, and unencrypted Aurora, DocumentDB, and Neptune clusters are not supported.
Checking that an AWS Backup vault is locked
Output from the AWS Backup Developer Guide example
Read LockDate: it is when the grace time ends. Before it, the lock can still be removed; after it, the vault and its retention are fixed. Source: AWS Backup Vault Lock.
Google Cloud SQL backups
Cloud SQL takes automated backups on a schedule plus on-demand backups. You can keep 1 to 365 automated backups, and the final backup is kept for 30 days by default. Enhanced backups are stored in a separate backup project through the Backup and DR Service. When an instance is deleted, automated backups are removed one per day (Cloud SQL backups). PITR for MySQL needs binary logging and "always creates a new instance" (Cloud SQL PITR).
Azure Backup
Azure Backup protects SQL Server and SAP HANA in Azure VMs, Azure Database for PostgreSQL (including Flexible Server), MySQL Flexible Server (preview), and Azure Cosmos DB (preview) (Azure Backup overview). An immutable vault can be "enabled and locked", which is irreversible and blocks operations that would delete recovery points early. Billing is pay-as-you-use for the storage consumed.
When does an enterprise backup platform make sense?
Enterprise platforms fit when databases are one workload among many: VMs, file servers, SaaS data, and several engines under one policy, one console, and one audit trail. They are sold under commercial licences; ask each vendor for its model. The trade-off is that database support varies by engine, version, and topology, so check the current matrix for your exact setup.
Veeam Backup & Replication
Version 13 (build 13.1.2.57) protects SQL Server 2014 SP3 to 2025 through a plug-in with Always On availability group support, Oracle through image-level processing or the RMAN plug-in, and SAP HANA and Db2 through plug-ins. PostgreSQL 14 to 18 is covered by image-level application-aware processing, including Patroni 4.0.6 or later clusters on Linux. MySQL is covered by Veeam Agent for Linux. MongoDB Backup supports MongoDB 7.0, 8.0, 8.2, and 8.3 replica sets, but not standalone servers or sharded clusters (Veeam application support).
Commvault
Commvault's database backup page lists SAP, Oracle, SQL Server, PostgreSQL, MongoDB, and Cassandra, with application-consistent protection, point-in-time recovery, and "immutable and air-gapped protection, where supported" (Commvault database backup). The "where supported" wording means you must confirm immutability per storage target.
Rubrik
Rubrik Security Cloud's API documentation lists Microsoft SQL, Oracle, PostgreSQL, MongoDB, MySQL, and SAP HANA as data center workloads (Rubrik data center workloads). Version and topology support is in Rubrik's compatibility matrix, which needs a customer login.
How do the database backup solutions compare?
The table sums up the sections above. "Air gap" means a built-in control, not whether you can build one with object lock or a second account.
| Solution | Engines | Type | PITR | Encryption | Immutability | Licence or billing |
|---|---|---|---|---|---|---|
| pgBackRest 2.60.1 | PostgreSQL | Physical, block incremental | Yes (WAL) | Repository encryption | Via object store settings | MIT |
| Barman 3.21.0 | PostgreSQL | Physical | Yes (WAL) | See docs | Via storage | GPL-3.0 |
| WAL-G v3.0.10 | PostgreSQL, MySQL, SQL Server; MongoDB and Redis beta | Physical | Yes (PostgreSQL WAL) | libsodium, OpenPGP | Via object store settings | Apache 2.0 |
| Percona XtraBackup | MySQL, Percona Server | Physical | With binlogs | See docs | Via storage | GPLv2 |
| MySQL Enterprise Backup | MySQL Enterprise | Physical | With binlogs | Yes | Via storage | Commercial |
| mydumper | MySQL, MariaDB | Logical | No | Not built in | Via storage | GPL-3.0 |
| mongodump | MongoDB | Logical | No | Not built in | Via storage | Free, part of MongoDB Database Tools |
| Percona Backup for MongoDB 2.17.0 | MongoDB, Percona Server for MongoDB | Logical, physical | Yes (oplog slices) | See docs | Via storage | Apache 2.0 |
| SQL Server native | SQL Server | Physical | Yes (log backups) | AES 128 to 256 | Via storage | Included in SQL Server |
| RDS + AWS Backup | RDS and Aurora engines | Snapshot | Yes, up to 35 days | KMS keys | Vault Lock, air-gapped vault | Backup storage billed by AWS |
| Cloud SQL backups | MySQL, PostgreSQL, SQL Server | Snapshot | Yes (new instance) | Google managed or CMEK | See Backup and DR docs | Billed by Google Cloud |
| Azure Backup | SQL Server in VMs, Azure PostgreSQL, MySQL (preview) | Snapshot, vaulted | Per workload | Yes | Immutable vault, lockable | Pay as you use |
| Veeam, Commvault, Rubrik | Many; check each matrix | Image-level, agent, or plug-in | Per engine | Per vendor docs | Vendor and storage specific | Commercial |
Cells marked "See docs" or "Via storage" are where the vendor pages we checked did not state a built-in feature. Confirm them before you rely on them.
How do I choose between them?
Pick the engine-native tool first, then add the layers it lacks. Most production setups end up with three layers: an engine-native physical backup with log archiving for PITR, a copy in a separate account or locked vault, and a scheduled restore test.
- Self-managed PostgreSQL: pgBackRest, Barman, or WAL-G, chosen by where backups should live. Add object lock or a second account for immutability.
- Self-managed MySQL: XtraBackup (or MySQL Enterprise Backup if you already license it) plus binlog archiving, with mydumper as a portable second copy.
- MongoDB: PBM for anything sharded or anything that needs PITR. Keep
mongodumpfor small exports and migrations. - Managed cloud databases: native automated backups plus AWS Backup, Azure immutable vaults, or Cloud SQL enhanced backups for the locked, separate copy.
- Mixed estates with a backup team: an enterprise platform, after checking that its support matrix covers your engines, versions, and topologies.
The three layers of a database backup design
Each copy leaves the blast radius of the one before it
Why the third copy matters: an attacker with your production admin role can usually delete the repository in step 2. A compliance-mode lock in another account is the copy that survives.
Whichever tool you pick, test it the same way. This drill works for every option in the list.
Monthly restore drill for any backup solution
Run it against an isolated host; nothing touches production
-
Pick a target time
Choose a time between two backups, not the end of the last one, so the drill exercises log replay.
-
Restore from the off-account copy
Use the locked or air-gapped copy, with the credentials and keys from your runbook, not from memory.
-
Replay logs to the target time
For example, pgBackRest with a time target.
pgbackrest --stanza=main --type=time \ "--target=2026-11-16 14:05:00+00" \ --target-action=promote restore -
Check the data
Run row counts and a known query for a record written just before the target time.
-
Record the real RTO and RPO
Write down restore, replay, and validation times. Compare them with your targets and fix the gap.
Main risk: a drill that restores the newest backup only proves the newest backup. Test log replay and the off-account copy, because those fail silently.
Frequently asked questions
What is the best database backup solution?
There is no single best one. The right choice is the engine-native physical tool with log-based PITR for your database, such as pgBackRest, XtraBackup, Percona Backup for MongoDB, or SQL Server native backup. Add a locked copy in a separate account and a monthly restore drill. Enterprise platforms fit mixed estates once their support matrix covers your versions.
Are managed cloud database backups enough on their own?
They cover routine recovery, but they share the account and admin roles of the database. RDS keeps automated backups for at most 35 days, and deleting an instance can remove them. Add a copy in a separate account or a locked vault, such as AWS Backup Vault Lock in compliance mode or an Azure immutable vault, for long retention and ransomware cases.
Is a logical dump a real backup?
It is a real copy, but rarely enough for production recovery. A dump restores to the moment it finished, cannot replay logs to a chosen time, and reloads slowly because indexes rebuild. Keep logical dumps as a portable second copy for migrations and single-table restores, alongside a physical backup with log archiving.
How often should you test database restores?
Run an automated restore at least monthly, and after any change to the backup tool, storage, keys, or engine version. Restore to a time between backups so the test covers log replay, restore from the off-account copy, and record the measured RTO and RPO against your targets.
Key takeaways
- Choose on six criteria: physical or logical, PITR, encryption, immutability, restore testing, and measured RPO and RTO.
- For self-managed engines, start with the native physical tool and its log archive: pgBackRest, Barman, or WAL-G; XtraBackup; PBM; SQL Server log backups.
- Managed cloud PITR restores to a new instance, so count the repoint in your RTO.
- Keep one copy where your production admin role cannot delete it: a compliance-mode or locked vault in another account.
- A backup is proven only by a restore to a chosen time from that locked copy.
Database backup and recovery with JusDB
JusDB's backup and disaster recovery team can review your current backups against these criteria, plan the tool and vault layout for each engine, and run restore drills that measure your real RPO and RTO. We work across PostgreSQL, MySQL, MongoDB, and the managed cloud services covered here.
See database backup and disaster recovery services for what the engagement covers.