Absolute paths in innodb_data_file_path are not supported
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
Medium
|
Alexey Kopytov | ||
1.6 |
Won't Fix
|
Undecided
|
Unassigned | ||
2.0 |
Won't Fix
|
Undecided
|
Unassigned | ||
2.1 |
Fix Released
|
Medium
|
Alexey Kopytov | ||
2.2 |
Fix Released
|
Medium
|
Alexey Kopytov |
Bug Description
Hello,
if i specify a absolute path to a innodb data file, the file is not where is would expect it, when i use the --stream option (branch 0.7rc)...
cmd: ./innobackupex-
my.cnf:
innodb_
innodb_
If i use these parameters to make a tar stream, the result looks like this:
/mysql/backup/ (after extracting):
backup-my.cnf
mysql/data/ibdata1
mysql/columns_
mysql/db.frm
...
> xtrabackup: cd to /mysql/data
> xtrabackup: Target instance is assumed as followings.
> xtrabackup: innodb_
> xtrabackup: innodb_
> xtrabackup: innodb_
> xtrabackup: innodb_
> xtrabackup: innodb_
> xtrabackup: use O_DIRECT
> xtrabackup: Stream mode.
> >> log scanned up to (109 1074543189)
>
> 090602 14:36:52 innobackupex: Continuing after ibbackup has suspended
>
> innobackupex: Starting to backup InnoDB tables and indexes
> innobackupex: from original InnoDB data directory '/'
> innobackupex: Backing up as tar stream '/mysql/
If i change the parameters in the my.cnf to:
innodb_
innodb_
> xtrabackup: cd to /mysql/data
> xtrabackup: Target instance is assumed as followings.
> xtrabackup: innodb_
> xtrabackup: innodb_
> xtrabackup: innodb_
> xtrabackup: innodb_
> xtrabackup: innodb_
> xtrabackup: use O_DIRECT
> xtrabackup: Stream mode.
/mysql/backup/ (after extracting):
backup-my.cnf
ibdata1
mysql/columns_
mysql/db.frm
....
(as expected).
I guess, it might be related to tar converting absolute pathnames to relatives.
Greets
MarkD
Related branches
- Alexey Kopytov (community): Approve
-
Diff: 183 lines (+111/-9)3 files modifiedinnobackupex.pl (+47/-9)
test/t/bug1049291.sh (+23/-0)
test/t/bug382742.sh (+41/-0)
- Alexey Kopytov (community): Approve
-
Diff: 183 lines (+111/-9)3 files modifiedxtrabackup/innobackupex.pl (+47/-9)
xtrabackup/test/t/bug1049291.sh (+23/-0)
xtrabackup/test/t/bug382742.sh (+41/-0)
description: | updated |
description: | updated |
Changed in percona-xtrabackup: | |
assignee: | nobody → Yasufumi Kinoshita (yasufumi-kinoshita) |
importance: | Undecided → High |
Changed in percona-xtrabackup: | |
assignee: | Yasufumi Kinoshita (yasufumi-kinoshita) → Valentine Gostev (core-longbow) |
Changed in percona-xtrabackup: | |
importance: | High → Undecided |
Changed in percona-xtrabackup: | |
status: | New → Confirmed |
Changed in percona-xtrabackup: | |
status: | Confirmed → Triaged |
Changed in percona-xtrabackup: | |
assignee: | Valentine Gostev (longbow) → nobody |
Changed in percona-xtrabackup: | |
milestone: | none → 1.6.7 |
milestone: | 1.6.7 → none |
status: | Triaged → Won't Fix |
Changed in percona-xtrabackup: | |
status: | Won't Fix → Triaged |
tags: | added: pxc |
I'm obviously not seeing something here... everything looks to be how I'd expect it to behave...