Im actually thinking about putting solar at our ranch house. And disconnecting from the electric company there. As old as I am the components should out last me….
Just have spares for everything. Lighting has taken out an inverter and charge controller for me. Even with good grounding.
Panels are pretty rugged. I've got spare diodes for them but never needed them.
Depending on what the grid charges for “hookup” you might still retain that connection, as backup, for some damage to your system. That might be cheaper then a generator and keeping the fuel fresh for that use case. Have seen inverter/chargers fail, panels damaged in severe weather, or just bad weather for several days in a row. A lot of people go off grid because getting the original connection to their homestead can be very expensive, but you already have that.