Make xtrabackup --stats work with server datadir

Bug #1174314 reported by Alexey Kopytov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Fix Released
Undecided
Sergei Glushchenko
2.0
Fix Released
Undecided
Sergei Glushchenko
2.1
Fix Released
Undecided
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.

Tags: i31424

Related branches

tags: added: i31424
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXB-124

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.