what is your best recipe for keeping production database backups ?
obviously I have multiple options for backups, but my question is related to scenario lik this:
the production dB got hacked and the admin has not noticed until the next day (or even a week).
if the backup is created then malicious code (within the table) is stored in dB,
how to avoid it ?
how to scan database against it ?
what’s your best approach ?
run it externally VS internally (from the project) ?
In my case it’s MySQL, but the same will probably apply to all SQL databases.