Question

How password can be prompted while using percona xtrabackup.--ask-pass option is not working with xtrabackup. Thanks in advance.

Was it helpful?

Solution

I donot think there is --ask-pass in xtrabackup! You might want to write a wrapper shell script which will

echo enter mysql password read -s pw

and then pass it as --password=$pw.

Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange
scroll top