Generate JSON from MySQL Query, inset data into MySQL from JSON, backup MySQL data.