While mounting the pump in that way will save you from flooding...it will be at the pump's expense. (if the overflow stopped).
The best way I know to get some insurance against flooding is with float switches that detect the unusual water levels and shut the pump off before damage can occur.
40 Gal Hex, 10 Gal Sump, CPR overflow with Mag 7 return, Maxxima 35 RO
, 10K MH
pendant, 2 x 15W actinic, 1 yellow tail damsel, 1 high fin goby, 40lbs LR
.com rock, 1 red head goby, 1 algae blenny, Leather, blastomussa, sun, and hammer corals, green polyps, carpet anemone, 2 sexy shrimp...and more LR
critters than you could imagine in your worst nightmares.... Mantis in 5 gal