The backup job reports success, but no one has restored its files to a clean target.
Fast answer: Do not accept the backup on command status or file presence alone. Verify the supported MySQL and XtraBackup versions, prepare the backup chain, restore it to an isolated target, then test startup, critical data, and application reads and writes. A backup chain that has not passed a restore rehearsal is not yet a usable recovery path.
Who should use this runbook:
DBAs building or reviewing a MySQL 8.4 XtraBackup recovery process.
Platform operators preparing the isolated target and checking its files, permissions, and logs.
SaaS technical leads setting recovery evidence as a database procurement or production-release requirement.
DBA: establish the version boundary
Start with the exact server and tool versions recorded at backup time. Percona’s XtraBackup 8.4 documentation describes the supported scope for that tool series and includes its 8.4 release information. Treat that documented scope as a boundary, not as permission to assume compatibility with another MySQL major version. Check the current official compatibility guidance for the exact source server before accepting a backup procedure. Percona XtraBackup 8.4 documentation and version information
Record enough context to repeat the rehearsal. At minimum, capture:
- The MySQL server version and edition used by the source.
- The XtraBackup package version and the command used to create the backup.
- The backup type: full, incremental, or compressed.
- Backup timestamps and the metadata files retained with the backup.
- The target server version and the recovery procedure used during the rehearsal.
A version record is useful only when it describes the backup that is actually being tested. A package manifest from a later server build does not prove which binary created an older backup. Keep the backup logs and metadata alongside the record, and preserve them when copying the backup to another location.
For an evidence record, use a template rather than a success label with no supporting detail:
Source MySQL version: <recorded source version>
XtraBackup version: <recorded tool version>
Backup type: <full, incremental, or compressed>
Backup metadata location: <path or object reference>
Target version: <recorded target version>
Rehearsal result: <pass, fail, or blocked>
Evidence: <log, validation query, and application test references>
The placeholders are deliberate. Fill them from the actual source, backup, and recovery run; do not infer a specific compatibility result from the tool’s major version alone.
Backup owner: prove the chain is ready
A successful backup command is an admission check, not a restore result. XtraBackup requires the backup files to be prepared before they are used for recovery. For a full backup, follow the documented prepare procedure and retain its output. Percona’s full-backup prepare instructions
For an incremental backup, record the full backup and every incremental in the order required by the documented procedure. Missing one link can make the chain unusable even if the remaining directories are present. Follow the official sequence for applying incremental backups rather than improvising from a directory listing. Percona’s incremental-backup prepare sequence
| Backup path | Entry checks | Evidence to retain | What the check does not prove |
|---|---|---|---|
| Full backup | Confirm the expected files and metadata are present; run the documented prepare operation | Command, exit status, prepare log, and backup metadata | That the target can start the restored database or serve application traffic |
| Incremental chain | Confirm the full backup and each required incremental are available in order; apply them using the documented sequence | Chain inventory, command history, and prepare logs | That an omitted or damaged copy elsewhere in the chain is recoverable |
| Compressed backup | Confirm the documented decompression and prepare requirements for the backup format | File inventory, decompression and prepare logs, and metadata | That extraction alone has produced a valid, tested recovery |
For the exact operations and requirements across full, incremental, and compressed backups, use the XtraBackup restore documentation. Do not treat a “prepare complete” message as proof that a restore has succeeded. It confirms a preparation stage. It does not confirm that the target has suitable paths, permissions, storage, or a working MySQL startup.
Does a successful prepare still require a restore test? Yes. Prepare validates a stage in the backup workflow; a separate restore rehearsal checks that the prepared files can be copied into a clean data directory and that the resulting database can start. The official isolated restore example demonstrates a restore followed by validation, rather than treating preparation as the final acceptance result.
Platform operations: prepare an isolated target
The target must not receive production traffic during the rehearsal. Prepare a compatible MySQL installation, an empty destination data directory, the required operating-system permissions, and enough available space for the restored data and the working files required by the procedure. Derive capacity from the actual backup and target layout; do not substitute an assumed database size or a generic free-space figure.
Check the destination path on the target itself. Mount points, filesystem permissions, service-unit names, and directory ownership can differ from the source. Record the relevant paths before copying files. If the server is in a test network, ensure that application clients cannot accidentally treat it as the production primary.
A short preflight record can keep the operator and DBA aligned:
- Confirm the target is isolated from production application traffic.
- Confirm the intended MySQL version against the documented source and tool compatibility.
- Confirm the data directory exists and is empty before the restore.
- Confirm the restore account can write to the intended location.
- Confirm sufficient storage is available for the backup and the restored data.
- Record the target’s actual mount points, service name, and log location.
When a recovery target is a newly delivered server, keep hardware acceptance separate from database acceptance: the first establishes that the host is ready for its intended role; the second establishes that the backup can be recovered and validated. The server delivery and acceptance guide can help frame that separation, but it does not replace the database rehearsal.
What should be checked before restoring to a new server? Confirm version scope, isolation, an empty data directory, ownership and permissions, available space, and the location of logs. Confirm these on the actual target rather than assuming its filesystem layout matches the source. If any check is blocked, stop and resolve it before copying the backup.
Recovery operator: restore files and inspect startup
Stop the target database before copying the prepared backup. Use the restore operation documented for the backup type and target layout. The example below shows the command shape for a prepared full backup; replace the path with the verified target directory and use the procedure applicable to the actual backup. Percona’s restore instructions
systemctl stop mysql
xtrabackup --copy-back --target-dir=/srv/backup/prepared
Service names vary by operating system and installation. Verify the target’s service unit before running a stop command. Do not point a copy-back operation at a live production instance or a data directory that has not been checked. If the command fails, preserve its output and stop; repeating the operation or forcing a service start can obscure the original failure.
After copying, check the data directory’s ownership and permissions against the target installation’s requirements. Then start the database through the target’s normal service manager and inspect the startup log. MySQL documents common startup failure causes, and its error-log guidance explains where diagnostic output is recorded. Use those sources to investigate a failure rather than treating a process attempt as a successful recovery. MySQL startup troubleshooting and MySQL error-log documentation
Preserve the evidence from each stage:
- The restore command and its exit status.
- The ownership and permission checks.
- The service start result.
- The relevant startup and error-log excerpts.
- Any corrective change and the reason it was made.
Do not discard a failed rehearsal log after a later retry succeeds. The first failure may expose a repeatable weakness in the production recovery procedure.
DBA and application team: validate recovered data
A running service proves only that MySQL started. It does not prove that the restored database contains the expected data or that the application can use it. Agree on checks before the rehearsal so the result is not judged by intuition after the fact.
For each critical database, compare the recovered state with the intended backup point. Check expected schemas, critical tables, and business invariants that can be evaluated safely in the isolated environment. Use known identifiers or control totals only when the source of those expected values is recorded. Do not accept a table merely because it exists; check that the records and relationships needed by the application are present.
Then connect an isolated application instance using the same relevant authentication and connection settings expected in production. Test the necessary read path and a controlled write path. Keep the test bounded: use records or transactions that cannot be mistaken for live customer activity, and remove or reset them according to the rehearsal plan. Record the query or test case, result, and any differences from expected behavior.
How do we validate data after a MySQL 8.4 physical backup restore? Use three layers of evidence: the database starts without unresolved errors, the restored schemas and critical data match the agreed recovery point, and an isolated application can complete its required read and controlled write paths. If any layer fails, mark the rehearsal as failed or blocked; a healthy process alone is not a pass.
If the recovery objective includes point-in-time recovery, validate that separately. Check the required binary log coordinates and confirm that the necessary logs are available for the intended recovery point. Then rehearse the replay and compare the resulting data with the expected state. A base backup restore does not, by itself, demonstrate that the log chain can reach the required point.
Technical lead: set the release gate and size the target
Make the acceptance decision from evidence, not from the backup job’s dashboard. Require the version record, complete backup-chain evidence, target preparation record, restore logs, startup review, and data and application checks. Specify who owns each item and what happens when an item is missing. A failed or blocked check should prevent release until the cause is resolved and the relevant part of the rehearsal is repeated.
Use this decision list when classifying the backup chain:
- If the source and tool fall within the verified official support scope, the complete backup chain is available, and prepare finishes with retained logs, then proceed to an isolated restore. Otherwise, stop and correct the version or chain issue.
- If the target is isolated, its data directory is empty, permissions and storage are confirmed, and the service version is compatible, then run the documented restore. Otherwise, do not copy files into the target.
- If the restored service starts, the required data checks pass, and the application’s necessary read and controlled write tests pass, then record the rehearsal as accepted. Otherwise, block production release and investigate.
- If the evidence is complete but the target cannot accommodate the actual backup, restored data, and working space, then revise the target plan and repeat the test. A software pass on an undersized target does not prove operational readiness.
The procurement decision should follow the measured recovery procedure. Compare the real backup volume, data directory, backup copies, and rehearsal constraints with the candidate server’s current product details. A rented database server does not automatically provide backup storage or make recovery successful. The team remains responsible for the backup chain, the isolated target, and a copy stored outside the production server.
When a shared cloud instance or managed database no longer fits the recovery plan, identify the specific constraint first. Shared resources can introduce neighbor contention; storage performance or capacity may be tied to a selected service tier; and the available disk layout or operating-system access may limit how the recovery target is arranged. These are reasons to compare an exclusive AMD physical server with the current option, not assumptions that every shared service has the same limitation. For budgeting, separate recurring server charges from storage, backup copies, and operating effort; the billing guide explains the billing model, while the cloud repatriation pilot budget guide can help structure a migration cost review.
If a recovery target needs dedicated compute and direct control over its database environment, renting an AMD physical server from mbpscloud may be a better fit than keeping recovery tests on a shared instance with constrained resources or disk choices. Review the current product options against the actual rehearsal record before committing. Keep production data protected with an off-machine backup, and require a successful restore rehearsal regardless of which server model is selected.
Validate Your Database Recovery on Dedicated Bare Metal
Run your restore test on an mbpscloud AMD EPYC 7543P server with all 32 cores and 64 threads dedicated to you.