Hello Jeff
There are UPSs that alerts the i machine of a power issue(s) by means
of a special control cable with no software involved .
(We use Eaton Powerware and Gamatronics UPSs that has that special i series
connection but there are others)
You may want to take a look at those.
A generator is a good idea also.
Regards
Gad