innobackupex --stream=tar4ibd gives misleading error

Bug #1180894 reported by Andrew Garner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Triaged
Low
Unassigned
2.0
Won't Fix
Low
Unassigned
2.1
Triaged
Low
Unassigned
2.2
Triaged
Low
Unassigned
2.3
Triaged
Low
Unassigned

Bug Description

In the 1.X versions of xtrabackup --stream=tar4ibd was supported and in very old versions was the only way to do a safe streaming backup. This is no longer valid in 2.0+ in favor of just using --stream=tar, but using the option gives a confusing error message:

# innobackupex --stream=tar4ibd /tmp > /dev/null
innobackupex: Created backup directory /tmp
sh: backup-my.cnf: command not found
innobackupex: Error: Failed to stream 'backup-my.cnf': Inappropriate ioctl for device at /usr/bin/innobackupex line 387.

This is true for any invalid stream method such as --stream=foo as well. I think a better error message here would indicate that an invalid stream method was requested and obviously innobackupex is doing some other slightly naughty things in this case as well.

tags: added: low-hanging-fruit
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-880

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.