MySQL backup and prepare script