I keep mine on a UPS so when the power is disconnected I have a small battery back up. It also Beeps so a roommate would not forget to plug it back in and it never loses connectivity.
Also, a cool internet fallback option is having a WiFi hotspot next to your server in case the ethernet connection fails you can use that as a back up.
Redundancy is the name of the self-hosting game.