Creates a backup of a MySQL database using PHP