Why is preventing export hard? Just shut down production when the grid is down, which is how plug-in solar systems work.
The grid doesn't need to be down, your solar just needs to produce more than you're using.
The grid doesn't need to be down, your solar just needs to produce more than you're using.