Question

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

Était-ce utile?

La 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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à dba.stackexchange
scroll top