Remove references to Compact Backup

Description

Reading the xtrabackup documentation, https://www.percona.com/doc/percona-xtrabackup/8.0/xtrabackup_bin/xbk_option_reference.html, there are two options:

  • --rebuild-indexes

  • --rebuild-threads

Both options in the docs mention "compact backup". But there is nothing in the docs on how to take a compact backup. There is no --compact option.

Was --compact removed? If not, how do you create a compact backup?

If --compact was removed, then do the above options still do anything?

Environment

None

Smart Checklist

Activity

Show:

Lalit Choudhary March 27, 2020 at 11:52 AM

Hi

Thank you for the report.

 

Issue: Missing --compact backup feature + if it's removed in 8.0 it's not documented and some related options still exist.

--rebuild-indexes
Rebuilds indexes in a compact backup. This option only has effect when the --prepare and --rebuild-threads options are provided.

--rebuild-threads=#
Uses the given number of threads to rebuild indexes in a compact backup. This option only has effect with the --prepare and --rebuild-indexes options.

https://www.percona.com/doc/percona-xtrabackup/8.0/xtrabackup_bin/xbk_option_reference.html

--compact option missing in 8.0  documentation as well as it's not visible in xtrabackup --help output.

$ xtrabackup --help | grep -i rebuild xtrabackup version 8.0.10 based on MySQL server 8.0.18 Linux (x86_64) (revision id: 94f9645) --rebuild-threads=# Use this number of threads to rebuild indexes in a --rebuild-indexes. rebuild-threads 1 $ xtrabackup --help | grep -i compact xtrabackup version 8.0.10 based on MySQL server 8.0.18 Linux (x86_64) (revision id: 94f9645) compact backup. Only has effect with --prepare and
Done

Details

Assignee

Reporter

Needs Review

Yes

Sprint

Fix versions

Affects versions

Priority

Smart Checklist

Created March 18, 2020 at 3:35 PM
Updated May 30, 2024 at 10:46 AM
Resolved May 15, 2024 at 2:26 PM