batch scp copy of .frm, .MRG etc files

Bug #394464 reported by Paul Saab
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to
Fix Released
Aleksandr Kuzminsky

Bug Description

Right now innobackupex will call scp for every file in the database directory.. This is really slow when you have a lot of tables per database. This patch batches the copy into a single scp per database.

Related branches

Revision history for this message
Paul Saab (ps-mu) wrote :
Changed in percona-xtrabackup:
assignee: nobody → Aleksandr Kuzminsky (akuzminsky)
importance: Undecided → Medium
status: New → Confirmed
Changed in percona-xtrabackup:
status: Confirmed → Fix Committed
Changed in percona-xtrabackup:
status: Fix Committed → Fix Released
Revision history for this message
Ville Skyttä (vskytta) wrote :

+ system("scp $option_scp_opt $scp_file_list '$option_remote_host:$backup_dir/$database/'")
+ and Die "Failed to scp file '$file': $!";

The error message should probably be something like "Failed to scp files $scp_file_list: $!" instead of referring to $file.

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

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