Let us first assume that the intermediate node will fail mostly due to power supply/battery failure.
We have tried an approach successfully in which the critical nodes, in particular, are powered by more than one rechargeable batteries. The voltages are monitored continuously and the moment the voltage of a particular battery goes below the threshold, the system activates the second one.