Load shedding solutions for home office

Working from home and load shedding is seriously affecting my productivity. Looking for reliable backup power solutions — has anyone compared a UPS, a lithium inverter or going solar? Interested in cost, how long they last through a 4-hour Stage 4 outage, and what works best for keeping a desktop PC, router and two monitors running. Also curious which solutions handle Stage 6 comfortably.