What I would do is to get a mains to LV transformer, say 220v to 24V with the secondary rated at your computers working current (you said 1200 W @ 220 V = 6A?). Now using some sort of voltage detection device, say a DC slave relay with a lot of zener diodes in series with its coil, driving a mains switching relay. The idea is that the mains relay is energised when the mains is normal and de-enegised when the mains is low. When the mains is normal the mains is routed through a set of contacts to the UPS. When the mains goes low, you ADD the extra 24V in series with it so, you might get say 180 V + 180/220 X 24V ~ 20V so your incoming mains is boosted by 20 V from 180 to 200V. You have to ensure that there is enough hysterisis in the circuit so the switching is cleanly done.
frank