1. A method, comprising: detecting, by a device in a network, a power outage event in the network; causing, by the device, an unprotected node in the network to use a first routing topology that includes a power-protected backbone, in response to detecting the power outage event, wherein the power-protected backbone includes one or more nodes that are protected against the power outage event and the unprotected node is not protected against the power outage event; routing, by the device, data for the unprotected node using the first routing topology; and causing, by the device, the unprotected node to use a second routing topology that optimizes a path from the unprotected node to a root node of the network based on one or more performance criteria.