XtraBackup 2.4.7 not backing up remote file per table tablespaces

Bug #1701736 reported by Nathan Huff
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Status tracked in 2.4
2.3
Invalid
Undecided
Unassigned
2.4
Fix Released
High
Sergei Glushchenko

Bug Description

When a table is created with the DATA DIRECTORY option xtrabackup backs up the frm and isl files, but not the ibd file. Because it didn't back it up it also can't restore it. I have attached the output of a session showing the steps to reproduce.

Revision history for this message
Nathan Huff (nrhuff) wrote :
Revision history for this message
Jericho Rivera (jericho-rivera) wrote :

Thank you for the bug report.

The .ibd file was never copied during the --backup phase
170630 22:41:29 [01] Copying ./xtra/db.opt to /root/backup/xtra/db.opt
170630 22:41:29 [01] ...done
170630 22:41:29 [01] Copying ./xtra/tx.frm to /root/backup/xtra/tx.frm
170630 22:41:29 [01] ...done
170630 22:41:29 [01] Copying ./xtra/tx.isl to /root/backup/xtra/tx.isl
170630 22:41:29 [01] ...done

As expected on those files were also moved during --copy-back
170630 23:08:39 [01] Copying ./xtra/db.opt to /srv/mysqldata/data/xtra/db.opt
170630 23:08:39 [01] ...done
170630 23:08:39 [01] Copying ./xtra/tx.frm to /srv/mysqldata/data/xtra/tx.frm
170630 23:08:39 [01] ...done
170630 23:08:39 [01] Copying ./xtra/tx.isl to /srv/mysqldata/data/xtra/tx.isl
170630 23:08:39 [01] ...done

Revision history for this message
Jericho Rivera (jericho-rivera) wrote :

In version 2.3.8 it copies and restore the ibd file correctly so marking as invalid for 2.3 series.

170705 03:47:56 [01] Copying /data/tmp/test/txr.ibd to /root/backup/test/txr.ibd
170705 03:47:56 [01] ...done

170705 03:49:34 [01] Copying ./test/txr.ibd to /data/tmp/test/txr.ibd
170705 03:49:34 [01] ...done

Revision history for this message
Sergei Glushchenko (sergei.glushchenko) wrote :
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-504

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.