I'm not sure there's a reliable way to fix this. The server does have a default datadir value (which is a compile-time option, and for RPM builds is /var/lib/mysql), but XtraBackup does not. Defaulting to a specific location looks unreliable to me. I think XtraBackup should be explicit in this regard and not make any assumptions.
I'm not sure there's a reliable way to fix this. The server does have a default datadir value (which is a compile-time option, and for RPM builds is /var/lib/mysql), but XtraBackup does not. Defaulting to a specific location looks unreliable to me. I think XtraBackup should be explicit in this regard and not make any assumptions.