About an hour ? Dont bother with UPS . straight up run it from inverter like me, i get good 20 mins backup (Never tested it to end might be more) .
About how much you need better ask a local electrician, he know 10x better than anyone on the internet . This is my suggestion