I have a router with a USB hard drive attached to it that I use for media backup/storage and DLNA streaming. My neighborhood has recently been experiencing brief power outages of 20 minutes or less. A couple times it did last several hours. Each time the power goes out the router and hard drive end up with problems and need reconfigured and rebooted. I am concerned about potential data loss from the hard drive so I would like to get a battery backup. I have done a little research and found some systems designed for PCs that can properly shut down a computer during a power loss. I am wondering if something like that would work for my router and hard drive. If I am away and lose power I would like for it to switch over to battery power, but then properly power down the router. I'm just wondering if anything like that exists or there is any way to set that up.