Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error displayed when running mysqldump script generated by this module #1574

Open
ubellavance opened this issue Jun 7, 2023 · 0 comments
Open

Comments

@ubellavance
Copy link

Hi,

When running the /usr/local/sbin/mysqlbackup.sh script generated by this module, I get this (non-fatal) error:

touch: missing file operand

I can see in the script that there is no argument to touch:

mysqldump --defaults-extra-file=$TMPFILE --opt --flush-logs --single-transaction \
 ${ADDITIONAL_OPTIONS} \
 --all-databases | bzcat -zc > ${DIR}/${PREFIX}`date +%Y%m%d-%H%M%S`.sql.bz2

if [ $? -eq 0 ] ; then
    cleanup
    touch
fi

I can see here that the argument should be backup_success_file_path

Thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants