In a grid-tie system, you need a transfer switch to select between inverter output and generator output. That way, the generator and grid-tie systems will not see each other. The transfer switch let's you pick where you will get your power; On-grid Solar or Generator.
For hybrid systems, you should get a system that supports integration with a backup generator. In this scenario, the generator can be used to charge the batteries in case of low solar harvesting or when utility power is unavailable. This is where my expertise ends.