Originally Posted by till
And thats the reason why the code writes to the dbmaster and not the local db api, if you change it to the local db, you cant see any reference on the master.
Ok, in this case, the backup script is working properly because the client calls
$app->dbmaster->datalogInsert('web_backup', $insert_data, 'backup_id');
datalogInsert will do the insert and then calls datalogSave that will write on "db" and not on "dbmaster".
In this way, the backup item is wrote properly on sys_datalog on the client and never on the master.
If this is correct, cron script is working properly.