I want to backup MySQL database with a script (Cron) with CodeIgniter 3.
But when I export as zip it will return each table records with single query. Not like we export from MySQL database. For example, if one table has 500 records, it will show 500 single queries instead of bunch of queries.
Please suggest, how to export database with script with output as we export from MySQL.