Make xtrabackup --stats work with server datadir
Bug #1174314 reported by
Alexey Kopytov
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_
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
lp:~sergei.glushchenko/percona-xtrabackup/BT31424-2.0-xb-bug1174314
- Alexey Kopytov (community): Approve
-
Diff: 67 lines (+39/-2)3 files modifiedsrc/xtrabackup.cc (+5/-1)
test/t/xb_stats.sh (+1/-1)
test/t/xb_stats_datadir.sh (+33/-0)
lp:~sergei.glushchenko/percona-xtrabackup/BT31424-2.1-xb-bug1174314
- Alexey Kopytov (community): Approve
-
Diff: 67 lines (+39/-2)3 files modifiedsrc/xtrabackup.cc (+5/-1)
test/t/xb_stats.sh (+1/-1)
test/t/xb_stats_datadir.sh (+33/-0)
tags: | added: i31424 |
To post a comment you must log in.
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PXB-124