When you produce your own power, it’s not the same as shore power. (Grid). Especially when running a ton of motor loads, as breakers are sized for inrush on motor loads (oversized) so if the motor overloads don’t immediately trip on a line to line… the main gets knocked out.
There are startco relays that should allow the system to run on one ground fault given the impedance to ground isn’t higher than a pre-selected value. A line to line fault, a hard enough ground fault, or more than one ground fault in the distribution will knock your main out in many cases, because of the oversized motor breakers on the branch ccts.
The best way to get around this is to have UPS systems for critical systems, or several back up gens for separate critical systems. If their back up gen feeds the same distribution, once started would be closing into the same line to line failure somewhere in the distribution system, you would have to identify the fault and isolate the faulted cct before start up again, or hope that closing into it literally blows the fault apart.
Having separate generators and automatic transfer switches for separate systems would allow you to start up portions of the distribution while simultaneously isolating the trouble section of the distribution.
TLDR: you need more than one failsafe, one back-up gen doesn’t protect you if you can’t immediately isolate parts of the distribution. Branch cct protection doesn’t always protect you
Source: I’m a maintenance electrician at a remote mine, we generate our own power and this happens to us on a regular basis.