A backup script that worked for years can stop working after an upgrade. On MySQL 8.4 the mysqlpump binary is gone, Percona XtraBackup 8.0 refuses to back up an 8.4 server, and MySQL 8.0 itself reached end of life in April 2026. The choice of MySQL backup tool now depends on three things: your server version (8.4 LTS, 9.7 LTS, or a 26.x release), whether you can reach the data files at all (you cannot on Amazon RDS or Aurora), and how many minutes your restore is allowed to take. This post lists the tools that still matter as of November 2026, from mysqldump to the clone plugin and managed snapshots. For each one it shows whether it is logical or physical, how it locks, how it fits point-in-time recovery (PITR), its licence, and one real command, and it ends with a way to choose and a restore test.
mysqlpumpwas deprecated in MySQL 8.0.34 and removed in 8.4. Replace it withmysqldumpor the MySQL Shell dump utilities.- Logical tools (
mysqldump, MySQL Shellutil.dumpInstance(), mydumper) are portable and good for single-table restores; physical tools (Percona XtraBackup, MySQL Enterprise Backup) restore large data sets faster because they copy files. - Match the physical tool to the server series: XtraBackup 8.4 backs up only 8.4, XtraBackup 9.7 only 9.7. Percona does not ship XtraBackup for Innovation releases.
- No full backup gives you PITR on its own. Stream binary logs with
mysqlbinlog --read-from-remote-server --raw --stop-never, or use RDS and Aurora automated backups. - A backup is only as good as its last timed restore. Schedule one.
Scope and review date: November 2026. This list covers Oracle MySQL Community and Enterprise 8.0, 8.4 LTS, 9.7 LTS, and the 26.x Innovation releases, self-managed and on Amazon RDS for MySQL and Aurora MySQL. Tools are grouped by type, not ranked. Versions, options, and licences were checked against vendor documentation and project pages on 25 November 2026. The commands were not run in a lab, so rehearse them on a non-production server first.
What should you compare in a MySQL backup tool?
Six properties decide whether a tool fits your servers. Each entry below covers them in the same order.
- Logical or physical. A logical tool writes SQL or data files that any compatible server can load. A physical tool copies InnoDB data files, so the restore target must run the same server series.
- Speed class. Single-threaded logical, parallel logical, physical file copy, or storage snapshot. Your own timed restore is the only throughput number that matters.
- Locking. Whether the tool takes a global read lock, for how long, and how it handles concurrent DDL.
- PITR fit. Whether the backup records the binary log position or GTID set you need to replay changes up to a point in time.
- Licence. Open source, bundled with MySQL, or a commercial subscription.
- Version support. Which MySQL series the tool can read and restore.
The MySQL 8.4 mysqldump page states the main split plainly: mysqldump "is not intended as a fast or scalable solution for backing up substantial amounts of data", and for large-scale backup and restore "a physical backup is more appropriate".
Which logical backup tools still work on MySQL 8.4 and 9.7?
Three logical tools are current. A fourth, mysqlpump, is listed here only because old scripts still call it. For a deeper head-to-head of the logical tools, read mysqldump vs mysqlpump vs MyDumper and MySQL Shell dump and load utilities vs mydumper; this section does not repeat them.
mysqldump
What it is: the single-threaded logical dump client that ships with every MySQL server package. Best fit: small databases, schema-only dumps, and moving a few tables between servers. Locking: with --single-transaction it starts a REPEATABLE READ transaction and dumps a consistent InnoDB snapshot without blocking applications. Adding --source-data takes a brief FLUSH TABLES WITH READ LOCK at the start to read binary log coordinates. Limits: MyISAM and MEMORY tables are not consistent under --single-transaction, and the manual says no other connection should run ALTER TABLE, CREATE TABLE, DROP TABLE, RENAME TABLE, or TRUNCATE TABLE during the dump. Restore replays SQL one statement at a time. PITR fit: --source-data=2 writes the binary log coordinates as a comment, and --set-gtid-purged controls the GTID statement. Licence: ships with MySQL Server.
mysqldump --all-databases --single-transaction --quick \
--source-data=2 --routines --events \
--user=backup -p > all_databases.sqlInterpretation: --quick streams rows instead of buffering each table, which the manual recommends with --single-transaction for large tables. The comment near the top of the file holds the binary log file and position where PITR replay must start.
mysqlpump (removed)
Status: deprecated in MySQL 8.0.34 and removed in 8.4, together with its lz4_decompress and zlib_decompress helpers. The 8.4 What Is New page points users to mysqldump or the MySQL Shell dump utilities. Action: search your cron jobs and backup wrappers for the binary name before you upgrade, because a missing binary fails the job, not the server.
# Find scripts that still call mysqlpump before the 8.4 upgrade
grep -rn "mysqlpump" /etc/cron* /usr/local/bin /opt/backup 2>/dev/nullInterpretation: any hit is a job that stops producing backups once the 8.4 client packages are installed.
MySQL Shell dump and load utilities
What it is: util.dumpInstance(), util.dumpSchemas(), and util.dumpTables() in MySQL Shell, with util.loadDump() for the restore. Best fit: logical backups of tens or hundreds of gigabytes, migrations to MySQL HeatWave, and dumps written straight to S3-compatible, Azure Blob, or OCI Object Storage. Speed class: parallel logical. The dump utility documentation gives a default of 4 threads, 64 MB chunks, and zstd compression at level 1. Locking: with the default consistent: true, it takes FLUSH TABLES WITH READ LOCK while every thread opens a consistent snapshot, then switches to LOCK INSTANCE FOR BACKUP and releases the global lock. PITR fit: the dump metadata includes the binary log file and position if the account has REPLICATION CLIENT. Licence: part of MySQL Shell.
// mysqlsh, connected as the backup user
util.dumpInstance("/backups/shell-2026-11-10", { threads: 8, dryRun: true })
util.dumpInstance("/backups/shell-2026-11-10", { threads: 8 })Interpretation: the dry run lists compatibility problems without writing data. The output is a directory of DDL files, data chunks, and metadata files such as @.json, which only util.loadDump() reads.
mydumper and myloader
What it is: an open source pair, mydumper for the dump and myloader for the restore, described by the project README as a MySQL logical backup tool. The latest release on the releases page is v1.0.19-1 from 5 November 2026. Best fit: large logical dumps where you want table chunking and fine control over locking. Speed class: parallel logical, with a default of 4 threads (--threads=0 uses the CPU count) and gzip or zstd compression. Locking: the locks documentation says it sends FLUSH TABLES WITH READ LOCK by default, uses LOCK INSTANCE FOR BACKUP when possible to keep DDL out, and offers --trx-tables to shorten the global lock when every table is transactional. PITR fit: the README says it records source and replica log positions. Licence: GPL-3.0.
mydumper --host=db-01 --user=backup --password="$BACKUP_PW" \
--threads=8 --compress=zstd --trx-tables \
--outputdir=/backups/mydumper-2026-11-10Interpretation: only use --trx-tables when no MyISAM or other non-transactional tables hold data you need consistent. The project does not publish a server version matrix, so check its release notes against your MySQL version before relying on it.
Which physical backup tools can take a hot copy?
Physical tools copy InnoDB data files while the server runs and then apply the redo log so the copy is consistent. They need file system access to the server, and the restore target must run the same server series. For XtraBackup internals, incremental backups, and streaming, see XtraBackup: physical MySQL backups for production.
Percona XtraBackup
What it is: an open source hot backup utility for MySQL-based servers. The XtraBackup 8.4 documentation says it backs up InnoDB, MyISAM, and MyRocks on MySQL 8.4 and Percona Server 8.4, and "does not support backups on MySQL 8.0 or 9.x servers". Best fit: self-managed servers where a logical restore is too slow for the RTO. Speed class: physical file copy. Locking: InnoDB is copied without blocking; the documentation notes that InnoDB tables are locked while non-InnoDB data is copied. Version rule: use the XtraBackup series that matches the server's major version. By default it stops on a mismatch, and the version comparison page warns that --no-server-version-check risks a failed or corrupt backup. Licence: GPLv2, per the GitHub repository.
# Back up, prepare, then restore into an empty datadir with mysqld stopped
xtrabackup --backup --user=backup --password="$BACKUP_PW" \
--target-dir=/backups/xb-2026-11-10
xtrabackup --prepare --target-dir=/backups/xb-2026-11-10
xtrabackup --copy-back --target-dir=/backups/xb-2026-11-10
chown -R mysql:mysql /var/lib/mysqlInterpretation: --backup fails with operating system error 17 if the target directory already holds files. The restore page requires an empty datadir and a stopped server for --copy-back.
MySQL Enterprise Backup
What it is: Oracle's mysqlbackup client. The MySQL Enterprise Backup 8.4 introduction lists hot backup, incremental and differential backup, selective backup and restore, direct cloud storage backup, encryption, and compression. Best fit: teams already licensed for MySQL Enterprise Edition. Speed class: physical file copy. Version rule: releases are numbered with the server. The 9.7.0 release notes (21 April 2026) say it "supports MySQL Server 9.7.0", and the 26.10 release notes list 26.10.0 on 20 October 2026. Licence: commercial, "available to subscribers under a commercial license".
mysqlbackup --user=backup --password \
--backup-image=/backups/meb-2026-11-10.mbi \
--backup-dir=/backups/meb-tmp \
backup-to-imageInterpretation: backup-to-image writes a single-file backup; --backup-dir holds the message log and the start and end LSN. Single-file backups can also be streamed off the server with --backup-image=-.
The clone plugin
What it is: a server plugin that copies a physical snapshot of InnoDB data, locally with CLONE LOCAL DATA DIRECTORY or from a donor with CLONE INSTANCE FROM. The manual presents it for provisioning servers and replicas, not as a backup tool. Limits: the limitations page says MyISAM and CSV tables are cloned as empty tables, binary logs and server configuration are not cloned, and donor and recipient must be in the same series (8.4.1 to 8.4.13 works; 8.0 to 8.4 does not). PITR fit: it transfers the donor's replication coordinates, which is why it suits new replicas. Licence: ships with MySQL Server.
-- Needs the clone plugin installed and BACKUP_ADMIN.
-- The target directory must not exist yet.
CLONE LOCAL DATA DIRECTORY = '/backups/clone-2026-11-10';Interpretation: the result is a startable data directory on the same host. Copy it off the host and treat it as a backup only if every table is InnoDB and you archive binary logs separately. The full provisioning workflow is in MySQL clone plugin: provisioning replicas.
How do you back up binary logs for point-in-time recovery?
A nightly backup restores to the moment it was taken. To restore to 10:41 on the day of a bad DELETE, you also need every binary log written since then.
mysqlbinlog can act like a replica and copy logs to another host as they are written. The binary log backup page uses --read-from-remote-server to connect, --raw to write binary files with their original names, and --stop-never to stay connected after reaching the last log.
cd /backups/binlog
mysqlbinlog --read-from-remote-server --host=db-01 \
--user=binlog_backup -p --raw --stop-never \
--connection-server-id=9001 binlog.000130Interpretation: start from the oldest log you still need (SHOW BINARY LOGS lists them). With --stop-never the default server ID is 1, so set --connection-server-id to avoid a clash with a replica.
The manual says mysqlbinlog does not retry when the connection drops, for example on a server restart. Run it under a supervisor that restarts it from the last complete file, and alert when the newest local file stops growing. Encrypted binary logs are written out unencrypted, so protect the backup host.
Base backup plus streamed binary logs
PITR needs both paths: the nightly copy and every binary log written after it
Start position: replay begins at the binary log position or GTID set recorded by the base backup. If that log was purged before the stream copied it, PITR stops at the base backup.
The replay itself, with --stop-datetime, --stop-position, and GTID-based skipping, is covered in MySQL binlog-based point-in-time recovery.
What do Amazon RDS and Aurora give you instead?
On RDS and Aurora you cannot reach the data directory, so XtraBackup, MySQL Enterprise Backup, and a local clone do not apply. The managed backups replace them.
RDS for MySQL: the automated backups page says RDS takes a storage volume snapshot of the whole instance, with later snapshots incremental. The retention page allows 0 to 35 days; 0 disables automated backups, and switching between 0 and a non-zero value causes an outage. Per the point-in-time restore page, RDS uploads transaction logs to S3 every five minutes, and a restore always creates a new DB instance.
Aurora MySQL: the Aurora backup overview describes continuous, incremental backups with a 1 to 35 day retention that cannot be disabled. The latest restorable time is typically within 5 minutes of the current time, and a restore creates a new cluster.
# How far forward can this instance be restored right now?
aws rds describe-db-instances --db-instance-identifier prod-mysql \
--query 'DBInstances[0].LatestRestorableTime'
# Restore to a new instance at a chosen time (UTC)
aws rds restore-db-instance-to-point-in-time \
--source-db-instance-identifier prod-mysql \
--target-db-instance-identifier prod-mysql-pitr \
--restore-time 2026-11-10T10:41:00ZInterpretation: if LatestRestorableTime lags far behind now, your effective RPO is longer than you think. The source instance is not changed by the restore. Keep a logical dump as well, for copies outside the AWS account and for single-table restores.
Which tool versions match your MySQL version?
Physical tools are tied to a server series; logical tools mostly are not. MySQL 8.0 reached end of life with 8.0.46, according to the 8.0 release notes, and the 8.0 XtraBackup documentation carries an end-of-life notice that tells users to move to 8.4.
Backup tool support by MySQL series
Switch series to see which tool and tool version to run as of November 2026
MySQL 8.0
| Tool | On MySQL 8.0 |
|---|---|
| Server status | End of life since April 2026 (8.0.46) |
mysqldump | Ships with the server |
mysqlpump | Deprecated since 8.0.34 |
| Percona XtraBackup | 8.0 series only (8.0.35-36, 4 June 2026); end-of-life notice |
| MySQL Enterprise Backup | 8.0 series |
| Clone plugin | Within 8.0 only; cannot clone to 8.4 |
MySQL 8.4 LTS
| Tool | On MySQL 8.4 |
|---|---|
| Server status | LTS |
mysqldump | Ships with the server |
mysqlpump | Removed |
| Percona XtraBackup | 8.4 series only; refuses 8.0 and 9.x servers |
| MySQL Enterprise Backup | 8.4 series |
| Clone plugin | Within 8.4 only |
MySQL 9.7 LTS
| Tool | On MySQL 9.7 |
|---|---|
| Server status | LTS; the only line that upgrades directly into 26.x |
mysqldump | Ships with the server |
mysqlpump | Removed |
| Percona XtraBackup | 9.7 series (9.7.2-2, 4 November 2026) |
| MySQL Enterprise Backup | 9.7 series (9.7.0 from 21 April 2026) |
| Clone plugin | Within 9.7 only |
Upgrade order: install the matching XtraBackup or MEB series and take a fresh full backup right after a major upgrade. A backup taken by the old series cannot be prepared by the new one.
The 26.x releases. MySQL 26.7.0 is the first calendar-versioned release, and the 26.10 release model page says only the 9.7.x LTS line can upgrade directly into it. Percona's write-up of 26.7 describes it as an Innovation release. Percona said in its July 2024 post No MySQL 9.x Innovation Releases from Percona that it would not ship XtraBackup for Innovation releases, and the XtraBackup 9.7.2-2 notes name only MySQL 9.7.x and Percona Server 9.7.x. If you run 26.x, your physical options are MySQL Enterprise Backup 26.x, which exists, or the clone plugin; otherwise use logical tools. The 26.10 What Is New page lists only two removed server variables, so mysqldump, mysqlbinlog, and the clone plugin are unchanged there. The XtraBackup 9.7 line began with a release candidate (9.7.1-rc1, 15 July 2026); confirm that the release you install is GA before production use.
How do the MySQL backup tools compare side by side?
The table is grouped by type, not ranked. "Speed class" describes the method, not a measured rate.
| Tool | Type | Speed class | Locking during backup | PITR fit | Licence |
|---|---|---|---|---|---|
mysqldump | Logical | Single-threaded | Brief global lock with --source-data; no DDL allowed during the dump | Binlog coordinates or GTID set in the dump | Ships with MySQL |
| MySQL Shell dump | Logical | Parallel (4 threads default) | Brief global lock, then backup lock | Binlog file and position in metadata | Part of MySQL Shell |
| mydumper | Logical | Parallel (4 threads default) | Global lock by default, shorter with --trx-tables; backup lock when possible | Log positions recorded | GPL-3.0 |
| Percona XtraBackup | Physical | File copy | InnoDB not blocked; InnoDB tables locked while non-InnoDB data is copied | Usable as a PITR base | GPLv2 |
| MySQL Enterprise Backup | Physical | File copy | Hot backup | Usable as a PITR base | Commercial (Enterprise Edition) |
| Clone plugin | Physical, InnoDB only | File copy | Concurrent DDL allowed on the donor by default | Replication coordinates transferred | Ships with MySQL |
mysqlbinlog stream | Binary log copy | Continuous | None (connects like a replica) | The replay input itself | Ships with MySQL |
| RDS and Aurora backups | Storage snapshot plus logs | Snapshot | Managed by AWS | Built in, within retention | AWS service |
Interpretation: no single row covers every need. Most self-managed production setups combine one full-backup tool with a mysqlbinlog stream, and keep a logical copy for single-table restores.
How do I choose between them?
Start from the restore, not the backup. The two numbers that decide the tool are the recovery time objective (RTO), how long a restore may take, and the recovery point objective (RPO), how much data you can lose. The background is in database backup strategies: RTO, RPO, and recovery planning.
Choosing a MySQL backup toolset by size and RTO
Work through the steps in order; each one either settles a tool or sends you to the next
-
Write down the RTO and RPO
Agree both in minutes with the application owner. Every later step is tested against them.
-
Check where MySQL runs
On RDS or Aurora, automated backups are the full-backup and PITR layer. Check how current they are, then go to step 5.
aws rds describe-db-instances \ --db-instance-identifier prod-mysql \ --query 'DBInstances[0].LatestRestorableTime' -
Time a full logical restore on staging
Load last night's MySQL Shell dump into a staging server of production size. If it finishes inside the RTO, a logical tool can be the full backup.
util.loadDump("/backups/shell-2026-11-10", { threads: 8 }) -
Too slow? Add a physical backup
Use XtraBackup or MySQL Enterprise Backup in the series that matches the server, and time its prepare and restore too.
xtrabackup --backup \ --target-dir=/backups/xb-2026-11-10 -
Cover the RPO with binary logs
Self-managed: stream logs with mysqlbinlog to another host. Managed: confirm the restorable time stays within the RPO.
mysqlbinlog --read-from-remote-server \ --host=db-01 --raw --stop-never \ binlog.000130 -
Keep a logical copy for single tables
Restoring one dropped table from a physical backup means restoring the whole instance elsewhere first.
-
Schedule the restore test
Put a recurring timed restore in the calendar with an owner, and record the duration against the RTO each time.
Main risk: choosing by backup speed. A backup that finishes in minutes but restores in hours fails the RTO the first time it is needed.
How do you test that a MySQL backup restores?
A restore test proves four things: the files are complete, the tool version can read them, the restore fits the RTO, and the data matches the source. Run it on a separate server, never on the primary.
# Physical: prepare a copy of the backup, then restore it on the test server
cp -a /backups/xb-2026-11-10 /restore-test/xb
time xtrabackup --prepare --target-dir=/restore-test/xbInterpretation: prepare a copy, not the original, so a failed test does not damage the only backup. The time output is the first part of your measured restore time.
End of a successful XtraBackup prepare
Output from the Percona XtraBackup 8.4 documentation, timestamps trimmed
Pass condition: look for completed OK! as the last line; the LSN differs on every system. A second prepare of the same directory prints "This target seems to be already prepared". Source: the prepare documentation.
After the server starts on the restored data, compare it with the source at the backup's point in time. Row counts on the largest tables and CHECKSUM TABLE on a few small reference tables catch most incomplete restores.
-- Run on the restored server and compare with figures saved at backup time
SELECT table_schema, COUNT(*) AS tables
FROM information_schema.tables
WHERE table_schema NOT IN ('mysql','sys','performance_schema','information_schema')
GROUP BY table_schema;
CHECKSUM TABLE app.countries, app.plans;Interpretation: a missing schema or a different table count means objects were skipped; a checksum mismatch on a static table points at a bad copy. Record the total time to verified data against the RTO.
Once a quarter, restore the base backup and replay binary logs up to a chosen timestamp. That is the only test that proves the binlog stream has no gaps. If your team has not run one yet, our MySQL consulting team can walk through the first drill with you.
Frequently asked questions
What is the best MySQL backup tool for large databases?
For large self-managed databases, a physical tool restores fastest because it copies data files instead of replaying SQL. Use Percona XtraBackup (open source) or MySQL Enterprise Backup (commercial) in the series that matches your server, and add a binary log stream for point-in-time recovery. On RDS and Aurora, use the automated backups instead.
Is mysqlpump still available in MySQL 8.4?
No. mysqlpump was deprecated in MySQL 8.0.34 and removed in MySQL 8.4, along with its lz4_decompress and zlib_decompress helpers. Oracle points users to mysqldump or the MySQL Shell dump utilities. Existing mysqlpump dump files are SQL and can still be loaded with the mysql client.
Can Percona XtraBackup back up MySQL 9.7 or 26.x?
XtraBackup 9.7 backs up MySQL 9.7.x and Percona Server 9.7.x; its 9.7.2-2 release is dated 4 November 2026. Percona stated in 2024 that it would not ship XtraBackup for Innovation releases, and the 9.7 notes do not mention 26.x. For 26.x, use MySQL Enterprise Backup 26.x or a logical tool.
Is the MySQL clone plugin a backup?
Not on its own. The clone plugin copies InnoDB data only; MyISAM and CSV tables arrive empty, and binary logs and server configuration are not copied. A clone can only be restored to the same MySQL series. It is built for provisioning replicas, so use it for that and keep a real backup plus a binary log archive.
Key takeaways
- Remove
mysqlpumpfrom scripts before upgrading to 8.4; it is gone from the client packages. - Pick the full-backup tool by timed restore against the RTO: logical while it fits, physical (XtraBackup or MEB) when it does not.
- Run the physical tool series that matches the server, and take a new full backup right after every major upgrade.
- PITR needs a continuous binary log copy (
mysqlbinlog --raw --stop-neverunder a supervisor) or managed RDS and Aurora backups. - Schedule timed restore tests, including one PITR replay, and record the duration each time.
Plan MySQL backups and restore tests with JusDB
Most backup problems surface during the first real restore: a tool that no longer matches the server, or a binlog stream that stopped after a restart.
JusDB's backup and disaster recovery team can review your MySQL backup tools and versions, plan binary log retention for point-in-time recovery, and run timed restore tests with your team against your RTO and RPO.
Related reading
- Database Backup Solutions in 2026: Open Source, Cloud, and Enterprise Options
- How to Migrate MySQL to AWS RDS: Methods, Pre-Flight Checks, and Cutover
- mysqldump vs mysqlpump vs MyDumper: current guide
- XtraBackup: physical MySQL backups for production
- MySQL binlog-based point-in-time recovery
- MySQL 8.4 Reference Manual: Backup and Recovery