fully working mysql backup script