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

Bug #510960 reported by Daniel Nichter on 2010-01-22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to
Fix Released
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)
Daniel Nichter (daniel-nichter) wrote :

Fixed by revision 115.

Changed in percona-xtrabackup:
status: New → Fix Committed
Percona (percona-team) on 2010-11-25
Changed in percona-xtrabackup:
status: Fix Committed → Fix Released

Percona now uses JIRA for bug reports so this bug report is migrated to:

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers