The generator was placed on its own circuit breaker in this secondary breaker box.
The mains are first switched off in the primary circuit breaker box and the house is back-feed from this secondary box
when both this circuit breaker and the generator's circuit breaker are switched on.