Make xtrabackup --stats work with server datadir

Bug #1174314 reported by Alexey Kopytov on 2013-04-29
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup
Sergei Glushchenko
Sergei Glushchenko
Sergei Glushchenko

Bug Description

In some cases people want to use xtrabackup --stats on a server datadir (with a stopped server), rather than a prepared backup. This mostly work except cases when innodb_log_group_home_dir has a non-default value, i.e. when logs are in a separate directory. Since xtrabackup --stats overrides the log files location with the current directory, it then fails as follows:

xtrabackup: Error: Cannot find log file ib_logfile0.
xtrabackup: Error: to use the statistics feature, you need a clean copy of the database including correctly sized log files, so you need to execute with --prepare twice to use this functionality on a backup.

Related branches

tags: added: i31424
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers