Due to a glitch not on my database, my script has gone crazy and has overwritten old data in my database already.
Enough fresh backup is not. But there are binary logs for the last 24 hours (overland old data, unfortunately, more than a day). But as I understand it, binary logs only store changes, and old data is not stored (although there was somehow no intelligible materiel in Google).
Is it possible to recover old data in these conditions? If this is still impossible, then what, besides more frequent backups, can be done so that in the future the data can be rolled back in case anything happens?
{tablename}_journal
, into which to duplicate the changes, and continue to work in the usual way, as if nothing had happened). - etki