Ooooooops :-\ Seems I pasted the wrong line "that works". Here's the good one:
mysqld --print-defaults | grep -P -o "\-\-tmpdir=[^\s]+" |awk -F"=" '{ print $2}' | sed 's/^\s//g' | sed 's/\s.*//g'
I agree with tmpdir under [xtrabackup] section idea too.
Ooooooops :-\ Seems I pasted the wrong line "that works". Here's the good one:
mysqld --print-defaults | grep -P -o "\-\-tmpdir=[^\s]+" |awk -F"=" '{ print $2}' | sed 's/^\s//g' | sed 's/\s.*//g'
I agree with tmpdir under [xtrabackup] section idea too.