Is there a reason for going with UPS and not with an inverter? Online UPS would cost a lot and would not provide long backup. Switch over time for some line upses could be long, and can cause interruption.
This is based on my personal experience and does not account for any new technologies...