you do not need solar if you are just looking for an UPS.
you will need solar if the power outage duration is over several days.
But even 2 or 3 days, it is still better to go with a gas generator.
it will be cheaper and easier to use (you just need a a few gallons of gasoline).
for heat, you...