From b6e013ed5356485ab86e6fbabebb04732a91c625 Mon Sep 17 00:00:00 2001 From: Patrick Birch <48594400+patrickbirch@users.noreply.github.com> Date: Mon, 9 Nov 2026 18:34:13 -0600 Subject: [PATCH 1/2] PXB-3929 Describe --no-server-version-check as having no effect on 9.7 Update the option reference and the server version comparison page. The option has no effect on 9.7. Remove the text that describes the option as an override of the server version check. Co-Authored-By: Claude Opus 5.5 --- docs/server-backup-version-comparison.md | 34 +++--------------------- docs/xtrabackup-option-reference.md | 8 ++---- 2 files changed, 5 insertions(+), 37 deletions(-) diff --git a/docs/server-backup-version-comparison.md b/docs/server-backup-version-comparison.md index 5288198b7..27c53f178 100644 --- a/docs/server-backup-version-comparison.md +++ b/docs/server-backup-version-comparison.md @@ -9,36 +9,8 @@ XtraBackup version that is equal to your source server major version. This means [How XtraBackup works](how-xtrabackup-works.md) -The `--no-server-version-check` option performs the following test. -Before the backup/prepare starts, XtraBackup compares the source server version to -the Percona XtraBackup version. If the source server version is greater -than the XtraBackup major version, XtraBackup stops the backup and returns an -error message. This comparison prevents a failed backup or a corrupted -backup due to source server changes. +## The `--no-server-version-check` option -The parameter checks for the following scenarios: +The `--no-server-version-check` option has no effect in Percona XtraBackup {{vers}}. XtraBackup accepts the option. The backup result is the same with or without the option. -* The source server and the PXB major version are the same, the backup proceeds - -* The source server is greater than the PXB major version, and the parameter is not overridden, the backup is stopped and returns an error message - -* The source server is less than the PXB major version, and the parameter is not overridden, the backup is stopped, and returns an error message - -* The source server is greater than the PXB major version up to the last release in the LTS series, and the parameter is overridden, the backup proceeds - -Explicitly adding the `--no-server-version-check` parameter, like the -example, overrides the parameter and the backup proceeds. - -```shell -xtrabackup --backup --no-server-version-check --target-dir=$mysql/backup1 -``` - -Overriding the `--no-server-version-check` parameter allows taking backups using a Percona XtraBackup version that is equal to a version of your source server up to the last release in the LTS series. This means if you use Percona XtraBackup {{vers}}.x, you can back up the source server from {{vers}}.x to 9.7.xx. - -When you override the parameter, the following events can happen: - -* Backup fails - -* Creates a corrupted backup - -* Backup successful +The option does not allow a backup of a source server with a version that XtraBackup {{vers}} does not support. To back up the source server, use a Percona XtraBackup version that matches the source server major version. diff --git a/docs/xtrabackup-option-reference.md b/docs/xtrabackup-option-reference.md index 0e794920c..c6c2055bd 100644 --- a/docs/xtrabackup-option-reference.md +++ b/docs/xtrabackup-option-reference.md @@ -855,13 +855,9 @@ the lock from succeeding. Try the `--safe-slave-backup` option to stop the repli Usage: `--no-server-version-check` -The `--no-server-version-check` option disables the server version check. +The `--no-server-version-check` option has no effect in Percona XtraBackup {{vers}}. XtraBackup accepts the option. The backup result is the same with or without the option. -The default behavior runs a check that compares the source system version to the Percona XtraBackup version. If the source system version is higher than the XtraBackup version, the backup is aborted with a message. - -Adding the option overrides this check, and the backup proceeds, but there may be issues with the backup. - -See [Server Version and Backup Version Comparison](server-backup-version-comparison.md) for more information. +For more information, see [Server version and backup version comparison](server-backup-version-comparison.md). ### no-version-check From 365cfa7b4b4a7af02cd7b4c17439a13cd110fee5 Mon Sep 17 00:00:00 2001 From: Patrick Birch <48594400+patrickbirch@users.noreply.github.com> Date: Mon, 9 Nov 2026 19:11:08 -0600 Subject: [PATCH 2/2] Revision: PXB-3929 Remove redundant sentence about unsupported versions Remove the sentence that says the option does not allow a backup of an unsupported server version. The "no effect" sentence covers this case. Resolves the open SME item from Pass 2. Co-Authored-By: Claude Opus 5.5 --- docs/server-backup-version-comparison.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/server-backup-version-comparison.md b/docs/server-backup-version-comparison.md index 27c53f178..8308dd65c 100644 --- a/docs/server-backup-version-comparison.md +++ b/docs/server-backup-version-comparison.md @@ -13,4 +13,4 @@ XtraBackup version that is equal to your source server major version. This means The `--no-server-version-check` option has no effect in Percona XtraBackup {{vers}}. XtraBackup accepts the option. The backup result is the same with or without the option. -The option does not allow a backup of a source server with a version that XtraBackup {{vers}} does not support. To back up the source server, use a Percona XtraBackup version that matches the source server major version. +To back up the source server, use a Percona XtraBackup version that matches the source server major version.