I'd rather use UPS, and avoid fiddling with bukly and heavy car battery, BUT...
So far, every one that i find, and in acceptable price range are only 800,900 and maybe 1000 VA UPS, they cannot provide any meaningfull authonomy for my pump.
Hour, two, three - too little, nothing is gonna happen in that time if i dont have backup or any pump running.
Aim is minimum 10-12 hours, and i strongly believe there is no ups in any reasonable price range that is capable of that.
So, for longer authonomy, simple solution is like i said - converter, inverter from 12v to 220v, and 45,60,75 or 100 car battery. PRO is that this solution is relatively cheap, about 40 euros (or usd) for converter, and up to 100 euro for battery.
Con is that there is zero automation, if power goes out, one should manualy unplug pump from wall, connect car battery to converter and plug pump in.
Alternative is using same converter, but one that is automated and created for using is central heating for powering pump(s), that is fully automated, when there is power, pump runs from wall, converter charge battery as needed, when power goes out, pump continue to run on car battery, when power is back, battery is charged back.
Cons are price, around 150-200e for converter + car battery.
Now, for now, there was 2-4 power outs yearly, lasting from 2 to 8 hours. Not a big deal, so cheaper solution is sufficient, but recent storms causes more frequent power outs, and they last longer. In some parts, for days. Of course in that worst case scenario, no battery is gonna hold, genny is solution.
But i'd rather not go there...