by Andrew Normore.
Yeah I've checked through all the config settings, it's pretty straight forward. Been doing it for over a decade...
It's occurring from 2 different Moodle installs, when a restore function runs.
I think I have no choice but to get down and dirty, and go through all the restore code and breakpoint all SQL writes.