innobackupex fails with --remote-host when trying to create xtrabackup_binary file locally
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
High
|
Alexey Kopytov | ||
1.6 |
Fix Released
|
High
|
Stewart Smith | ||
2.0 |
Fix Released
|
High
|
Alexey Kopytov |
Bug Description
--remote-host is broken, because innobackupex tries to create the xtrabackup_binary file in the backup directory locally which, in case of --remote-host, does not exist:
innobackupex --defaults-
...
110525 12:42:17 innobackupex: Connection to database server closed
xtrabackup_logfile 100% 2560 2.5KB/s 00:00
xtrabackup_
innobackupex: Backup created in directory '/tmp/2011-
innobackupex: MySQL binlog position: filename '', position
Cannot open file /tmp/2011-
The solution is to handle xtrabackup_binary in the same way as xtrabackup_logfile and xtrabackup_
Related bugs:
Bug #723318 "xtrabackup_binary is not included in tar archive when streaming"
Bug #668128 "innobackupex --remote-host is broken"
Related branches
- Vadim Tkachenko: Approve
-
Diff: 31 lines (+17/-2)1 file modifiedinnobackupex (+17/-2)
- Alexey Kopytov (community): Approve
-
Diff: 31 lines (+17/-2)1 file modifiedinnobackupex (+17/-2)
Changed in percona-xtrabackup: | |
status: | New → Confirmed |
Changed in percona-xtrabackup: | |
importance: | Undecided → High |
status: | Confirmed → Triaged |
tags: | added: cr i16134 |
Changed in percona-xtrabackup: | |
assignee: | nobody → Alexey Kopytov (akopytov) |
Changed in percona-xtrabackup: | |
status: | Triaged → Fix Committed |
milestone: | none → 1.7 |
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PXB-307