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.
--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
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?