mysql backup workflow with bash scripts