South African data center providers seem to have nailed reliable generator power - "...their systems are designed to operate continuously and effectively, regardless of whether they receive power from the national grid." [0] I don't want to imagine the cost.
On another note, load shedding (i.e. scheduled blackouts) have been implemented pretty uniformly fortunately, with areas following different published schedules - there's even an app for that! [1]
[0] https://mybroadband.co.za/news/cloud-hosting/336800-how-sout...