innobackupex --remote-host scp doesn't copy MyISAM files

Bug #510960 reported by Daniel Nichter
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Fix Released
Undecided
Daniel Nichter

Bug Description

--remote-host scp copies InnoDB-related files, like ibdata1, but it fails to copy MyISAM-related files (*.frm, *.MYI) because it doesn't add the source dir/database path to the file name. The result is a stream of errors like:

mytable.frm: No such file or directory

The culprit code is around:

1904 if ($option_remote_host) {
1905 my $scp_file_list = join(" ", @scp_files);
1906 system("scp $option_scp_opt $scp_file_list '$option_remote_host:$backup_dir/$database/'")
1907 and Die "Failed to execute \"scp $option_scp_opt $scp_file_list '$option_remote_host:$backup_dir/$database/'\": $!";
1908 }

Related branches

Changed in percona-xtrabackup:
assignee: nobody → Daniel Nichter (daniel-percona)
Revision history for this message
Daniel Nichter (daniel-nichter) wrote :

Fixed by revision 115.

Changed in percona-xtrabackup:
status: New → Fix Committed
Percona (percona-team)
Changed in percona-xtrabackup:
status: Fix Committed → Fix Released
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-1080

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.