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

1 Answer 1


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.