I would rather have an UPS with a battery if load shedding is limited, e.g 1 hour max.
For more than 1 hour(s), 2-3 1000 watt batteries should suffice.
Solar panels is new to Pakistan, it is a big risk to install them at home. Never had them, thinking to get some installed in August.
The winds are strong here, when dust from road blows up, might damage the panels and other costly electrical items.
And they cost a bomb too, again since not many people have them and it is not widely available.
EDIT* typos due to stupid wireless keyboard :S