innobackupex --apply-log fails when backup path has spaces in it
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
I have a script taking a backup using percona-
innobackupex --apply-log "/var/lib/
As the script runs I see an error stating that the directory "/var/lib/
No amount of additional quotes or escaping has proven useful in getting xtrabackup to work with my directory names with spaces.
My current work around has been to create a symlink in /tmp.
ln -s "/var/lib/
innobackupex --apply-log /tmp/clone_
It appears as if innobackupex accepts the directory name as a complete single argument, but when it calls other programs the path name isn't put in quotes so the parts of the directory name are interpreted as individual arguments instead of a single string argument.
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PXB-90