innodb_recover ignores relpath
Bug #383337 reported by
Brian Evans
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
mylvmbackup | Status tracked in Trunk | |||||
Trunk |
Fix Released
|
Medium
|
Lenz Grimmer |
Bug Description
The innodb_recover option ignores the relpath option which makes the recovery in the wrong place in the snapshot.
The Innodb files are created in $mountdir instead of recovering $mountdir/$relpath
Related branches
To post a comment you must log in.
That is true - I tried to document this in the man page, but probably need to add the relpath option to this as well:
"Note that this functionality currently assumes the default InnoDB configuration - it does not work properly if you use options like --innodb- file-per- table, --innodb- data-home- dir, --innodb- data-file- path or --innodb- log-group- home-dir that modify the default file layout for InnoDB tables."
To fix this we would have to parse the my.cnf file for these options and take them into account. This is currently not implemented, but patches are always welcome :)