Smart UPS tend to be good to prevent data loss if you have an always-on PC, as they give you a period once the power has cut to ensure your machine has time to shutdown cleanly, (they usually connect via usb and send shutdown commands) A surge protector is usually adequate to protect hardware...